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)
All checks were successful
CI / lint (pull_request) Successful in 7s
CI / build-frontend (pull_request) Successful in 4s
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.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#78
No description provided.