Repository navigation
ops(004): the mutation seeds start from the job's dependency artifacts - #565
Conversation
Each `seeds.sh` call gave its first worker an empty target directory, so every call cold-built rustev-eval's dependencies (1 to 2.5 minutes on the runner) that the acceptance job had just restored from the cache and built. Eight calls run per merge-queue entry. The first worker's target directory is now seeded with a copy of the registry and git dependency artifacts the selected packages build, taken from the job's own target directory. No workspace crate's artifact, fingerprint or incremental state is copied, and the job's directory is never shared with the seed trees. A seed's verdict now also requires cargo to report the seeded crate compiled in that build, so an artifact of the unseeded source can never stand in for a seed. A failed copy falls back to building the dependencies. The run prints the copied size and the work directory's size at the end. Spec 004's implementation record has a line for the change.
AI review (no-findings)Reviewing the two changed files: a Python mutation-testing harness (
The ordering in The new
The implementation record entry accurately reflects the code change (dependency seeding, No concrete defects found. {"head": "d2b29e0150f14265ecf14a96438e7da0ea7b60e6", "verdict": "no-findings", "findings": []}Subject: c575145...d2b29e0, diff digest 20839de70a2b8a6249fec5dcd7fa53a3dec101d3de82f3edd1645fb872657746, 1 call(s). An AI comment is not an approval. |
AI review (no-findings)Reviewing the two changed files for bugs, security issues, and inconsistencies.
The addition is an implementation record entry (non-normative), accurately describing the code changes. No normative text is modified; no authority or lifecycle fields are touched. No bugs, security problems, or governance inconsistencies found. {"head": "8f43ae882e5a2eddef78586692c3e2edf57fb388", "verdict": "no-findings", "findings": []}Subject: c575145...8f43ae8, diff digest 6138765f6aae9b680d30b2169aceb865c84c21124c226e75a9ab3fe73e45cf49, 1 call(s). An AI comment is not an approval. |
AI review (no-findings)Reviewing the two changed files:
Spec change: The addition to the No concrete defects found. {"head": "cdf3f4dfaf429ec2a64c2d58bad8c38510f11de8", "verdict": "no-findings", "findings": []}Subject: c575145...cdf3f4d, diff digest da839bb58f94dc57b0a164c8a7b728b83c720ed084c6d6d6807f390ac0ddcbdd, 1 call(s). An AI comment is not an approval. |
Summary
Each
crates/rustev-eval/mutation/seeds.shcall gave its first worker an empty target directory, so every call cold-built rustev-eval's dependencies (1 to 2.5 minutes per call on the runner in #558's queue run) that the acceptance job had just restored from the cache. Eight calls run per merge-queue entry (selection: 029 061 064 065; runtime-evidence: 023 andlive-comparison; integrations-base: 040; cli-backends: 041), plus spec 004's full run and 035/036/037/066.Change (
crates/rustev-eval/mutation/seeds.py)CARGO_TARGET_DIRortarget), with--message-format=json. Exactly the units cargo reports (by file-name digest:deps,.fingerprint,buildentries) are copied, with their modification times, into the first worker's empty target directory. Incremental state is not copied, and the job's directory is never shared with the seed trees (their builds would overwrite its artifacts).compiler-artifactwithfresh: falsefor the seeded file's crate). An artifact of the unseeded source can never stand in for a seed: such a seed isBROKEN ... not rebuilt, never detected.Unchanged: the seeds, anchors, filters, required categories, verdict rules, the warm build and the per-worker copy for the second worker.
A first version copied only registry dependencies; locally that saved about 7 s per call, because the cost is the workspace crates (51 of 94 units), not the dependencies. Probe of this version: all 94 units fresh after the copy (3.8 GiB, 12 s); a seeded
rustev-evaledit recompiles 47 units, arustev-coreedit 50.Spec: spec 004 (owner of
crates/rustev-eval/mutation) implementation record, 2026-11-07 line; derived shards refreshed.Evidence
Local, interleaved before (origin/main
seeds.py) and after (this head) per call, lane 5 on the shared 10-core Mac,SEEDS_JOBS=2(the runner's worker count),CARGO_BUILD_JOBS=3, aftercargo test -p rustev-eval --no-runin the job tree (as the acceptance leaves it). Other lanes were building at the same time, so single numbers are noisy.spec 029spec 061spec 064spec 065spec 023live-comparisonspec 040spec 041Every seed detected before is detected after (50/50; before was also 50/50), and no seed reported
not rebuilt. The copy takes 8 to 9 s for 3.76 GiB and replaces the first worker's build of 94 units. The 041 "after" outlier came with heavier concurrent load on the machine; per-seed rebuilds are unchanged by design, so the saving per call is the first worker's cold build, which #558's runner logs put at 1 to 2.5 minutes per call.Disk: the copy holds exactly the units the first worker would otherwise build (3.76 GiB here with full debuginfo; the runner uses
line-tables-only). Work directory at the end (the peak), locally: 11.1 to 13.1 GiB across the eight calls. The runner figure is printed by each call in the queue run.make gateandspec-spine couplepass.