Skip to content

ci: enforce the coverage floor again and raise it to 78% - #298

Merged
JordanCoin merged 2 commits into
mainfrom
ci/coverage-floor
Nov 12, 2026
Merged

JordanCoin merged 2 commits into
mainfrom
ci/coverage-floor

Conversation

@JordanCoin

Copy link
Copy Markdown
Owner

What

  • The coverage floor, badge update and coverage upload steps were gated on matrix.go-version == '1.23'. The matrix is now 1.24, 1.25 and 1.26, so none of the three ran. Nothing enforced a floor, and the README badge has been stuck at 66%.
  • Gate them on 1.24, the oldest version in the matrix.
  • Raise the floor from 55 to 78. Total coverage is 80.8% from a local run of go test ./... -covermode=atomic.
  • Refresh the priority list in .github/codex/coverage-improvement.md. scanner/, render/, handoff/, config/ and limits/ are already above 80%; the gaps are in the root package and cmd/.

Check

The Enforce coverage floor step on the ubuntu / Go 1.24 job should print the measured total and pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FWQw8DzwM4bQnL7mvk6Fsq

The floor, badge and upload steps were gated on Go 1.23, which left the
test matrix, so none of them ran: nothing enforced a floor and the README
badge stayed at 66%. Gate them on 1.24 (the oldest version in the matrix)
and raise the floor from 55 to 78; total is 80.8%.

Refresh the Codex coverage prompt's priority list to where the uncovered
statements are now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FWQw8DzwM4bQnL7mvk6Fsq
@JordanCoin JordanCoin mentioned this pull request Nov 12, 2026
4 tasks
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@JordanCoin
JordanCoin merged commit ef6da20 into main Nov 12, 2026
13 checks passed
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.

2 participants