Skip to content

ci(pip-release): drop the removed buildjet cache provider - #3125

Merged
trunk-io[bot] merged 1 commit into
mainfrom
ci/drop-buildjet-cache-provider
Aug 11, 2026
Merged

ci(pip-release): drop the removed buildjet cache provider#3125
trunk-io[bot] merged 1 commit into
mainfrom
ci/drop-buildjet-cache-provider

Conversation

@phil-opp

Copy link
Copy Markdown
Collaborator

BuildJet is shutting down its GitHub Actions service, so Swatinem/rust-cache removed the buildjet cache provider in v2.9.2 (released 2026-08-06). pip-release.yml floats on @v2, so it picked the removal up automatically and every linux job now logs:

##[error]The `cache-provider` `buildjet` is not valid.

The action swallows the error, so the jobs still pass — they just run with no caching and a red annotation (example).

Rather than re-point at cache-provider: github, this drops the step, because it wasn't earning its keep:

  • All 8 matrix expansions shared one cache key. rust-cache doesn't include the matrix in its key and the workspace has a single Cargo.lock, so every expansion restored the same v0-rust-linux-Linux-x64-2e010167-37d8d8b3 / same ~2.25 GB blob — polluted across 4 target triples and 2 crates, populated by whichever expansion won the save race.

  • Removing it costs nothing measurable. Durations with the cache warm (run of 2026-08-05) vs. with it gone entirely (today):

    target / crate with buildjet no cache
    aarch64, dora-node-api 18m 19m
    aarch64, dora-rs-cli 13m 13m
    armv7, dora-node-api 17m 18m
    armv7, dora-rs-cli 12m 12m
    x86, dora-node-api 16m 17m
    x86_64, dora-rs-cli 13m 13m
  • Moving it onto the GitHub budget would thrash. The repo cache is at ~9.7/10 GB across 23 entries; this 2.25 GB blob is ~23% of the cap and would LRU-evict the e2e (1.69 GB) and workspace (1.27 GB ×2) caches the PR loop depends on — the exact thrash 93b9e5c fixed. Keying it per-target so the 8 jobs stop colliding would need ~18 GB, which doesn't fit either.

Reasoning is recorded inline so the step doesn't get re-added. Also removes delete-buildjet-cache.yml (a manual buildjet/cache-delete dispatch with nothing left to delete) and refreshes the nightly.yml comment that recommended BuildJet as the escape hatch for nightly's cache budget.

Unrelated to the macOS wheel failure in that same run — that was a transient DEPTH_ZERO_SELF_SIGNED_CERT while maturin-action downloaded maturin.

BuildJet is shutting down its GitHub Actions service, so
Swatinem/rust-cache removed the provider in v2.9.2 (2026-08-06). The
workflow floats on `@v2`, so it picked the removal up automatically and
every `linux` job now logs "The `cache-provider` `buildjet` is not
valid". The action swallows the error, so the jobs still pass — they
just run with no caching at all and a red annotation.

Rather than re-point at `cache-provider: github`, drop the step. It was
not earning its keep:

- rust-cache doesn't include the matrix in its key, and the workspace
  has a single Cargo.lock, so all 8 expansions of the `linux` job shared
  one key (`v0-rust-linux-Linux-x64-2e010167-37d8d8b3`) and one ~2.25 GB
  entry — polluted across 4 target triples and 2 crates.
- Job durations are the same with the cache warm and with it gone
  entirely (12-19 min either way).
- The repo cache already sits at ~9.7/10 GB. Moving this 2.25 GB blob
  onto the GitHub budget would LRU-evict the ci.yml workspace and e2e
  caches that the PR loop actually depends on — the exact thrash
  93b9e5c fixed.

Also removes delete-buildjet-cache.yml (a manual `buildjet/cache-delete`
dispatch with nothing left to delete) and refreshes the nightly.yml
comment that pointed at BuildJet as the escape hatch.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@trunk-io

trunk-io Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

😎 Merged successfully - details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant