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)
CI / build-frontend (pull_request) Successful in 5s
CI / lint (pull_request) Successful in 9s
42b659e807
rockachopa merged commit 43a2804562 into main 2026-08-06 09:18:03 +00:00
Sign in to join this conversation.