Skip to content

fix: Stage 1 coverage gate mis-parses per-class rows (unblocks release #406) - #408

Merged
Chris-Wolfgang merged 1 commit into
mainfrom
fix/stage1-coverage-gate-parse
Aug 17, 2026
Merged

Chris-Wolfgang merged 1 commit into
mainfrom
fix/stage1-coverage-gate-parse

Conversation

@Chris-Wolfgang

Copy link
Copy Markdown
Owner

Unblocks the 0.23.1 release (#406). The Stage 1 coverage gate uses while read which strips leading whitespace, so ReportGenerator's indented per-class rows get un-indented before the ^[^ ] module filter and are gated as if they were assemblies. Sub-90% classes then fail a gate that should only check modules (overall coverage is 99.2%; every module is >90%). Invisible until #386 instrumented the test assemblies. One-char-class fix: while IFS= read.

This is the #386 Stage-1 parse fix. It was in #407 but orphaned by a concurrent merge; re-doing it standalone. Protected file → admin-bypass. After merge, re-run #406's checks (Stage 1 will pass) and sync main→vNext so #406 shows no protected diff.

🤖 Generated with Claude Code

'while read' strips leading whitespace, so ReportGenerator's indented per-class
rows are un-indented before the '^[^ ]' module filter and get gated as assemblies
— sub-90% classes fail a gate meant to check modules only. Bites now that test
assemblies are instrumented (#386). Use 'while IFS= read'. (The 0.23.1 release PR
#406 is blocked on this; #407 shipped the benchmark-workflow fixes but this pr.yaml
change was orphaned by a concurrent merge.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 17, 2026 13:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Chris-Wolfgang
Chris-Wolfgang merged commit fc2bab4 into main Aug 17, 2026
29 of 35 checks passed
@Chris-Wolfgang
Chris-Wolfgang deleted the fix/stage1-coverage-gate-parse branch August 17, 2026 21:56
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