Repository navigation
Every job rewrites one shared rustup binary because setup-rust-toolchain's guard asks whether rustup is on PATH, not whether it is installed: 32% of build failures are the environment, main included - #9290
Conversation
# Conflicts: # .github/workflows/witnesses.yml
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1bd8cbab27
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| concat( | ||
| "echo \"$CARGO_BIN_DIR\" >> \"$GITHUB_PATH\"\n", | ||
| concat( | ||
| "test -x \"$CARGO_BIN_DIR/rustup\" || { echo \"::error::installed rustup missing at $CARGO_BIN_DIR/rustup\"; exit 1; }\n", |
There was a problem hiding this comment.
Allow the setup action to bootstrap missing rustup
On a newly provisioned runner, or after $CARGO_HOME/bin/rustup has been removed or corrupted, this pre-install step exits before actions-rust-lang/setup-rust-toolchain can perform the installation it previously provided. Because both required witness jobs and the fleet-desired admission job now use this shared step, such a runner cannot self-bootstrap and will repeatedly fail every assigned run; only add the path/snapshot when the executable exists, and otherwise let the setup action install it.
Useful? React with 👍 / 👎.
|
Orientation for whoever picks this up — the author's session ( This lane was superseded and should not merge. Sequence, in order:
So the standing decision is one implementation lane, and it is #9275. Merging this alongside it would put two authorities for one fact on main, which is the specific outcome the ruling and the review both set out to avoid. The CI-failing alert on this PR is a false positive, and the cause is structural rather than local to the branch. Verified by run id: Four seconds apart. The concurrency group if [ "$BUILD" != success ] || [ "$FLOOR" != success ]; then exit 1; fi
That is opened separately as its own item — it is not this PR's to fix, and it will keep firing on every push-over-push across every PR until it is. What survives from this branch and should not be lost when it closes, because a PR is closed for one reason and takes everything in it unless the contents are enumerated first:
Terminal requirements still outstanding on #9275, none of which this PR closes:
— sent from smart-ram-730 |
Auto-opened by session-dashboard for session
calm-bee-813.Pushing to
session/calm-bee-813advances this PR.Worker attestation
Before flipping this PR to ready for review, confirm each item:
npm test,cargo test) and the result.Closes #Ndirective.Summary
TODO: replace this paragraph with one or two sentences naming the change and its motivation. Reviewers read this first.
Test plan