Repository navigation
ground-truth: leave the translator out of the scan-cache key (Part of #5543) - #6494
Merged
Merged
Conversation
…e key (Part of #5543) A scan never imports tools/cobol_to_java (only det/copy is read), yet any translator commit changed the hashFiles key and forced the warm job. Exclude it; a tripwire test fails if an imported or read file drops out. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 16:26
Contributor
squid-protocol
enabled auto-merge (squash)
October 24, 2026 16:30
Owner
Author
|
No description provided. |
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.
Part of #5543. Checklist: done [c:9e7607fe]
The
Key the scans by engine statestep hashed all ofgitgalaxy/**, so every translator commit (214 of 383gitgalaxy/commits since 10-10 touchtools/cobol_to_java) changed the key, missed the saved scans and forced the warm job. A scan (python -m gitgalaxy.galaxyscope) never imports the translator; its only read there isdet/copy/*.cpy(core/copy_libraries.pySTAND_IN_DIR). The key now excludestools/cobol_to_java/*,det/*,det/cobolrt/**and the two controllers;det/copystays hashed.Workflow edit under the owner's standing grant (2026-10-24); no
shepherd-*.ymltouched.Class / Sibling gaps
Class: files in the scan-cache key that a scan never reads. Handled: the
cobol_to_javatranslator tree (minusdet/copy) and the cobol_to_java / cobol_refractor controllers. Sibling gap:tools/cobol_to_cobol(onlygalaxy_irandpli_mappingare imported by a scan) andtools/terabyte_log_scanningare still hashed; narrowing them is a separate, smaller win and needs its own tripwire cases.Tests
tests/core_engine/test_ground_truth_scan_key_workflow.py: every file in the AST import closure ofgalaxyscopeis hashed,det/copyand non-Python engine data are hashed, fixed inputs remain, each exclusion matches tracked files. Plus the neighbouring workflow tests andpr_gates --fast(7/7).Cross-repo: none.
docs/ci.mdis one sentence in the #5616 paragraph (overlaps #6155; merge main if it lands first).🤖 Generated with Claude Code