Attribute quality-dashboard coverage to crates #21

Merged
noah merged 1 commits from fix-crate-coverage into main 2026-11-03 10:51:32 -07:00
Owner

The Pages quality dashboard listed every file under "other": llvm-cov prints paths relative to their common prefix, so crates/alkane-gui/src/x.rs arrives as alkane-gui/src/x.rs. coverage_by_file now restores the crates/ prefix when the first component is a workspace crate, so the per-crate table and the per-file paths are right.

Test: ci/test-bench-badge.py (new case for the stripped prefix).

Generated with Claude Code

The Pages quality dashboard listed every file under "other": llvm-cov prints paths relative to their common prefix, so crates/alkane-gui/src/x.rs arrives as alkane-gui/src/x.rs. coverage_by_file now restores the crates/ prefix when the first component is a workspace crate, so the per-crate table and the per-file paths are right. Test: ci/test-bench-badge.py (new case for the stripped prefix). Generated with [Claude Code](https://claude.com/claude-code)
noah added 1 commit 2026-11-03 10:34:23 -07:00
Attribute coverage to crates when llvm-cov strips the crates/ prefix
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 9m42s
verify / verify-windows (pull_request) Successful in 6m29s
a4d82bf45b
The quality dashboard put every file under "other" because llvm-cov
prints paths relative to their common prefix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
noah merged commit 36f12d6d4e into main 2026-11-03 10:51:32 -07:00
noah deleted branch fix-crate-coverage 2026-11-03 10:51:32 -07:00
Sign in to join this conversation.