Repository navigation
workers/mcp: account connect — no-redirect exchange test, truthful message after a 200 - #19
Open
euphyra-dev wants to merge 1 commit into
Open
euphyra-dev wants to merge 1 commit into
euphyra-dev wants to merge 1 commit into
Conversation
… message after a 200 A test pins redirect: "manual" on the exchange, so a 3xx from the API never makes the Worker re-send its dedicated secret to another host. After an exchange the API answered with 200, the key exists: the restart page no longer says that no key was created.
euphyra-dev
force-pushed
the
workers/mcp-agent-connect-followup
branch
from
November 27, 2026 09:24
70212ed to
0fb623f
Compare
This branch has not been deployed
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.
Follow-up to #18, from its review:
redirect: "manual"on the server-to-server exchange. If the API ever answered with a 3xx, the Worker must not re-send its dedicated secret to another host. Without this test, removing the option went unnoticed.mcp:readin the final scopes), the page now says « La connexion n'a pas abouti. Relancez-la depuis votre agent. ». It no longer claims that no key was created. Every failure before the exchange keeps the full sentence.Tests:
npm testgives 34 passed (2 new);tsc --noEmitis clean.Mutants, each reverted afterwards. Both are caught:
redirect: "manual";The Worker should not be deployed without this change.