Repository navigation
Split the CICS named-counter family out of the forge's CicsTask (Part of #5274) - #7611
Conversation
… of #5274) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #7611 @ cc2a8fd: 2 failed check(s) == full-suite (failure) -- main == full-suite part 2/3 (failure) -- real |
|
No description provided. |
|
No description provided. |
|
PR #7611 @ 4aead00: 2 failed check(s) == det (failure) -- infra == shard 2/3 (cancelled) -- infra |
ported into cics_task_counters.py) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (4b62302) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #5274.
What
Moves the named-counter family (
withCounters, counter limits, GET / UPDATE / REWIND / DEFINE / QUERY / DELETE COUNTER and DCOUNTER,fullwordGet) out of the forge'sCICS_TASK_JAVAintogitgalaxy/tools/cobol_to_java/cics_task_counters.py(COUNTERS_JAVA, 363 lines). The forge splices it at the same place, as the other family modules are. The forge shrinks 3,617 -> 3,260 lines. A counter slice (X45 and its kin) no longer edits the forge.Registered where the sibling task families are:
det_sweep_plan.GENERATOR, the stale-after pairs intest_evidence_components.py, and a splice-position test intest_cics_family_split.py.Proof
Moved by script (lines 1451-1813 verbatim).
CICS_TASK_JAVAbefore vs after: byte-identical (358,465 chars). Control: splicing the same text at a different place gives a string that is NOT equal to the old one, so the check can fail. Local gates: the tree-wide guard tests (278 passed), the three touched test files (140 passed),audit_check.pyall clear,ruff format --checkon the 5 files.Not run locally:
pr_gates --ratchets, golden bless (no parsing change; generated Java is byte-identical), a crucible case run.Class / Sibling gaps
Class: command families still inside the forge's
CICS_TASK_JAVAtext (the hot-file split of the four CICS files, #5274). Members done: containers, file control, task control, web, TD queues, TS queues, time, conditions, faults, and now counters. The harness, det translator, C stub and test file are already split (#7436, #7439, #7441, #7443). Sibling gaps: the remaining forge families below (same mechanism, held back by the 5-file cap).Remaining slices
All in
cobol_to_java_transaction_forge.py, one module each, same recipe, then each registered indet_sweep_plan.py,test_evidence_components.py,test_cics_family_split.py:#4771 (register X47)span, ~300 lines) ->cics_task_storage.py.sendMap... span, ~540 lines) ->cics_task_terminal.py.docs/factory_bottlenecks.mdwhen the last slice lands.Lessons for agents
None.
🤖 Generated with Claude Code