Return fallback context for incomplete current-user payload #92

Merged
rockachopa merged 1 commits from timmy/91-return-fallback-incomplete-current-user into main 2026-08-06 09:18:03 +00:00
Member

Summary

  • validate required Gitea current-user fields inside context fallback handling
  • preserve a useful fallback response instead of raising KeyError

Tests

  • python3 -m pytest tests/test_context_timeout.py::test_context_returns_fallback_for_incomplete_current_user_payload -v
  • python3 -m pytest -q (57 passed)

Closes #91

## Summary - validate required Gitea current-user fields inside context fallback handling - preserve a useful fallback response instead of raising `KeyError` ## Tests - `python3 -m pytest tests/test_context_timeout.py::test_context_returns_fallback_for_incomplete_current_user_payload -v` - `python3 -m pytest -q` (57 passed) Closes #91
rockachopa added 1 commit 2026-08-06 09:17:27 +00:00
fix: fallback on incomplete current user (#91)
All checks were successful
CI / lint (pull_request) Successful in 9s
CI / build-frontend (pull_request) Successful in 5s
42b659e807
rockachopa merged commit 43a2804562 into main 2026-08-06 09:18:03 +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#92
No description provided.