Merged
Conversation
…ipeline - Add /health endpoint for monitoring and orchestration - Fix CORS: replace wildcard "*" with configurable CORS_ORIGINS env var - Reduce JWT token expiry from 8 days to 24 hours (configurable) - Add rate limiting middleware (60 req/min default, per-IP sliding window) - Clean up TODO comments in chunker_factory.py and rag_service.py - Add 52-test suite covering permissions, auth, schemas, models, factories, rate limiter, config, and health endpoint - Add GitHub Actions CI pipeline (lint with black/isort/flake8 + test with coverage) - Add requirements-test.txt for lightweight CI test dependencies - Add make targets: test-cov, lint, format - Give config fields sensible defaults so app doesn't crash on missing env vars https://claude.ai/code/session_01JeHvukSTgbNUdCmrpybjZm
- Rewrite test_health.py to mock heavy ML deps and boot the real FastAPI app via TestClient — all 58 tests now pass with 0 skipped - Fix knowledge_bases.py: Annotated[..., File(...)] → File(...) (Python 3.11 doesn't support ellipsis as first arg to Annotated) - Fix storage_repository.py: nested f-string → str.format() (nested f-strings require Python 3.12+) https://claude.ai/code/session_01JeHvukSTgbNUdCmrpybjZm
- CI now triggers on push/PR to main, dev, and develop branches - Add PyMySQL to requirements-test.txt so health tests can resolve MySQL dialect - Add CI status badge to README (linked to dev branch) - Update Python version badge from 3.8+ to 3.11+ https://claude.ai/code/session_01JeHvukSTgbNUdCmrpybjZm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.