Skip to content

Claude/polish project w vv5o#1

Merged
shivama205 merged 3 commits intodevfrom
claude/polish-project-WVv5o
Mar 22, 2026
Merged

Claude/polish project w vv5o#1
shivama205 merged 3 commits intodevfrom
claude/polish-project-WVv5o

Conversation

@shivama205
Copy link
Copy Markdown
Owner

No description provided.

claude added 3 commits March 22, 2026 01:16
…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
@shivama205 shivama205 merged commit 4e73ada into dev Mar 22, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants