Repository navigation
det CICS: filecontrol/conditions/containers/faults mixins take cics_common (Part of #7153) - #7253
squid-protocol wants to merge 6 commits into
Conversation
…o longer imports cics/gen (Part of #7153) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…churn/7153-20261031T0433Z
…ommon (Part of #7153) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
| from gitgalaxy.tools.cobol_to_java.det.cics_common import ( # noqa: F401 -- re-exported for the mixins' old importers | ||
| _SEND_CONTROL, | ||
| REGION_PAGE, | ||
| CicsError, | ||
| KeylengthInvreq, | ||
| _arg, | ||
| _msg, | ||
| _one_of, | ||
| _option, | ||
| _requires, | ||
| jstr, | ||
| region_page, | ||
| ) |
| from gitgalaxy.standards.cics.commands.terminal import SEND_CONTROL_OPTIONS | ||
| from gitgalaxy.standards.cics.model import GroupKind | ||
|
|
||
| _SEND_CONTROL = frozenset(SEND_CONTROL_OPTIONS) # #4413: its device controls |
| try: | ||
| if " ".encode(declared) == b"\x40": | ||
| page = declared | ||
| except (LookupError, UnicodeError): |
# Conflicts: # tests/core_engine/test_cics_spec.py
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
|
CI shepherd: the head of this PR (fdacba4) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #7253 @ fdacba4: 6 failed check(s) == crucible (failure) -- real == db2 (cancelled) -- infra == equivalence-e2e (failure) -- infra == measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == shard 1/2 (cancelled) -- infra == shard 2/2 (cancelled) -- infra |
|
No description provided. |
|
No description provided. |
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
# Conflicts: # tests/core_engine/test_cics_spec.py
|
CI shepherd: the head of this PR (1dfd774) is not the one a maintainer labelled |
Part of #7153. Slice 2 of 4, the same fix as #7249 for the remaining det CICS mixins.
Cross-repo / stacking: this branch has #7249's branch merged in (
cics_common.pyis not on main yet). Merge #7249 first; this PR then reduces to the 5 files below. Nothing re-runs elsewhere.File-cap exception: stacked on #7249, whose 4 files (cics.py, cics_common.py, cics_taskcontrol.py, gen.py) show in the diff against main until it merges; this PR's own diff is 5 hand-written files.
Class / Sibling gaps
Class:
py/cyclic-import. A det CICS mixin imports shared helpers (CicsError,_arg,_msg,G_jstr, ...) back fromdet/cics.pyinside its methods; CodeQL counts function-level imports, andG_jstrreachesdet/gen.py, which importscics.py.cics_filecontrol.py(13 method imports)cics_containers.py(4 method + 2 function imports)cics_conditions.py(3 imports;TERMINAL_OPTIONS,AID_KEYS,DFHRESPnow straight fromgitgalaxy.standards)cics_faults.py(3 imports)cics_taskcontrol.py,cics_common.pySibling gaps (different mechanism, not here):
dli.py,dyncall.py,gen.py<->cics.pycycles (needUntranslatablein a leaf);tests/tools/equivalence*anddoom_speedruncycles.Remaining slices
Untranslatableleaf for dli/dyncall/gen. 3. tests/tools cycles.Change
det/cics_common.py(G_jstrisjstr);cics.pyis untouched and still re-exports them.test_cics_spec.py: the no-back-import AST test now covers all four mixins;cics_conditionsis listed as a spec importer.Facts checked:
test_cics_spec,test_det_translate,test_cics_family_split,tests/cics_crucible(-k det/cics) pass. CodeQL itself not run locally.🤖 Generated with Claude Code