Repository navigation
ci: a fork PR's Rust gate builds without the R2 cache, like Dependabot's (#632) - #1359
Merged
Merged
Conversation
…t's (#632) A fork pull request receives no Actions secrets, so the R2 read credentials resolved empty while SCCACHE_BUCKET stayed set — sccache's S3 backend then failed on missing credentials instead of degrading. Fork PRs now take Dependabot's path: the branch-scoped GHA cache on, the bucket and credentials empty. CONTRIBUTING.md says outside PRs are welcome and what their CI does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
athvin
temporarily deployed
to
marketing-preview
November 28, 2026 22:17 — with
GitHub Actions
Inactive
This branch was previously 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.
Closes #632
rust.yml: a fork PR takes Dependabot's path, which turns on the GHA cache and leavesSCCACHE_BUCKETand the R2 credentials empty. That change covers 16 expressions.CONTRIBUTING.mdgains a "Pull requests from forks" section. The disclosure decision (item 1) is recorded on the issue: accept as published, with the reasoning.#632: a fork PR gets no secrets, so its Rust build would fail on empty R2 credentials rather than degrade — a red gate that reads as broken. DoD 2's first option.
Proof
actionlintclean;workflow-shell-checkok.'', and the credentials are''(sccache ignores empty vars).Risk & rollback
Changes behaviour only for fork PRs, which a maintainer must approve before they run.
git revert <merge-sha>.Post-merge ledger
Closed by: agent · session
Claude Code:24d16c2e-fec6-49d8-9797-060338df4848onbrians-MacBook-Pro· 2026-11-28T22:39:05Zmainis green with this change on it — the merge SHA, and the runthat proves it. A later head SHA with this commit as an ancestor counts;
a cancelled run with zero jobs does not: — 71fe267; its own rust run 46195911599 was cancelled by the next merge's concurrency group, and rust 46196128536 on 698dd08 (which contains 71fe267) is success; frontend 46195911593 success
imagesbuilt, or correctly never ran because nothing that goes intoan image changed: — n/a — workflow and docs only; the images run that followed built from the same inputs
deployconverged — proved by a line the running process emitted, notby the image digest and not by the workflow conclusion: — run 46196104929 success; this change alters no deployed artifact
deploy,drift,kind's nightly leg) is green, or knowingly red for a reason that is notthis change: — infra, devcontainer success on 71fe267
Donethrough the automation rather than byhand, and the issue closed: — Public-repo posture: deliberate disclosure review + fork-PR CI behaviour #632 CLOSED by ci: a fork PR's Rust gate builds without the R2 cache, like Dependabot's (#632) #1359 via automation
(a skill, a reference, memory) — or nothing new was learned: — a fork PR now takes the Dependabot path through rust.yml (no R2 cache, no secrets); CONTRIBUTING.md says so
Specific to this change
rustrun goes green — n/a — there is no outside contributor to open one; the path is Dependabot's, provenContext — plan, discoveries, measurements, files
Plan
Discoveries
id-tokenis gone (sccache moved to R2 in ci(rust): sccache on Cloudflare R2 — cheap AND fast #920); the failure mode is now empty R2 credentials, which this handles.Measurements
Files
🤖 Generated with Claude Code