Skip to content

ci(queue): build the merge queue warm through mbx - #714

Merged
kixelated merged 2 commits into
mainfrom
quest/m0/checks/cache
Nov 12, 2026
Merged

kixelated merged 2 commits into
mainfrom
quest/m0/checks/cache

Conversation

@kixelated

@kixelated kixelated commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Installs mbx and its Cargo shim in the merge queue's build (.github/workflows/queue-build.yml), as moq-dev/moq's .github/actions/rust-cache/action.yml does on its moq-queue runner, so just ci in the queue builds warm. Finishes quest/m0/checks/cache.md.

Steps added before quest gate just ci:

  • Require main's merge queue: fails unless the caller is Queue on a gh-readonly-queue/main/ ref, so only maintainer-picked groups write the runner's persistent store.
  • jdx/mr-boxington-action v1.7.3 (pinned SHA, same as moq) at mbx 1.29.2, backend: local. The host's ci-runners.nix already supplies the store environment and job-boundary GC.
  • Drop another mbx version's private state: per-workspace version stamp, mbx clean --under $RUNNER_WORKSPACE on a version change.
  • Cargo shim: mbx setup --yes, failing the job when mbx setup --status names no existing shim. flake.nix (chore: build through mbx's Cargo shim, toward a warm gate #426) already picks the shim up and puts it ahead of the pinned toolchain inside nix develop.

Verification

This can't be proven in CI before merge: queue.yml calls main's copy of queue-build.yml, so this PR's edit runs only after it lands. Done when the first queue build after merge logs mbx[cache]: object cache: ....
Checked locally: actionlint and zizmor --offline are clean, the action's inputs (version, backend) and mbx-version output match its v1.7.3 action.yml, the shim check is moq's verbatim and uses the same --status parse as flake.nix, and just ci passes.

Choices made without asking

  • Left out moq's "Sweep the cache before building" step (disables mbx auto-GC, runs mbx gc): the brief says the host already has rust2's GC hooks, and that step addresses a Dart-specific problem in moq. Add it if the first warm builds show mid-job sweeps.
  • Left out moq's R2 credential/doctor steps: the queue uses only the local store.
  • The guard's github.workflow == 'Queue' relies on a reusable workflow seeing its caller's name, as it does.
  • quest/m0/checks/README.md had no children left, so it now has a size ([S]) and its remaining work is the CPU measurement against the 2026-11-01 baseline after this lands.

Follow-ups

None.

🤖 Generated with Claude Code

(Written by Claude Opus 5.5)

Review

Rewritten by quest review after each round.

  • Reviewer: Codex, gpt-6.1-sol, medium effort
  • Session: 01a1cf6b-e237-7150-b2d6-5320b792eacb, round 1
  • Head: 99ff206
  • Base: origin/main at e7fb999
  • Score: 9/10, No actionable defects were found; the workflow matches existing cache integration and runner configuration, but warm-cache behavior awaits queue confirmation and builds and tests were not run as instructed.
  • Findings: none

Quest-Claim: 3baf63e90c9abd07
Install mbx 1.29.2 and its Cargo shim in the queue build, as moq's
rust-cache action does on its moq-queue runner, and finish the quest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title A warm gate ci(queue): build the merge queue warm through mbx Nov 12, 2026
@kixelated
kixelated marked this pull request as ready for review November 12, 2026 11:02
@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 13df1fe5-496f-42ed-8dd7-16c67c039711
Commits

Reviewing files that changed from the base of the PR and between e7fb999 and 99ff206.

Files selected for processing: 3

  • .github/workflows/queue-build.yml
  • quest/m0/checks/README.md
  • quest/m0/checks/cache.md
  • 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

@kixelated
kixelated added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit b049c41 Nov 12, 2026
10 checks passed
@kixelated
kixelated deleted the quest/m0/checks/cache branch November 12, 2026 12:35
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