Repository navigation
cf_diff: report validator failures with blank diagnostics - #8790
Open
Barbital11111 wants to merge 1 commit into
Open
Barbital11111 wants to merge 1 commit into
Barbital11111 wants to merge 1 commit into
Conversation
Grimkeh
reviewed
Nov 23, 2026
Grimkeh
left a comment
There was a problem hiding this comment.
Independent Linux CPU review (72385dbd)
What changed: cf_diff reports validator failures with blank diagnostics.
Checked: test_cf_diff 46 OK.
Looks correct; no game files.
sds-228
approved these changes
Nov 23, 2026
sds-228
left a comment
Contributor
There was a problem hiding this comment.
Focused suite passes 46/46 at this head; the new blank-diagnostic cases fail against the pre-change source. Validator failures keep the mismatch verdict and report a usable diagnostic.
AI-assisted (OpenCode).
|
Tested
AI-assisted (Claude Code). |
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.
Summary
A nonzero exit from spirv-as or spirv-val could raise IndexError when its output contained only whitespace. That lost the mismatch verdict and the tool's exit status.
Use stderr's first diagnostic line when available, fall back to stdout, and report the exit status when both are blank. Report the failed tool's name once.
Coordination claim
Validation
git diff --checkand the changed-filecheck_no_game_data.pypassed. Simulated merges with main, cf_diff: report reference program errors as harness failures #8049, cf_diff: --minimize without --program is a usage error #8740 and Text-mode child processes decode with errors="replace", plus a guard test (BUILD-1265) #4426 were clean. CPU only, synthetic input.AI-assisted (Codex).