Skip to content

fix: isolate test count JSON output - #21

Merged
cmilesio merged 1 commit into
mainfrom
fix/test-count-json-stream
Sep 6, 2026
Merged

fix: isolate test count JSON output#21
cmilesio merged 1 commit into
mainfrom
fix/test-count-json-stream

Conversation

@cmilesio

@cmilesio cmilesio commented Sep 5, 2026

Copy link
Copy Markdown
Member

What

Decode go test -json events from stdout only while retaining stderr in command failure diagnostics. Apply the same stream separation to unit and integration test-count generation.

Why

Go may write dependency-download messages to stderr on a fresh cache. Combining that text with stdout corrupts the JSON event stream and caused generated-documentation validation to fail with invalid character g looking for beginning of value.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cmilesio
cmilesio merged commit e955dc3 into main Sep 6, 2026
55 of 57 checks passed
@cmilesio
cmilesio deleted the fix/test-count-json-stream branch September 6, 2026 02:38
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