Skip to content

det: LIBRARY*, _extents, _occurs_chain in the leaf cics_common; dyncall.py, mq.py cycle-free (Part of #7153) - #7264

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

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/7153-20261031T0636Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Part of #7153 (slice 4).

File-cap exception: an atomic move (the names leave gen.py and every importer switches in the same change, or a cycle or broken import remains); 5 source files plus 1 test, and 1 more test (test_evidence_components.py) whose staleness expectation follows the import graph.

What

  • LIBRARY, LIBRARY_RC/CLOCK/FLOATS/CHARSET, _extents, _occurs_chain move from det/gen.py to the leaf det/cics_common.py; gen.py re-imports them, so gen.LIBRARY, G._extents (program.py, det_port.py, tests) are unchanged.
  • dyncall.py: three lazy gen imports and the _extents wrapper replaced by one top-level leaf import.
  • cics.py: four lazy Untranslatable imports -> the existing cics_common import. mq.py:22 likewise.
  • Tests (tests/core_engine/test_cics_spec.py): the leaf-imports test now covers dyncall and mq; a new test pins that gen re-exports the same objects.

Class

Det modules importing det.gen back for a gen-independent constant or helper (CodeQL py/cyclic-import). Siblings fixed here: cics.py, mq.py, dyncall.py.

Gates

audit_check (ruff, mypy, dead-key, ast-accuracy) clean; det_port.py check: 183/183 ports unchanged; cics_spec, dsntiac, le_time, det_translate tests pass (790). No golden change (no parsing code touched).

Cross-repo

None. Overlaps open PR #7255 on cics.py and gen.py (small edits); whichever merges second rebases.

🤖 Generated with Claude Code

Also: tests/cobol_mainframe/test_evidence_components.py -- gen.py is no longer imported by det.cics, so a gen.py change stales the same cases as program.py (programs / crucible), not every cics/call/db2 case; this is the intended narrowing.

…ll.py, mq.py cycle-free (Part of #7153)

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 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 06:52
…does not import it (Part of #7153)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 06:55
@squid-shepherd squid-shepherd Bot removed 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

CI shepherd: the head of this PR (43d00ed) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft October 31, 2026 07:00
auto-merge was automatically disabled October 31, 2026 07:00

Pull request was converted to draft

@squid-shepherd squid-shepherd Bot added the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Oct 31, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels 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 07:02
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 31, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 31, 2026 07:04
@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

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 31, 2026
@squid-shepherd
squid-shepherd Bot merged commit 36be0c6 into main Oct 31, 2026
77 of 94 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7153-20261031T0636Z branch October 31, 2026 07:51
squid-shepherd Bot pushed a commit that referenced this pull request Oct 31, 2026
…t of #7274) (#7275)

The red run was a merge race (#7264 + #7255): cics_filecontrol.py's lazy
import of det.gen pulled the driver into every case's fingerprint. #7266
fixed it; this names the importer if it recurs.

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.

1 participant