Repository navigation
CI: a PR adding a crate no published binary compiles skips the three platforms of binaries - #5731
Merged
joelteply merged 1 commit intoNov 3, 2026
Conversation
…platforms of binaries (card 6cb09c03) Each new leaf crate edits tools/scripts/tests/ci-change-scope.test.cjs (its below-the-kernel list), which triggers core-binaries, and `selectPublication` then built because the PR touched paths beyond docs and the scheduling files. #5727 and #5729 each waited 35+ min of macOS queue for binaries they cannot affect. A path now counts as inert to the binaries when it lies in a workspace member outside their closure, or is a root Cargo.toml / Cargo.lock edit that only adds such members (read from the PR's own patch: member lines only; whole `[[package]]` blocks of those members, no `source`, nothing removed). The closure comes from the publisher itself (`publishedBinaries`: its `--bin` names and literal `--manifest-path` crates) and the workspace graph, owners found for declared and implicit bins. Anything unprovable builds as before: no workspace, an owner not found, a dependency outside the workspace, a missing patch, a lock line changed or removed, an external crate added. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
Contributor
Author
|
PASS at 2460caf (Cormac; author session 01LoTjvf…, not mine). Merge on green CI (34 pending at this head). Verified claim: a PR whose only Rust effect is adding crates no published binary compiles skips the binary builds, and anything else still builds them. Read
Non-blocking:
|
joelteply
deleted the
6cb09c03/ci-scope-a-leaf-crate-added-to-the-works
branch
November 3, 2026 15:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Serves the minds by getting proven changes to them faster. A new isolated crate stops waiting 35+ minutes of macOS queue for binaries it cannot affect. Card 6cb09c03 (Cormac's rule, with two receipts).
Cause. Each new leaf crate edits
tools/scripts/tests/ci-change-scope.test.cjs(its below-the-kernel list). That test is acore-binariestrigger path, andselectPublicationthen built because the PR touched paths beyond docs and the scheduling files.Rule. A path is inert to the binaries when:
Cargo.toml/Cargo.lockedit that only adds such members. This is read from the PR's own patch: member lines only, and whole[[package]]blocks of those members with nosourceand nothing removed.The closure comes from the publisher itself (
publishedBinaries: its--binnames and literal--manifest-pathcrates) plus the workspace graph. Owners are found for declared and implicit bins (continuum-mcpis implicit in continuum-core).Anything unprovable builds as before:
Measured
node --test tools/scripts/tests/ci-change-scope.test.cjs: 26 pass. That includes the leaf-crate case, six cases that must build, and the real publisher's binaries having owners.Replayed the real file lists and patches (
gh api pulls/N/files) against each PR's own tree:Today both ran the three platforms.
This PR's own changes (
ci-change-scope.cjs, thepublication-scopejob only) keep the publisher's build config equal, so it skips its own binaries.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo