Repository navigation
ci: spec-guards print first compiler error when score = 1000000 - #14066
Merged
Merged
Conversation
#13977) Merge stderr into the awk stream and emit the first `error:` line to stderr when a spec is BLOCKED. The score returned to `h=$()` is unaffected (stdout only). Developers now see the root cause without a separate lab run. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
gHashTag
enabled auto-merge (squash)
November 16, 2026 08:58
Contributor
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.
What
Modifies the
score()function in the "Affected specs" step to surface thefirst
error:line fromt27cwhen a spec scores 1000000 (does not build).Before: The step prints
specs/foo.t27: head 1000000, base 0with nofurther detail. Finding the root cause required a manual lab run.
After: The step also emits:
to stderr before the score line, visible in the CI log without leaving GitHub.
How
2>&1before theawkpipe so stderr is merged into the stream.error:line inerr.BLOCKED, awk printscompiler: <err>to/dev/stderr.h=$(score "$f")still captures only the numeric score (stdout unchanged).One line changed, net 0 additions. No behavior change when the spec builds.
Refs #13948. Closes #13977.
🤖 Generated with Claude Code