Repository navigation
docs(openspec): plan #2163 measure branches and keep the coverage xml - #3960
Merged
dan-petty merged 2 commits intoNov 7, 2026
Merged
Conversation
5 tasks
…#2163 Add the $ prefix to the verification command spans so that the plan reader parses them as commands. Name .github/workflows/ci.yml in a code span of task 2.1 so that the step packs the changed file. Set group 1 for the dropped criterion to match the issue text without a comma partition fault. Plans #2163.
dan-petty
deleted the
ci/2163-enable-branch-coverage-and-upload-coverage
branch
November 7, 2026 17:33
This was referenced Nov 12, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 15, 2026
An item can state that a CI job stays under a duration, and the stage job planned it without reading the current duration, as #2163 and pull request #3960 show. New module src/devops_cli/roadmap/stage/stage_time.py parses the check name and its under N s limit from the item body and compares the limit with the mean of the check's last 20 runs, passing a mean equal to the limit as devops ci job-time does. Before the planner call, the stage job reads the mean, retries once, returns the item to New with the evidence when the mean is over the limit through the existing false-premise path, and records a ci_infra failure when the read fails twice. Closes #4026 Change: `openspec/changes/archive/2026-11-14-4026-check-the-ci-job-time-premise/`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plans #2163
The coverage gate measures lines only, so a conditional whose other side has no test still passes. CI writes .data/coverage.xml for diff-cover and then discards it, so a reviewer cannot see the per-file figures without a new run. This change sets branch = true in [tool.coverage.run], so coverage.py measures both sides of each conditional. The Tests & Coverage job now uploads .data/coverage.xml with actions/upload-artifact, pinned by commit SHA, with a 7-day retention. The upload runs with if-no-files-found: warn and always(), so a failed changed-line step still keeps the report. The floor stays at 85%: #2356 owns it. The 90% changed-line gate and diff-cover are unchanged.
Change:
openspec/changes/2163-enable-branch-coverage-and-upload-coverage/