Skip to content

det/CICS: a file name the region did not define answers FILENOTFOUND (Part of #7487) - #7960

Merged
squid-shepherd[bot] merged 7 commits into
mainfrom
churn/7487-20261106T2340Z
Nov 7, 2026
Merged

squid-shepherd[bot] merged 7 commits into
mainfrom
churn/7487-20261106T2340Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Part of #7487

What

fileKey folded every ZC.+FILE name onto one template store, so ZECS003 under ZC02 with only ZC01FILE installed read ZC01's records. The COBOL stub answers DSIDERR (RESP 12 / RESP2 1) from files.cfg. CicsTask now takes the region's resolved file names (withRegionFiles); fileFault and the generated store() answer 12/1 for a name outside the set. With no set stated, behaviour is unchanged. The harness passes the same names it writes to files.cfg.

Reproduction

New scenario transid-zc02 on zecs-zecs003. Before the fix it showed "3/3 events equal" but file records differed (ZC01FILE 0/3, ZC01KEY 0/2) and the java-facade leg differed. After the fix det_port.py run zecs-zecs003 is PROVED, 3/3 on both legs.

READ responses in the event comparison

recorded_file_events (tests/tools/equivalence_cics_filecontrol.py) drops COBOL READ events when the port records no READ event. The port records none for GTEQ/GENERIC READ, so a READ-response divergence shows only in file-record diffs. Not fixed here (needs translator events, a harness compare and a re-prove of every port using those READs). Sibling gap below.

Evidence

  • det_port.py check: 244 of 270 ports CHANGED, all from the CicsTask.java (+18) and *Service.java (+2) text. I re-proved a sample, all PROVED: zecs-ecs001/000/001/002/nc/plt, zecs-zecs003, carddemo-acctupdate, carddemo-userupd, cbsa-updcust, cbsa-delacc, mortgage-mlist, cruc-hc-file-read-set, cruc-hc-file-unlock. The rest is left to the scheduled evidence job; test_evidence only warns on stale records.
  • audit_check.py: all clear. Time ratchet: PASS. New tests plus test_template_file_lineage_4771 and test_zecs_template_cases_5089: 28 passed.
  • pr_gates --fast: 9/9 pass. Fixed after the first gate run: the FAULT_JAVA_METHODS pin in test_cics_family_split.py (two new members), the generated cobolrt_api.json manifest, and the zecs-zecs003 det ledger entry (re-proved: 27 scenarios, 21/21 paragraphs, 30/30 branches).
  • Departure from plan: the 4771 pin test is untouched (regex shape kept, bounded by region membership).

Sibling gaps

  • Port records no READ event for GTEQ/GENERIC READ (hides READ responses; affects ZECS003, genapp-lgicvs01).
  • Two instances of one template installed in one region still share one store (register X22; repository is per entity).

Remaining slices

  • Docstring note in det/cics_filecontrol.py file_key_method: the mapping is only asked of defined names, and two instances of one template in one region still share a store (register X22). Dropped here to keep this PR at 5 hand-written files; no behaviour depends on it.
  • READ events for GTEQ/GENERIC READ and per-instance stores (see Sibling gaps).

Cross-repo

None.

Lessons for agents

  • recorded_file_events hides READ responses when the port records no READ event: a READ divergence shows only in file-record diffs ("N/N events equal" can hide it).
  • A CicsTask or store() text change moves nearly every CICS port in det_port.py check (244/270); budget a sampled re-prove.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits November 6, 2026 19:00
… not the template store (Part of #7487)

fileKey folded every ZC.+FILE name onto one template store, so ZECS003 under
ZC02 with only ZC01FILE installed reached ZC01's records where the COBOL stub
answers DSIDERR (12/1) from files.cfg. CicsTask now takes the region's resolved
file names (withRegionFiles) and fileFault / the generated store() answer 12/1
for a name outside it. No stated set leaves behaviour unchanged. The harness
passes the same resolved names it writes to files.cfg. New scenario
transid-zc02 on zecs-zecs003 reproduced the divergence first.

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 Nov 7, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 7, 2026 00:03
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 7, 2026 00:04
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 7, 2026 00:10
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

PR #7960 @ 905d317: 1 failed check(s)

== detmut (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42315896409/job/128228275099
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
##[error]Process completed with exit code 1.
log tail:
zecs: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora/zecs @ 6d6bcbbc89c9
dsf: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora/dsf @ faade4961e31
dbb-mortgage-application: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora/dbb-mortgage-application @ ce2c1be58eb0
cics-async-api-credit-card-application-example: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora/cics-async-api-credit-card-application-example @ c32c52fcfd8d
cics-crucible: /home/runner/work/gitgalaxy/gitgalaxy/cics-crucible @ v0.12.0
##[group]Run cd gitgalaxy
cd gitgalaxy
git fetch --quiet origin main
PYTHONPATH="$PWD" python tests/tools/det_mutation.py stale-check --vs origin/main
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
PYTHONUTF8: 1
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
##[endgroup]
det mutation: zecs-zecs003: stale (case, survivors): python tests/tools/det_mutation.py refresh zecs-zecs003 --work DIR (a det port that moved needs run), then commit tests/equivalence/det_mutation/zecs-zecs003.json
det mutation: 1 stale ledger(s)
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/bc8132b4-4b08-4c99-91ae-5454330c801e' 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-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 7, 2026
…est and the zecs-zecs003 det ledger (Part of #7487)

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 Nov 7, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 7, 2026 00:15
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 7, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 7, 2026 00:22
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

PR #7960 @ 56c88be: 1 failed check(s)

== detmut (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42316887395/job/128231664165
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
##[error]Process completed with exit code 1.
log tail:
zecs: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora/zecs @ 6d6bcbbc89c9
dsf: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora/dsf @ faade4961e31
dbb-mortgage-application: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora/dbb-mortgage-application @ ce2c1be58eb0
cics-async-api-credit-card-application-example: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora/cics-async-api-credit-card-application-example @ c32c52fcfd8d
cics-crucible: /home/runner/work/gitgalaxy/gitgalaxy/cics-crucible @ v0.12.0
##[group]Run cd gitgalaxy
cd gitgalaxy
git fetch --quiet origin main
PYTHONPATH="$PWD" python tests/tools/det_mutation.py stale-check --vs origin/main
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
PYTHONUTF8: 1
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
##[endgroup]
det mutation: zecs-zecs003: stale (case, survivors): python tests/tools/det_mutation.py refresh zecs-zecs003 --work DIR (a det port that moved needs run), then commit tests/equivalence/det_mutation/zecs-zecs003.json
det mutation: 1 stale ledger(s)
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/14bb2449-e460-43d2-a50c-7df78aadb55c' 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-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 7, 2026
squid-protocol and others added 3 commits November 6, 2026 19:32
…enario and the region-file guard (Part of #7487)

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

# Conflicts:
#	docs/language_status/cobolrt_api.json
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 7, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (d4f5f23) 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 November 7, 2026 01:32
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 7, 2026
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 7, 2026
@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 7, 2026 01:38
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 7, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 7, 2026 01:38
…g note moves to Remaining slices (Part of #7487)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 7, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (6788cb9) 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 November 7, 2026 01:45
auto-merge was automatically disabled November 7, 2026 01:45

Pull request was converted to draft

@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Nov 7, 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 Nov 7, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

2 similar comments
@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

squid-shepherd Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 7, 2026 01:46
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 7, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 7, 2026 01:48
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 7, 2026
@squid-shepherd
squid-shepherd Bot merged commit b64f42b into main Nov 7, 2026
118 of 155 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7487-20261106T2340Z branch November 7, 2026 02:48
squid-shepherd Bot pushed a commit that referenced this pull request Nov 7, 2026
squid-shepherd Bot pushed a commit that referenced this pull request Nov 14, 2026
…, two new survivors stated unreachable (Part of #8420) (#8472)

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Nov 14, 2026
The two carddemo-sort det_mutation records take main's side: #8420's
commit on main restated them after the store() guard (#7960), with the
survivor verdicts the refresh's own re-run lacked.

Co-Authored-By: Claude Fable 5.2 <[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