Skip to content

PROJ-427: revert diagnostic logging, smooth reload-flash, add login/logout#133

Merged
TAJD merged 1 commit into
mainfrom
cf-access-followups
Jul 19, 2026
Merged

PROJ-427: revert diagnostic logging, smooth reload-flash, add login/logout#133
TAJD merged 1 commit into
mainfrom
cf-access-followups

Conversation

@TAJD

@TAJD TAJD commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • Revert temporary CF Access JWT diagnostic logging added while investigating the 401 issue (PROJ-427).
  • Suppress errors from other in-flight requests once a 401 has triggered a session-refresh reload, so a collateral ApiOfflineError/"network unavailable" toast no longer flashes right before the page reloads.
  • Add Log in / Log out controls to the sidebar footer as a manual escape hatch for refreshing or ending the Cloudflare Access session.

Test plan

  • pnpm --filter web test — 381 passed (38 files)
  • pnpm --filter web type-check (astro check) — 0 errors
  • pnpm --filter api test — 824 passed (first run had an unrelated Windows workerd hook timeout flake; passed clean on retry)
  • git diff main -- apps/api/src/middleware/auth.ts confirms diagnostic logging fully reverted

🤖 Generated with Claude Code

https://claude.ai/code/session_018DjSCvRampBsoXiqUwyQGx

…ogout controls

- Revert temporary CF Access JWT diagnostic logging added in PROJ-427 debugging.
- Suppress errors from other in-flight requests once a 401 has triggered a
  session-refresh reload, so a collateral ApiOfflineError/network-unavailable
  toast no longer flashes right before the page reloads.
- Add Log in / Log out controls to the sidebar footer as a manual escape
  hatch for refreshing or ending the Cloudflare Access session.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018DjSCvRampBsoXiqUwyQGx
@TAJD
TAJD merged commit b2a89c1 into main Jul 19, 2026
1 check passed
@TAJD
TAJD deleted the cf-access-followups branch July 19, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant