fix(unit): honour a caller's min_coverage, skip_test and build_context #88
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!88
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/facts-caller-inputs"
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?
Main CI has been red since v6 merged (runs 24427–24429):
min_coverage is 95 but the unit has no test-coverage recipe. This repo's caller passes no unit inputs, so it runs in facts mode, and facts mode dropped the caller'smin_coverage: 0.skip_testandbuild_contextwere dropped the same way, althoughunit.mdpromises those inputs keep working until the next major.min_coverage,skip_testorbuild_contextpassed by the caller now wins overunit.json.unit.md.Verified:
just lint testpasses (557 bats).Note: this PR's own CI will still fail with the same error. The internal actions load scripts from
@main, so the PR runs main's resolver, not this one. Main goes green once this is merged. 7.0.0 removes that coupling, along withunit.json.Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3
Superseded: #87 already turned main green (root
unit.jsonwithmin_coverage: 0). In 7.0.0,unit.jsongoes away and workflow inputs become the only configuration, so this facts-mode precedence fix has nothing left to fix. Closing without merging.Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3
Pull request closed