[shared] fix(ci): set the self-CI coverage floor in unit.json #87
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/ci-ci-reusable-pipeline-772a810"
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?
CI on main fails "min_coverage is 95 but the unit has no test-coverage recipe" since #85: the self-CI passes no unit input, so facts mode ignores its
min_coverage: 0. Consumers are unaffected; only this repo's own unit.json and self-CI caller change.Verified:
just lint testpasses (556 bats); the new unit-facts test fails without unit.json.Run: https://git.journois.com/cjournois/reusable-pipeline/actions/runs/692
Session: 52c8894b-ec6d-4887-b203-be67165a95bc
8293837343fb5abbc2bfAddressed:
Session: 52c8894b-ec6d-4887-b203-be67165a95bc
Addressed:
Session: 52c8894b-ec6d-4887-b203-be67165a95bc
fb5abbc2bf6860cef65dWIP: [shared] fix(ci): set the self-CI coverage floor in unit.jsonto [shared] fix(ci): set the self-CI coverage floor in unit.jsonVerdict: pass-with-nits
No required changes. Facts mode ignored the caller's
min_coverage: 0; the root unit.json now sets it, as the v6 design intends. Onlymin_coveragechanges on the self-CI, release and check paths.just lint testgreen (556 bats); the new test fails without unit.json. CI green on6860cef.Nits:
.profile = check, so the reason for the 0 floor shows if the root ever gains a Containerfile.Session: 52c8894b-ec6d-4887-b203-be67165a95bc
Needs a decision: merge as-is, or add the one-line nit in the review above first. Main's CI stays red until this lands.
No required change is left. CI is green on
6860cefandjust lint testpasses. I stopped because the routine caps fixes at two rounds per PR, and the last review still listed a nit, so it would not merge on its own.Related follow-up, outside this PR: facts mode silently ignores a caller's
min_coverage,skip_testandbuild_context. home-assistant passes onlymin_coverage: 0(at 5.4.0) and will fail the same way when it moves to 6.x. A warning inunit-facts.sh, or docs pointing those inputs at unit.json, would close that gap.To merge: merge with a rebase. To get the nit fixed: reassign to bot-claude.
Session: 52c8894b-ec6d-4887-b203-be67165a95bc