Skip to content

ci: run Dependabot Rust checks without R2 secrets - #990

Merged
athvin merged 2 commits into
mainfrom
fix/954-984-dependabot-cache-land-doc
Nov 9, 2026
Merged

athvin merged 2 commits into
mainfrom
fix/954-984-dependabot-cache-land-doc

Conversation

@athvin

@athvin athvin commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #954
Closes #984

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

Use GitHub Actions sccache for Dependabot Rust checks; keep R2 for human PRs and main. Correct the land-pr deploy lookup by confirming the logged deployed SHA.

Why

Dependabot has no repository Actions secrets, so its required Rust jobs failed at sccache startup. A workflow_run deploy can display a newer main SHA than the image run that triggered it.

Proof

actionlint .github/workflows/rust.yml, make skills-check, and bash scripts/ci/workflow-shell-check.sh pass. make check passed locally. Fresh bot-authored #933 Rust run 42554620497 passed after merge.

Risk & rollback

Dependabot cache may be slower than R2; bot jobs still run the same gate. Revert this PR if the cache backend prevents compilation.

Post-merge ledger

Closed by: agent · session Codex:01a1bde2-74cf-7c10-b602-ee36cc255af5 on Mac · 2026-11-09T03:20:31Z

  • main is green with this change on it — merge ed4e7ccf4cf0483b70ace72c21253b3a45d7da47; Rust push run 42554582391, frontend 42554582342, infra 42554582356, and devcontainer 42554582346 all succeeded.
  • images — n/a — this PR changed only .github/workflows/rust.yml and .claude/**, outside the image workflow's push paths.
  • deploy — n/a — no image or platform input changed; workflow_run 42555583217 appeared under the merge SHA, but both deployment jobs were skipped.
  • the push-only surface no pull request can pre-test — n/a — the observed deploy workflow had no eligible jobs; drift and kind's nightly leg are scheduled; the applicable main push runs succeeded.
  • the board card reached Done — ci: make Rust required checks work on Dependabot PRs without R2 secrets #954 and docs(land-pr): find workflow_run deploys by triggering image SHA #984 closed through this PR's closing references; both project items show Done.
  • follow-ups — n/a — the bot cache validation passed; no further work remains.
  • what was learned is written down — the cache rule is in ci-and-supply-chain/references/dependency-bumps.md; deploy lookup and a regression scenario are in land-pr.

Specific to this change

Context — plan, discoveries, measurements, files

Plan

  1. Select the Actions cache only for Dependabot PRs.
  2. Correct the deploy lookup and add a regression scenario.
  3. Land and verify the bot path and main.

Discoveries

sccache 0.19.0 ignores an empty SCCACHE_BUCKET and enables GHA with SCCACHE_GHA_ENABLED=on. The GHA backend needs runner cache URL and token exported.

Measurements

Files

@athvin
athvin force-pushed the fix/954-984-dependabot-cache-land-doc branch from 9855654 to 1950778 Compare November 9, 2026 02:56
@athvin
athvin merged commit ed4e7cc into main Nov 9, 2026
44 checks passed
@athvin
athvin deleted the fix/954-984-dependabot-cache-land-doc branch November 9, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(land-pr): find workflow_run deploys by triggering image SHA ci: make Rust required checks work on Dependabot PRs without R2 secrets

2 participants