Skip to content

Tool: ir_join_diff.py -- blast radius of an engine change across every GalaxyIR join on the pinned corpora #3653

Closed

Description

@squid-protocol

Observation. For #3616 and #3617 I hand-wrote the same throwaway script twice. It loads galaxy_ir.py from origin/main next to the branch's copy, scans the 6 pinned corpora, and diffs every argument-free GalaxyIR join. That is how D022's blast radius was stated: dynamic_call_targets and navigation changed on CardDemo / zECS / zOE, nothing else. The modernization skill's consumer audit now asks for this diff on every engine-touching PR.

Ask. tests/tools/ir_join_diff.py --base origin/main [--corpus NAME ...]:

  • scan each pinned corpus once, with DBs cached per corpus commit;
  • load both readers (git show <base>:gitgalaxy/tools/cobol_to_cobol/galaxy_ir.py, imported as a separate module);
  • for every join both sides share, print rows removed / added per corpus with a few examples;
  • exit non-zero with --expect-none.

Then reference it from the skill's consumer-audit step 3 and from the mainframe-ground-truth skill.

Part of #3625.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions