Repository navigation
Fix stale golden-image fixture in test_decoder_forge.py after #939 - #943
Merged
Merged
Conversation
PR #939 (merged) correctly stripped trailing whitespace from blank lines inside cobol_to_java_decoder_forge.py's Java-generating template (W293), but the hardcoded GOLDEN_DECODER_UTIL fixture in this test wasn't updated to match, leaving test_ebcdic_comp3_decoder_golden_image failing on main. Confirmed via diff the drift is whitespace-only (three blank lines lost trailing spaces) -- no bitwise/hex decoding logic changed. This slipped through because full-suite only runs on labeled PRs or version-tag pushes, not on ordinary pushes to main, so #939's merge never triggered it. Co-Authored-By: Claude Sonnet 5 <[email protected]>
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.
Summary
Discovered while resolving the baseline-conflict merge for PR #938:
maincurrently failsfull-suite'stest_decoder_forge.py::test_ebcdic_comp3_decoder_golden_imageafter PR #939 merged.PR #939 correctly stripped trailing whitespace from blank lines inside
cobol_to_java_decoder_forge.py's Java-code-generating f-string template (the W293 fix it was meant to make), but the hardcodedGOLDEN_DECODER_UTILfixture in this test wasn't updated to match the new output.Confirmed via diff the drift is whitespace-only — three blank lines lost trailing spaces, no bitwise/hex COMP-3 decoding logic changed at all:
(and two more identical blank-line cases)
This slipped through unnoticed because
full-suiteonly runs on PRs that get labeled, or on version-tag pushes — not on ordinary pushes tomain— so #939's merge never triggered it.Test plan
tests/tools_recorders/test_decoder_forge.py— now passestests/tools_recorders/full directory — 37 passedpython tests/tools/audit_check.py— cleanCo-Authored-By: Claude Sonnet 5 [email protected]