Skip to content

docs(openspec): plan #2163 enable branch coverage and upload xml - #2980

Merged
dan-petty merged 1 commit into
mainfrom
ci/2163-coverage-measures-branches-and-ci-keeps
Nov 1, 2026
Merged

dan-petty merged 1 commit into
mainfrom
ci/2163-coverage-measures-branches-and-ci-keeps

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #2163

This change enables branch coverage in the coverage gate and keeps the XML report as a CI artifact. Branch coverage is off in [tool.coverage.run]. A guard like if a or b: raise counts as covered when one side runs. Setting branch = true makes coverage.py measure both sides. CI writes .data/coverage.xml for diff-cover and then discards it. A reviewer cannot see per-file figures without a new run. The Tests & Coverage job now uploads the file as an artifact with a 7-day retention. The fail_under change is dropped per the owner decision on #2356. The 85% floor and 90% changed-line gate stay as they are.

Change: openspec/changes/2163-coverage-measures-branches-and-ci-keeps/

@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 1, 2026 05:06
@dan-petty
dan-petty merged commit ebc0a94 into main Nov 1, 2026
18 checks passed
@dan-petty
dan-petty deleted the ci/2163-coverage-measures-branches-and-ci-keeps branch November 1, 2026 10:17
dan-petty added a commit that referenced this pull request Nov 1, 2026
This change removes the plan of #2163 from `openspec/changes/`.

The Service staged the plan in #2980. The evaluation of that plan found
that its premise is false. The issue allows branch measurement only if
the Tests & Coverage job keeps a mean under 300 s. That mean is over 300
s before any branch is measured. Criterion 4 of the issue cannot hold,
so no plan can deliver the item now.

The issue returns to New for a re-scope. Branch measurement waits for a
faster suite (#2369, #2371, #2373).

Plans #2163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant