Repository navigation
Lane cost failures include captured parser diagnostics - #854
Merged
Merged
Conversation
Signed-off-by: zlareb1 <[email protected]>
9 tasks done
This was referenced Nov 18, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #841
Changelog category (leave one):
Why
A lane cost check can fail after its parser stops an oversized input. The child process exits successfully with timing data, so the assertion discards the parser diagnostics captured on stderr. Include that output in the failed cost assertion to distinguish an incomplete parse from a completed walk.
Scope and risk
One assertion message includes the final 4,000 characters of its existing captured child stderr. The child reads synthetic test inputs. No timing, parser limit, fixture, test selection or pass condition changes. This improves failure reporting; it does not fix or qualify the observed scaling failure.
Compatibility, rollout and rollback
Tests
git diff --checkpasses.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (Codex wrote the diff); the assertion message and unchanged gate conditions were checked.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make format-check,make lint,make typecheckandmake test-unitpass; the integration suite passes if server behaviour changed.