Skip to content

ci(miri): shard the run across eight jobs - #412

Merged
AdaWorldAPI merged 1 commit into
masterfrom
claude/gallant-wright-wqeht0
Nov 6, 2026
Merged

AdaWorldAPI merged 1 commit into
masterfrom
claude/gallant-wright-wqeht0

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Why

The miri job on master is cancelled at its 2-hour cap. Run 42127372661 got through 590 of about 1400 tests before the cap hit. Under Miri each test runs as its own interpreted process, which costs about 30 s minimum per test. Measured locally, two trivial tests took 33 s and 39 s wall each. At that rate the full suite needs 4–5 hours on one runner.

Change

  • ci.yaml § miri: the job now runs as an eight-shard matrix (miri/1 … miri/8, fail-fast: false). Each shard keeps the 120-minute cap.
  • scripts/miri-tests.sh: passes --partition "$MIRI_PARTITION" to nextest when the variable is set. Unset, it runs the full suite as before.

Coverage is unchanged: same filter, same features, same per-test limit. The conclusion job already needs miri, which covers all shards.

Verification

The script passes sh -n. The sharded run itself only happens on push to master, so the first real check is the post-merge run.


Generated by Claude Code

Under Miri each test runs as its own interpreted process, about 30 s
minimum each (measured locally: 33-39 s wall for single trivial tests).
The ~1400 selected tests take 4-5 hours serial; the 2026-11-05 master run
was cancelled at the 2-hour job cap after 590 tests.

The job now runs as an eight-way matrix, each shard passing
--partition count:K/8 to nextest via MIRI_PARTITION. The script runs the
full suite when the variable is unset. Coverage is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMQJzQD5KvNm8BtbsWG
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

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: 56139997-31c3-4466-a131-eb01f3e9e219
  • 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

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review November 6, 2026 01:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T01:57:09.231615Z f0462d2 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AdaWorldAPI
AdaWorldAPI merged commit 5806c41 into master Nov 6, 2026
22 checks passed
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.

2 participants