Skip to content

chore(ci): bump mbx to 1.31.0 and drop the failed-puts quest - #9558

Merged
kixelated merged 1 commit into
mainfrom
chore/mbx-1.31.0
Nov 25, 2026
Merged

kixelated merged 1 commit into
mainfrom
chore/mbx-1.31.0

Conversation

@kixelated

@kixelated kixelated commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The Rust cache runs mbx 1.30.0. #8763 (closed, per the maintainer's decision) held the measurements and planned this bump as mbx-prefetch-cap. 1.31.0 contains jdx/mr-boxington#951: prefetch stops at half the download budget, so a job's own restores stop being refused (on 2026-11-14, 20 Linux jobs still spent the full 20 GiB and 25 logged "cached action is missing blob", each re-uploading recompiled units as refused puts). That helps on any storage, including the Backblaze B2 move in #9514.

Approach

  • .github/actions/rust-cache/action.yml: version: 1.31.0; the MBX_GC_MAX_SIZE=20GiB comment now says prefetch is capped by mbx. The 20 GiB budget stays, as decided on The Rust cache stops paying for uploads R2 refuses #8763.
  • quest rm quest/m0/ci/mbx-failed-puts.md (its PR is closed; its follow-up mbx-prefetch-cap lived only on that branch and is this PR). The one prose mention in mbx-r2-verify.md now points at The Rust cache stops paying for uploads R2 refuses #8763 instead of the deleted quest.
  • Nothing else needs adjusting for 1.31.0. Its changes to this setup: cross-checkout incremental seeding is removed (the self-hosted runner's per-workspace stamp already wipes private state on any version change, and MBX_SEED_INCREMENTAL is not set anywhere); cache files follow the umask (the runner cache dir is not shared across users); the new upload write-stall budget only affects HTTP remotes, not s3://.

Impact

  • Public API: none. Wire: none. CI only; the Rust cache is a new mbx version.
  • The first self-hosted run in each workspace clears its private mbx state once (the stamp mismatch), then reuses the shared store.

Alternatives

Validation

  • quest check with the flake-pinned quest: 506 documents ok. just check passes except the dev shell's stale quest (59b106e) reporting skills outdated, which the pinned quest does not.

  • Real surface, the TS workflow (read-only on a PR: the cache-write environment admits only main, the merge queue and release tags), the same TS compliance step on the same base:

    Run mbx Hits Misses Not looked up Prefetched
    45501344155, this head 1.31.0 0 0 506 0
    45508310924, main dispatched read-only 1.30.0 488 18 0 1039 (18.3 GiB)

    The 1.31.0 run installed mbx 1.31.0, passed the remote and Cargo shim checks (remote: pass, policy: configured read-only, effective read-only), and used the cache with no budget refusal. But it restored nothing: "506 compilations had no usable prior inputs or matching prediction". The remote's prior inputs and predictions, written by 1.30.0, are not used by 1.31.0, so the first reads after the bump are cold. I read this as one-time (a writer on main on 1.31.0 repopulates), but a PR cannot save, so the saving half is unverified: the first main run after merge must show uploads, then a second run hits. The TS job's later steps failed on both runs (and on every recent scheduled TS run on main), unrelated to the cache.

Follow-ups

Models

Size: XS
Implementer: Claude Code, claude-sonnet-5-5, unknown effort

🤖 Generated with Claude Code

Review

Rewritten by quest review after each round.

  • Head: 42040b5

  • Base: origin/main at 42c84b9

  • Risk: high, it changes .github/actions/rust-cache/action.yml, which is always high: the repository's actions run inside its workflows, with their secrets

  • Classified: high by the always-high paths

  • Reviewer: Codex, gpt-6.1-sol, medium effort

  • Session: 01a20fbb-0da3-7e32-8d5e-eb1be129bf45, round 1

  • Score: 9/10, No actionable defects were found in the narrow diff or inspected dependents, but builds and tests were not run as instructed.

  • Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0

  • Findings: none

  • Reviewer: Claude Code, claude-opus-5-5, low effort, second

  • Session: e3d45713-d31a-4c14-8a0a-5d7fe75d459f, round 1

  • Score: 9/10, This is a low-effort CI version bump plus documentation cleanup, and nothing in the diff looks wrong. Two things were not checked: whether mbx 1.31.0 behaves as the new comment says, and whether #8763 is the right "closed with" link.

  • Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0

  • Findings: none

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@kixelated
kixelated marked this pull request as ready for review November 25, 2026 00:01
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Rust-cache action comments now describe the prefetch limit, the 20 GiB budget, and possible effects of refused restores. The action version changes from 1.30.0 to 1.31.0. The verification instructions reference the failed-puts measurement collected in #8763. The related quest section and the failed-puts planning document are removed.

Merge Risk: Minimal · up to 42040

This PR updates the Rust cache action to mbx 1.31.0, which caps prefetching at half the download budget, and removes a finished quest document. It changes no public API and no code logic. The first post-merge main run should show cache uploads, and a later run should show hits. Nothing found in the changes blocks merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the two changes in the PR: bumping mbx to 1.31.0 in the Rust cache CI action and removing the failed-puts quest file. Both match the changeset summary and the stated objectives. The 'c…
Description check Passed The description is detailed and relevant. It explains the mbx 1.30.0 to 1.31.0 bump, the cache-size comment change in .github/actions/rust-cache/action.yml, the deletion of mbx-failed-puts.md, the edi…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two changes in the PR: bumping mbx to 1.31.0 in the Rust cache CI action and removing the failed-puts quest file. Both match the changeset summary and the stated objectives. The 'chore(ci):' prefix is a conventional-commit style and is clear. The title is concise and specific.

Full details: Description check

Explanation

The description is detailed and relevant. It explains the mbx 1.30.0 to 1.31.0 bump, the cache-size comment change in .github/actions/rust-cache/action.yml, the deletion of mbx-failed-puts.md, the edit to mbx-r2-verify.md, validation runs, and follow-ups. It matches the raw summary and the PR objectives.

Finishing Touches

Simplify code

  • Commit to this branch
  • Create a new PR
Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6161b5ad-4b28-482b-bed7-f51d479958b2
Commits

Reviewing files that changed from the base of the PR and between 42c84b9 and 42040b5.

Files selected for processing: 3

  • .github/actions/rust-cache/action.yml
  • quest/m0/ci/mbx-failed-puts.md
  • quest/m0/ci/mbx-r2-verify.md
Files with no reviewable changes: 1

  • quest/m0/ci/mbx-failed-puts.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 0 remain after this review.

@kixelated
kixelated added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 2311175 Nov 25, 2026
10 of 11 checks passed
@kixelated
kixelated deleted the chore/mbx-1.31.0 branch November 25, 2026 00:29
kixelated added a commit that referenced this pull request Nov 25, 2026
mbx-failed-puts was already deleted and #8763 closed by #9558; link
nix-nar-stream directly and accept pre-switch cache.yml push failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant