8000 add cargo-nextest 0.9.145 by norrietaylor · Pull Request #720 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content

add cargo-nextest 0.9.145 - #720

Merged
norrietaylor merged 1 commit into
mainfrom
add-cargo-nextest
Sep 18, 2026
Merged

norrietaylor merged 1 commit into
mainfrom
add-cargo-nextest

Conversation

@norrietaylor
@norrietaylor norrietaylor commented Sep 18, 2026 •
Copy link
Copy Markdown
Member

Summary

Adds cargo-nextest, the next-generation Rust test runner (per-test process isolation, parallel execution, retries, JUnit output). 0.9.145 is the latest upstream release.

Only the cargo-nextest workspace member is built, with upstream's documented distributor feature set (--no-default-features --features default-no-update). That drops the self-update code path, which has no place under a package manager, and its dialoguer/TLS dependencies with it.

Changes

  • New package packages/cargo-nextest at upstream version 0.9.145, source https://github.com/nextest-rs/nextest/archive/refs/tags/cargo-nextest-0.9.145.tar.gz.
  • Standard Rust reproducibility recipe: CARGO_INCREMENTAL=0, -C linker=gcc, --remap-path-prefix for the build dir and cargo home, --locked.
  • Runtime deps: glibc, libgcc.
  • Standalone smoke tests: cargo-nextest nextest --version and --help.

Checklist

  • I've read CONTRIBUTING.md.
  • I've accepted the ICLA (and CCLA if contributing on my employer's time). CLA Assistant will prompt me on this PR if I haven't already.
  • min check passes for the affected packages/harnesses.
  • min package build cargo-nextest succeeds (patched-build failed locally on a stale cached glibc predating the 2.44 pin, unrelated to this package).
  • For new packages: source_provenance points to the canonical upstream and the source builds from source (not a prebuilt release binary) where the required toolchain is available.
  • For version bumps: N/A.

Notes for reviewers

  • Reproducibility verified. Two forced clean-room builds (mip package build --rebuild cargo-nextest, mip 0.5.5-dev.49, arm64) produced byte-identical trees: diff -r clean, usr/bin/cargo-nextest sha256 1a85de12…c5efb both times. See the comment below. The source tarball carries no .git and no nextest-commit-info, so build.rs embeds no commit hash.
  • The usdt feature (part of default-no-update) compiles DTrace probe points; inert on Linux without a consumer.

🤖 Generated with Claude Code

Builds only the cargo-nextest workspace member with upstream's
distributor feature set (--no-default-features --features
default-no-update), dropping the self-update code that has no place
under a package manager.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@norrietaylor
norrietaylor requested a review from a team as a code owner September 18, 2026 17:58
@coderabbitai
coderabbitai Bot commented Sep 18, 2026
Copy link
Copy Markdown
Contributor

Warning

Review paused — included plan limit reached

Keep your review moving with free on-demand reviews.

  • Run this review for free

On-demand reviews are free for the next 2 days.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Promotion and pricing details

On-demand reviews are free for the next 2 days. After that, they cost $0.25 per reviewed file.

Review limit details

Or wait 59 minutes for your next included review.

Check out review usage here.

Limit details: You’ve used the included review currently available. Your 62 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Essentials

Run ID: 6efd8507-0f43-4e25-8e39-7879f8128585

📥 Commits

Reviewing files that changed from the base of the PR and between 43e2f0a and f37f2f7.

📒 Files selected for processing (2)
  • packages/cargo-nextest/build.ncl
  • packages/cargo-nextest/build.sh

Comment @coderabbitai help to get the list of available commands.

@norrietaylor
Copy link
Copy Markdown
Member Author

Reproducibility proof (mip 0.5.5-dev.49.gcb384e31, the unstable channel CI uses, run inside a Minimal session on arm64):

$ mip package build --rebuild cargo-nextest
cargo-nextest -> /state/cache/minimal/built/5c/09fecbac820f62fff8b38d876a196123c9293d40e717819e496b15aca9d6fc (built in 55.8s)
$ cp -a $A /state/repro-a
$ mip package build --rebuild cargo-nextest
cargo-nextest -> /state/cache/minimal/built/5c/09fecbac820f62fff8b38d876a196123c9293d40e717819e496b15aca9d6fc (built in 54.7s)
$ diff -r /state/repro-a $A && echo IDENTICAL
IDENTICAL
$ sha256sum usr/bin/cargo-nextest   # both trees
1a85de1209dfe84dfb4ab93c08af6f5e5a4f3cb4e10a9cd49f2997778d8c5efb

Note the PR minimal-check job runs the static checkers only (enumerate bins, output types valid, missing runtime_deps, standalone tests report Skip there). Those four pass post-build locally via min check --packages cargo-nextest.

@norrietaylor
norrietaylor added this pull request to the merge queue Sep 18, 2026
Merged via the queue into main with commit f4de33d Sep 18, 2026
11 checks passed
@norrietaylor
norrietaylor deleted the add-cargo-nextest branch September 18, 2026 18:43
norrietaylor added a commit to gominimal/minimal that referenced this pull request Sep 18, 2026
…test (#1551)

gominimal/pkgs#720 added cargo-nextest 0.9.145, merged as f4de33d0. Every
`test:` line the agent runtime runs for a task is `cargo nextest run …`, and
it runs them in a sandbox that carries only its base set plus this file's
`[session] packages`; with no nextest there, every task's tests fail before
they compile and every pull request opens as a draft.

The pin moves 65 pkgs commits (ff15baa9 → f4de33d0). That is the toolchain
too — gcc, glibc, binutils, openssl, zlib, linux_headers, protobuf, skopeo,
curl, and the virtio kernel and rootfs the VM outputs build from — so the
dogfood and KVM lanes on this change are the proof, not this message.

Co-authored-by: Claude Opus 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.

2 participants

0