Repository navigation
ci(e2e): pin Verdaccio to 6, since 7 rejects the e2e publish token - #959
Merged
Merged
Conversation
Contributor
|
Caution Review failedThe pull request is closed. Finishing Touches
Comment |
Contributor
Cherry-pick CreatedA cherry-pick PR to Please review and merge if this change should also be in If the cherry-pick is not needed, close the PR. |
Contributor
Performance Test ResultsStatus: ✅ All tests passed Summary
Total: 101 tests across 21 projects 📊 View full report in workflow run Generated at: 2026-10-25T23:28:19.152Z |
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.
What and why
Problem
Package E2E (Verdaccio)now fails on every PR: eachnpm publishto the local registry getsnpm error code E401 … your authentication token seems to be invalid. Nothing is published, so the first scenario,npx frontmcp create … --yes, exits 1. See #958's run (28 × E401).Cause
The job installs Verdaccio unpinned (
npm install -g verdaccio), and Verdaccio 7.0.0 was published on 2026-10-25 (7.0.1 the same day).libs/cli/e2e/run-e2e.shpublishes with a placeholder token,//localhost:14873/:_authToken=fake-token-for-e2e, whichverdaccio.config.yaml'spublish: $anonymouslet through on 6.x. Verdaccio 7 answers 401 to it.The last passing runs installed 6.10.6 with no E401 (e.g. #953's). A local reproduction with the repo's
verdaccio.config.yamland the same token:npm publish --registry … --tag nextE401Fix
Install
verdaccio@6in the workflow and inrun-e2e.sh's fallback install, with a one-line reason in the workflow.Deliberately unchanged
pr-testing-registry.ymlalso installs Verdaccio unpinned, but it publishes as a realhtpasswduser (ci-publisher), not a placeholder token, so it isn't affected the same way.pr-testing-registry.ymldoes. That's a separate change.Once this is merged, re-running #958's
Package E2Ejob should pass.