ci: require exact-head production coverage evidence - #147
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Superseded by clean current-main PR #152 after protected |
Purpose
Make DiskSage's 100% production coverage requirement an exact-head, fail-closed CI contract instead of a local or predecessor-head assertion.
This extracts the generic coverage-evidence mechanism from stale PR #133 onto the exact current protected
maintip4b2f5d30c1f1961e017a84aa1c785d3f1b1bb9afwithout carrying any Podman-specific formatting, source, UI, or test changes.Test-first history
c5aac76a6e76f0e5be0ccb93ad37c9071ee58ef9: adds a source-level workflow contract requiring exact-head checkout, real Rust branch measurement, unpruned production graph measurement, bounded privacy-safe diagnostics, and fail-closed success evidence while protected main does not yet implement those requirements.c7c5d61063a566e714d63edb9ef579f4d502c263: updates theTestworkflow to run frontend coverage/checks and an independently inspectable Rustcargo llvm-covjob on the exact pull-request head.3afe2fdd52e77846a3eb64780e0ff19ec75cc529: records evidence identity, measurement semantics, failure diagnostics, and operating rules.eca6140867907971dcb35ec7cc7e4601d77123d2.Exact ancestry and bounded diff
Current exact head:
eca6140867907971dcb35ec7cc7e4601d77123d2Current exact base:
4b2f5d30c1f1961e017a84aa1c785d3f1b1bb9afThe branch is four commits ahead and zero behind. Its four-file diff is limited to:
.github/workflows/test.yml;CHANGELOG.md;docs/development/coverage-evidence.md;src/lib/coverageEvidenceWorkflow.test.ts.Coverage contract
cargo llvm-cov --branchfrom an immutable dated nightly;--no-cfg-coverageand--no-cfg-coverage-nightlykeep the production graph from disappearing behind coverage-only cfg pruning;coverage-diagnostic-<head>artifact and step summary with repository-relative gap paths only;coverage-evidence.jsonis produced only on complete exact-head success;npm run coverageandnpm run checkbefore build.Required before merge
Keep Draft while the new coverage job is discovering real current-main gaps. Merge only when the unchanged exact head itself proves Test, Release, Security Scan, SAST, exact 100% production coverage, packaging/provenance/release acceptance, actionable current-head review closure, and actual repository/ruleset policy. A diagnostic artifact is evidence of failure, not success. No #133 CI/review/approval evidence transfers.
No version is bumped and no release is published by this change.