Skip to content

fix go coverage when parsing blocks out of order#3519

Merged
SpangleLabs merged 2 commits intothought-machine:masterfrom
goddenrich:panic-coverage-blocks-unsorted
Apr 16, 2026
Merged

fix go coverage when parsing blocks out of order#3519
SpangleLabs merged 2 commits intothought-machine:masterfrom
goddenrich:panic-coverage-blocks-unsorted

Conversation

@goddenrich
Copy link
Copy Markdown
Contributor

previously we were assuming the last block contained the greatest end line. This is not always the case if we parse blocks out of order. Doing so causes plz cover to panic.

@goddenrich goddenrich changed the title Panic coverage blocks unsorted fix go coverage when parsing blocks out of order Apr 14, 2026
@SpangleLabs
Copy link
Copy Markdown
Contributor

This seems to fix some issues we were seeing on the internal repo, and looks good, thank you!

@SpangleLabs SpangleLabs merged commit f62dfb6 into thought-machine:master Apr 16, 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