Skip to content

ground-truth: leave the translator out of the scan-cache key (Part of #5543) - #6494

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5543-20261024T0420Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5543-20261024T0420Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5543. Checklist: done [c:9e7607fe]

The Key the scans by engine state step hashed all of gitgalaxy/**, so every translator commit (214 of 383 gitgalaxy/ commits since 10-10 touch tools/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 is det/copy/*.cpy (core/copy_libraries.py STAND_IN_DIR). The key now excludes tools/cobol_to_java/*, det/*, det/cobolrt/** and the two controllers; det/copy stays hashed.

Workflow edit under the owner's standing grant (2026-10-24); no shepherd-*.yml touched.

Class / Sibling gaps

Class: files in the scan-cache key that a scan never reads. Handled: the cobol_to_java translator tree (minus det/copy) and the cobol_to_java / cobol_refractor controllers. Sibling gap: tools/cobol_to_cobol (only galaxy_ir and pli_mapping are imported by a scan) and tools/terabyte_log_scanning are 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 of galaxyscope is hashed, det/copy and non-Python engine data are hashed, fixed inputs remain, each exclusion matches tracked files. Plus the neighbouring workflow tests and pr_gates --fast (7/7).

Cross-repo: none. docs/ci.md is one sentence in the #5616 paragraph (overlaps #6155; merge main if it lands first).

🤖 Generated with Claude Code

…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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 24, 2026 16:26
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 16:30
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit ab8c62b into main Oct 24, 2026
55 checks passed
@squid-protocol
squid-protocol deleted the churn/5543-20261024T0420Z branch October 24, 2026 16:50
squid-shepherd Bot pushed a commit that referenced this pull request Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant