Skip to content

det: Untranslatable in the leaf cics_common; dli.py cycle-free (Part of #7153) - #7257

Merged
squid-shepherd[bot] merged 6 commits into
mainfrom
churn/7153-20261031T0529Z
Oct 31, 2026
Merged

squid-shepherd[bot] merged 6 commits into
mainfrom
churn/7153-20261031T0529Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7153 (slice 3 of 4). Stacked on #7253 (its head is merged in); retarget/merge after it.

Untranslatable moves from det/gen.py to the leaf det/cics_common.py (gen re-exports it, so gen.Untranslatable is the same class and mq.py, cics.py and the tests are unchanged). dli.py now takes Untranslatable, jstr and CicsError from the leaf, so it imports nothing from det.cics or det.gen; dyncall.py takes Untranslatable from the leaf. Behaviour is unchanged: no det output or golden moves expected.

Class / Sibling gaps

Class: det translator modules that import Untranslatable/jstr/CicsError back from det.gen or det.cics while gen.py/cics.py import them (CodeQL py/cyclic-import counts function-local imports). In this PR: dli.py (now a full leaf, pinned by the AST leaf test in test_cics_spec.py) and the Untranslatable import in dyncall.py. Test: gen.Untranslatable is cics_common.Untranslatable.

Remaining slices:

  • Move LIBRARY*, _extents, _occurs_chain out of gen.py into a leaf so dyncall.py is cycle-free (it still imports them from gen).
  • Switch the cics.py lazy gen imports (4 sites) and mq.py:22 to cics_common.

Sibling gaps:

File-cap exception: this branch carries #7253's four mixin files (cics_conditions, cics_containers, cics_faults, cics_filecontrol) via the merge of its head; this slice's own hand-written files are 5 (cics_common, gen, dli, dyncall, test_cics_spec). They drop out of the diff when #7253 merges.

Cross-repo: none.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 31, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 31, 2026 05:41
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 05:44
from gitgalaxy.standards.mq import CALLS as MQ_CALLS
from gitgalaxy.tools.cobol_to_java.det.gen import LIBRARY, Untranslatable
from gitgalaxy.tools.cobol_to_java.det.cics_common import Untranslatable
from gitgalaxy.tools.cobol_to_java.det.gen import LIBRARY
@squid-shepherd
squid-shepherd Bot merged commit 3eed78f into main Oct 31, 2026
92 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7153-20261031T0529Z branch October 31, 2026 06:23
squid-protocol added a commit that referenced this pull request Oct 31, 2026
…m the leaf cics_common (leaf-import test red after #7260 met #7257) (Part of #5005)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 31, 2026
…, not det.gen/det.cics (cycle-free guard from #7257; Part of #5154)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 31, 2026
…l; spec pin (Part of #5005) (#7266)

* X17: RETURN CHANNEL census (0 burned users) closes the settled refusal; spec pin (Part of #5005)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* det: cics_filecontrol set_target takes CicsError / Untranslatable from the leaf cics_common (leaf-import test red after #7260 met #7257) (Part of #5005)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 31, 2026
… of #5154) (#7268)

* CICS macro tables: DFHTCT shapes IBM leaves open (TRMIDNT forms, repeats, REGION scope, ACCMETH) pinned ASSUMED (Part of #5154)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* det cics_filecontrol: import Untranslatable from the leaf cics_common, not det.gen/det.cics (cycle-free guard from #7257; Part of #5154)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* test_suite_select_plan: case.json selection bound allows the tree guards, as the sibling assertion does

Main selects 121 tests for asynccc-crdtchk/zecs-zecs001 case.json (120 helpers + guards); the bound ignored TREE_GUARDS.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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.

2 participants