Compare commits

..

No commits in common. "0fc4b2684eee86812a6895f77f25f8082c0d5b9a" and "fef8480e5ff4d824461adbff4f6dfa04582689f0" have entirely different histories.

2 changed files with 0 additions and 12 deletions

View File

@ -21,12 +21,6 @@ app.add_middleware(
app.include_router(frontend_router)
@app.get("/healthz")
def health() -> dict[str, str]:
"""Return process liveness without depending on Gitea."""
return {"status": "ok", "service": "stackchain-dashboard"}
@app.get("/api/v1/context")
async def context() -> JSONResponse:
try:

View File

@ -1,6 +0,0 @@
from src.main import app, health
def test_health_endpoint_reports_service_liveness_without_gitea_access():
assert any(getattr(route, "path", None) == "/healthz" for route in app.routes)
assert health() == {"status": "ok", "service": "stackchain-dashboard"}