Skip to content

Hold CI's coverage floors half a point under its figures - #108

Merged
donislawdev merged 1 commit into
mainfrom
chore/coverage-floors
Nov 2, 2026
Merged

donislawdev merged 1 commit into
mainfrom
chore/coverage-floors

Conversation

@donislawdev

Copy link
Copy Markdown
Owner

What changes

The anywhere floors in tests/coverage-floor.json, the ones CI holds in the step "coverage against its floor":

Assembly Floor before Lowest CI figure, 7 runs Floor now
Bws.Core 71.9 90.1 89.6
Bws.Gui 86.2 92.0 91.5
Bws.Cli 9.5 80.5 80.0

A new paragraph in the header of tests/coverage-gate.ps1 says why the floors sit under the figures and how to raise them again. The everything scope is not touched.

Why

The floors were the August figures. With Bws.Cli at 80.5% over a floor of 9.5, its tests could lose most of their coverage and CI would stay green.

Why half a point and not the figure itself

The seven runs on 2026-11-02 cover four trees, and two runs on the same tree gave Bws.Cli 80.5% and 80.6%. Bws.Core and Bws.Gui held still in all seven. A floor equal to the figure would fail a build that changed nothing. Half a point is five times the movement seen. It still catches a loss of about 13 lines in Bws.Cli, 34 in Bws.Core and 45 in Bws.Gui.

Checked

  • pwsh -File tests/coverage-gate.ps1 -SelfTest: 7 of 7.
  • The run on this pull request has to show every assembly ok against the new floors.

🤖 Generated with Claude Code

The anywhere floors in tests/coverage-floor.json were the August
figures, between 5.8 and 71.1 points under what CI measures. Bws.Cli
measured 80.5% over a floor of 9.5, so its tests could lose most of
their coverage and the build would stay green.

Seven CI runs on 2026-11-02 gave Bws.Core 90.1% and Bws.Gui 92% every
time, and Bws.Cli 80.5% or 80.6%, both on one and the same tree. A
floor equal to the figure would fail a build that changed nothing, so
each floor sits half a point under the lowest figure: Bws.Core 89.6,
Bws.Gui 91.5 and Bws.Cli 80.0. The header of the gate says why, and
how to raise them again. The everything scope, measured on a
developer's machine, is not touched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: e2b995e9-9b1a-4ed2-8484-14efc3ebecb2
Commits

Reviewing files that changed from the base of the PR and between 5e63809 and 1eb53d4.

Files selected for processing: 2
  • tests/coverage-floor.json
  • tests/coverage-gate.ps1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@donislawdev
donislawdev merged commit abbcef5 into main Nov 2, 2026
13 checks passed
@donislawdev
donislawdev deleted the chore/coverage-floors branch November 2, 2026 21:54
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