Repository navigation
[ci] Fix Rspack test manifest update workflow - #100052
Merged
Merged
Conversation
Co-authored-by: Tobias Koppers <[email protected]>
Contributor
Tests PassedCommit: 47b3658 |
sokra
marked this pull request as ready for review
October 12, 2026 16:00
bgw
approved these changes
Oct 14, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
Fixes the scheduled
Update Rspack test manifestworkflow. Both of its jobs, development and production, have failed every day, for example run 38217690831.Why?
The workflow is supposed to keep
test/rspack-{dev,build}-tests-manifest.jsonup to date. Because it keeps failing, those manifests are stale, and the release Rspack shards run tests that are already known to fail (#100001 works around this by hand).There are two independent blockers:
RELEASE_BOT_GITHUB_TOKEN#93455 moved these workflows to the release GitHub App token, which is passed asRELEASE_GITHUB_TOKEN. That removed the env var the GitHub CLI used to pick up.test/update-bundler-manifest.jslists and downloads test-result artifacts withgh api, so those calls now fail with "set the GH_TOKEN environment variable"./root/actions-runner/...) from test file paths. Current artifacts come from GitHub-hosted runners (/home/runner/work/next.js/next.js/). So even with auth fixed, the script stops while processing the results.How?
.github/AGENTS.md, the workflow defaults to no permissions, and each job grants onlyactions: read.GITHUB_WORKSPACE, with a trailing separator so manifest keys stay repo-relative (test/...). It assumes the jobs that produce and consume the artifacts run on the same kind of GitHub-hosted runner, which is true today. If the variable is missing it fails with a clear message, so a manual run can't produce bad keys.This follows the approach of @bgw's earlier draft #94835, applied fresh on current canary. The obsolete Turbopack workflow that #94835 deleted is already gone.
Verification
actions: readis enough. The first successful run will open a large manifest refresh PR. Because the workflow uses--override, previously-passing tests can move to failing in that refresh.