Return not-ready for invalid Gitea current-user payload #78

Merged
rockachopa merged 1 commits from timmy/77-return-not-ready-invalid-current-user into main 2026-08-06 05:48:27 +00:00
Member

Summary

  • validate the Gitea current-user payload inside the readiness failure boundary
  • return a controlled 503 when login is unavailable
  • cover null upstream payload with a behavioral regression test

Tests

  • python3 -m pytest tests/test_health.py::test_readiness_endpoint_returns_503_for_null_current_user_payload -q
  • python3 -m pytest tests/ -q (50 passed)

Closes #77

## Summary - validate the Gitea current-user payload inside the readiness failure boundary - return a controlled 503 when login is unavailable - cover null upstream payload with a behavioral regression test ## Tests - `python3 -m pytest tests/test_health.py::test_readiness_endpoint_returns_503_for_null_current_user_payload -q` - `python3 -m pytest tests/ -q` (50 passed) Closes #77
rockachopa added 1 commit 2026-08-06 05:47:50 +00:00
fix: reject invalid readiness user payload (#77)
CI / build-frontend (pull_request) Successful in 4s
CI / lint (pull_request) Successful in 7s
090a059c17
rockachopa merged commit 89b14872e6 into main 2026-08-06 05:48:27 +00:00
rockachopa deleted branch timmy/77-return-not-ready-invalid-current-user 2026-08-06 05:48:27 +00:00
Sign in to join this conversation.