Skip to content

Split the CICS file-control family out of the forge and the stub (Part of #5274) - #5448

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5274-20261018T0836Z
Oct 18, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5274-20261018T0836Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5274. Second family after containers (#5289): file control, first slice (forge + stub).

Class: behaviour-preserving verbatim split of a CICS command family out of the four hot files, registry/include staying in the host. Family = READ / READNEXT / READPREV / STARTBR / RESETBR / ENDBR / WRITE / REWRITE / DELETE / UNLOCK incl. RBA browse.

Member Status
Forge CicsTask Java (cics_task_filecontrol.py, FILECONTROL_JAVA) moved here
Stub ggcics.c READ / browse / DELETE / UNLOCK (ggcics_filecontrol.c) moved here (GGCWRIT / GGCREWR stay: they sit before uow_end)
Harness equivalence_cics.py file-verb translation remaining slice
Det det/cics.py file-control mixin remaining slice
Registrations (det_sweep_plan GENERATOR, evidence/trial HARNESS paths, test_evidence_components host/family pair) remaining slice

Evidence: CICS_TASK_JAVA byte-identical to origin/main; gcc -E -P ggcics.c byte-identical; det_port.py check 122/122 unchanged; pr_gates --fast 6/6, --ratchets 8/8, audit_check.py clear; 872 tests across the tree-wide guards, test_det_translate and test_cics_runtimes pass. No golden / evidence / ledger change.

Remaining slices (5-file limit), in order:

  1. tests/tools/equivalence_cics_filecontrol.py + equivalence_cics.py (+ evidence.py HARNESS/harness:cics, trial.py HARNESS_PATHS, test_evidence.py _TOOLS_WITHOUT_APPROVALS).
  2. det/cics_filecontrol.py + det/cics.py (FileControlCommands mixin; helper imports inside functions; leave command_key dispatch).
  3. Registrations for this slice: det_sweep_plan.GENERATOR += cics_task_filecontrol.py; add the file-control pair to test_evidence_components.py; cics-crucible.yml path filter (owner).

Cross-repo: none.

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

🤖 Generated with Claude Code

…t of #5274)

CicsTask's file-control Java (READ / READ UPDATE / GTEQ / GENERIC, WRITE, REWRITE,
DELETE, UNLOCK, the keyed and RBA browse) moves verbatim to cics_task_filecontrol.py
(FILECONTROL_JAVA, spliced where it sat); the stub's READ / browse / DELETE / UNLOCK
block moves to ggcics_filecontrol.c, included by ggcics.c. CICS_TASK_JAVA and
gcc -E -P ggcics.c are byte-identical to main.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 18, 2026 09:49
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 09:50
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5448 @ e62afee: 1 failed check(s)

== crucible (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39116829410/job/117644210231
repro: tests/tools/box/heavy-run.sh python -m pytest -q tests/cics_crucible && tests/tools/box/heavy-run.sh python tests/tools/cics_crucible.py --ci --out /tmp/gitgalaxy-scratch/ci-digest/cics
failing tests: tests/cics_crucible/test_file_fault_forms.py::test_both_runtimes_hold_a_planned_dupkey_back_instead_of_returning_it_early
errors:
fail-on-cache-miss: false
E AssertionError: assert ('dupkey_apply(c)' in '/\n * #3754: the stub CICS runtime of the equivalence harness. A translated program\n * (tests/tools/equivalence_cic...(!web_browse_on[kind]) { c->resp = INVREQ; c->resp2 = 4; return 0;
tests/cics_crucible/test_file_fault_forms.py:188: AssertionError
FAILED tests/cics_crucible/test_file_fault_forms.py::test_both_runtimes_hold_a_planned_dupkey_back_instead_of_returning_it_early - AssertionError: assert ('dupkey_apply(c)' in '/
\n * #3754: the stub CICS runtime of the equivalence harness.
##[error]Process completed with exit code 1.
log tail:
with:
name: cics-crucible-results
path: /home/runner/work/_temp/cics_crucible
if-no-files-found: ignore
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
PYTHONUTF8: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
MAVEN_ARGS: -ntp
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
No files were found with the provided path: /home/runner/work/_temp/cics_crucible. No artifacts will be uploaded.
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/6a5674ec-30ba-43f1-b72f-a3a5ac4388d0' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (fec2283) 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).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 10:14
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

squid-protocol added a commit that referenced this pull request Oct 21, 2026
…) (#5886)

26 of 30 sampled PR full sweeps came from the planner's catch-all
('X is not inside one existing case directory'). Now:
- det_mutation/ and det_mutation_survivors/ are no det input (no det
  proof tool reads them);
- det_sweep_baseline.json and infeasible_outcomes.json prove the cases
  whose entries changed between the merge base and HEAD (a changed
  family text: the cases citing it); any other change is still full;
- corpora.json proves the cases on corpora whose pin changed;
- a harness / oracle file proves the cases using its component, by the
  map the evidence records are fingerprinted with (evidence.COMPONENTS,
  #4731); <input>:core or a component every case uses stays full;
- cics_task_filecontrol.py joins GENERATOR (#5448 split it out of the
  transaction forge like cics_task_containers.py) with a test that
  every cics_task_* module the forge imports is listed.
The nightly full sweep stays the backstop.

Co-authored-by: Claude Opus 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