Repository navigation
fix(web): resolve authentication before loading the UI (Spec 107/109) - #1399
Merged
Merged
Conversation
Contributor
📦 Build ArtifactsWorkflow Run: View Run Available Artifacts
How to DownloadOption 1: GitHub Web UI (easiest)
Option 2: GitHub CLI gh run download 36301408434 --repo smart-mcp-proxy/mcpproxy-go
|
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Deploying mcpproxy-docs with
|
| Latest commit: |
92b4293
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7eaefb19.mcpproxy-docs.pages.dev |
| Branch Preview URL: | https://codex-ux-provider-bootstrap.mcpproxy-docs.pages.dev |
2 tasks
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.
Browser startup now resolves the edition and cookie session before issuing protected requests. Personal builds use the served edition marker; server builds use a cookie-only session hint and fetch the user profile only after a positive result.
Authenticated tenants retain navigation and logout while admin requests stay gated. Login Retry restores eligible core initialization and clears the recovered error state. Disconnecting the event stream cancels pending reconnects so an old session cannot reopen it. Server browser sign-in still requires its existing cookie session.
The additive session hint returns only an authentication boolean, disables caching, and fails closed on session-store errors. This implements Spec 107 FR-030/FR-041 and Spec 109 FR-057 startup behavior.
Validation:
go build ./...; personal core and tray builds; touched Go packages with-tags server -raceand the repository CI skip expression; both golangci-lint v2.9.0 passes; frontend production build and 1,654 Vitest tests. Regression tests cover delayed startup, tenant navigation, Retry recovery, profile-fetch gating, and stale SSE reconnect cancellation.