Uh oh!
There was an error while loading. Please reload this page.
feat(marketing): make account header session-aware - #8
Closed
ORESoftware wants to merge 4 commits into
Closed
Conversation
ORESoftware
commented
Aug 14, 2026
ContributorAuthor
Semantically integrated into main at 77fccef with the hardened GET-only session-continuity contract from zed-web-server.rs#23. The merged result preserves the session-aware header while removing the superseded cross-origin refresh mutation and background worker, adds one-in-flight/jitter/timeout/fail-safe behavior, and passes the locked Astro build plus real Chromium contract. GitHub cannot retarget this stacked PR to main because its head is already an ancestor of main. |
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 freeto 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
Stacks on #7 and replaces the always-visible login/dashboard trio with a token-blind account-state header:
https://app.zpkg.net;connect-srcandworker-srcboundaries.Security boundary
The static site never reads or stores a JWT, access token, refresh handle, email, principal, or Supabase/Shared Auth secret. Requests use only the app's host-only HttpOnly session cookie through
credentials: include; failures leave the neutralAccountstate rather than failing open.Tests
The browser contract covers anonymous and authenticated desktop/mobile header states, exact destinations, hidden signup for authenticated users, no anonymous refresh, authenticated foreground refresh, responsive layout, and static checks against local/session storage or bearer-field names.
Dependencies and evidence
zed-pkg/zed-web-server.rs#20.zed-pkg-test/registry-browser-e2e#9.DEN-2859.