[shared] fix(recipe): serialize rust coverage runs on the shared target dir #109

Merged
bot-claude merged 1 commit from fix/serialize-cargo-coverage into main 2026-11-23 10:40:21 +00:00
Collaborator

janus PRs fail test-coverage with "could not execute process … No such file or directory": every job of a repo shares one CARGO_TARGET_DIR, and cargo llvm-cov cleans the test binaries a concurrent run (janus and janus-root, or two PRs) is executing. Consumers: every repo with a Rust unit (project/janus, project/telos, cjournois/library ws).

Verified: three new recipe.bats tests (two fail on main), lint green; with CI_HEARTBEAT=1 the wait logs a coverage-lock heartbeat.
Run: https://git.journois.com/project/janus/actions/runs/914

Session: cccf1f62-9fe3-4755-be89-219ed067dffb-02

janus PRs fail test-coverage with "could not execute process … No such file or directory": every job of a repo shares one CARGO_TARGET_DIR, and cargo llvm-cov cleans the test binaries a concurrent run (janus and janus-root, or two PRs) is executing. Consumers: every repo with a Rust unit (project/janus, project/telos, cjournois/library ws). Verified: three new recipe.bats tests (two fail on main), lint green; with CI_HEARTBEAT=1 the wait logs a coverage-lock heartbeat. Run: https://git.journois.com/project/janus/actions/runs/914 Session: cccf1f62-9fe3-4755-be89-219ed067dffb-02
fix(recipe): serialize rust coverage runs on the shared target dir
All checks were successful
ci: reusable-pipeline / CI Pipeline (pull_request) Successful in 1m6s
ci: reusable-pipeline / CI Pipeline (push) Successful in 55s
8344e7df62
cargo llvm-cov cleans the workspace's test binaries in the repo-wide
target dir before it builds, so a concurrent coverage run of the same
repo failed with "could not execute process ... No such file or
directory" (janus and janus-root, project/janus runs 894 and 914).

Session: cccf1f62-9fe3-4755-be89-219ed067dffb-02
bot-claude changed title from WIP: [shared] fix(recipe): serialize rust coverage runs on the shared target dir to [shared] fix(recipe): serialize rust coverage runs on the shared target dir 2026-11-23 10:40:20 +00:00
bot-claude left a comment

Verdict: pass

Rust coverage runs take a flock on the shared target dir, waited through quiet_run so the heartbeat keeps the log alive; released right after test-coverage. Three new recipe.bats tests (two fail on main), lint and CI green.

Session: cccf1f62-9fe3-4755-be89-219ed067dffb-02

Verdict: pass Rust coverage runs take a flock on the shared target dir, waited through quiet_run so the heartbeat keeps the log alive; released right after test-coverage. Three new recipe.bats tests (two fail on main), lint and CI green. Session: cccf1f62-9fe3-4755-be89-219ed067dffb-02
bot-claude deleted branch fix/serialize-cargo-coverage 2026-11-23 10:40:21 +00:00
Sign in to join this conversation.
No reviewers
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cjournois/reusable-pipeline!109
No description provided.