Compare commits

..

No commits in common. "360425d3ca03154a0cc8ffca1694bba8572fd496" and "16e54b63f2fb29584431d24f07e7e82f1379f391" have entirely different histories.

2 changed files with 0 additions and 14 deletions

View File

@ -28,11 +28,6 @@ Gitea connection directly, request
`user`, `repos`, `issues`, and `pull_requests`. Never commit the token or place `user`, `repos`, `issues`, and `pull_requests`. Never commit the token or place
it in a tracked configuration file. it in a tracked configuration file.
For service monitoring, GET `/healthz` is a liveness check that confirms the
API process is running and does not contact Gitea. GET `/readyz` is the
readiness check: it validates the configured Gitea credentials and returns
HTTP 503 with an error when Gitea is unavailable or authentication fails.
Run the test suite with: Run the test suite with:
```bash ```bash

View File

@ -23,12 +23,3 @@ def test_readme_documents_a_complete_local_quickstart():
assert "uvicorn src.main:app" in text assert "uvicorn src.main:app" in text
assert "http://127.0.0.1:8000/api/v1/context" in text assert "http://127.0.0.1:8000/api/v1/context" in text
assert "uvicorn==" in REQUIREMENTS.read_text() assert "uvicorn==" in REQUIREMENTS.read_text()
def test_readme_documents_liveness_and_gitea_readiness_checks():
text = README.read_text()
assert "`/healthz`" in text
assert "`/readyz`" in text
assert "does not contact Gitea" in text
assert "HTTP 503" in text