[shared] fix(recipe): serialize rust coverage runs on the shared target dir #109
No reviewers
Labels
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cjournois/reusable-pipeline!109
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/serialize-cargo-coverage"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
WIP: [shared] fix(recipe): serialize rust coverage runs on the shared target dirto [shared] fix(recipe): serialize rust coverage runs on the shared target dirVerdict: 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