PROJ-427: revert diagnostic logging, smooth reload-flash, add login/logout#133
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ApiOfflineError/"network unavailable" toast no longer flashes right before the page reloads.Test plan
pnpm --filter web test— 381 passed (38 files)pnpm --filter web type-check(astro check) — 0 errorspnpm --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.tsconfirms diagnostic logging fully reverted🤖 Generated with Claude Code
https://claude.ai/code/session_018DjSCvRampBsoXiqUwyQGx