Skip to content

equivalence: unfaulted XCTL sites in useradd, userdel, tranview, signon (Part of #6166) - #6402

Merged
squid-protocol merged 4 commits into
mainfrom
churn/6166-20261024T0607Z
Oct 24, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/6166-20261024T0607Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #6166 (Siblings of #4049). Next unchecked box: unfaulted XCTL sites in the other burned CardDemo cases.

What

Five new PGMIDERR RESP2 3 scenarios (no RESP on the XCTL, so CICS abends the task), each proven COBOL vs Java facade:

  • carddemo-useradd / carddemo-userdel / carddemo-tranview: no-commarea-xctl-fails (EIBCALEN 0 hops to COSGN00C through RETURN-TO-PREV-SCREEN; only PF3/PF5 hops were faulted before).
  • carddemo-signon: admin-xctl-fails (COADM01C) and user-xctl-fails (COMEN01C); the older scenarios answered NOTAUTH only.
  • test_carddemo_failed_xctl_5401.py: SIBLINGS stated-scenario test, and the corpus XCTL-site count test now covers useradd (1), userdel (1), tranview (1), signon (2).

No engine, port or oracle change; no proof loosened.

Class / Sibling gaps

Class: an XCTL site in a burned CardDemo CICS case with no scenario where that XCTL fails, or reached only by some paths. Members: every XCTL in a burned case. Covered here: the sites above. Already handled before: userlist (3 sites), cardlist (3), tranlist (2), tranadd, userupd, billpay, report, cardview, acctview, acctupdate, cardupdate, adminmenu, menu, per the existing test. Sibling gaps: (a) per-path faults for sites with several reaching paths (userdel/tranview PF3 vs PF5 vs no-commarea vs a blank target; the sites-count test only requires one faulted scenario per site count); needs COUSR03C / COTRN01C. (b) NOTAUTH (RESP2 101) scenarios exist in billpay, adminmenu, signon, userdel, tranadd and userlist; useradd, tranview, userupd, cardview, report, tranlist, cardlist, menu have none (grep of case.json; verify per site before adding). (c) Det-mutation survivors on these four cases (signon 78 survivors, tranview 63, useradd 52, userdel 62) are not triaged here.

Evidence

  • equivalence.py run carddemo-{useradd,userdel,tranview,signon} --record: all proven; coverage useradd 25 scenarios 9/9 paragraphs 20/21 branches, userdel 32 scenarios 11/11 31/32, tranview 25 scenarios 9/9 23/24, signon 22 scenarios 6/6 17/17. Records unapproved.
  • Det-mutation ledgers re-run (det_mutation.py run; refresh alone left them stale on the port).
  • pr_gates --fast 7/7 pass; --ratchets 9/9 pass; test_evidence.py and the tree-wide guards pass.
  • Not run: the full suite (CI's job), golden (no engine change).

Fix round (Opus rescue)

  • CI det was red with "sweep: 8 unexpected". All 8 cases were proven. The new scenarios moved the scenario counts (signon 20 to 22, tranview 24 to 25, useradd 24 to 25, userdel 31 to 32), but nobody had re-recorded tests/equivalence/det_sweep_coverage/. Paragraph and branch coverage did not move.
  • Merged origin/main (no rebase). Re-ran proof_sweep.py --det-only --skip-db2 locally for the 8 cases: 8/8 proven, the same numbers as CI. Then ran det_coverage_ledger.py update, and check gives "as expected".
  • Gates after the merge: pr_gates --fast 7/7, --ratchets 9/9 (det-mutation included), and det_mutation.py check ok.

Checklist: done [c:17201df7]
Checklist: partial [c:2e323ba5] -- not worked here: the two COUSR00C returns-after-XCTL harness gaps
Checklist: partial [c:da7b5789] -- not worked here: the 27 carddemo-userlist det-mutation survivors still need verdicts

Lessons for agents

  • det_mutation.py refresh CASE after a case change rewrites the ledger but leaves it stale on the port when main's det port has drifted; only run (~25 min per case, run via bg-job.sh) clears the ratchet.
  • A PR that adds scenarios to an equivalence case moves its det-sweep coverage ledger (scenario count). Re-run proof_sweep.py --det-only --cases ... and det_coverage_ledger.py update in the same PR, or CI det fails with "N unexpected".

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 24, 2026 02:14
…e new failed-XCTL scenarios (Part of #6166)

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 24, 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 24, 2026 07:33
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 07:34
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6402 @ c573347: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40074638249/job/120816840469
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
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
##[endgroup]
With the provided path, there will be 176 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 146497
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 62ca448a9af5ed5b2f6312445073cc525542d5608a48dc05af49d712b1a35fc1
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12552589242
Artifact det-sweep-ledger has been successfully uploaded! Final size is 146497 bytes. Artifact ID is 12552589242
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40074638249/artifacts/12552589242
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/d4363f4d-a299-4a9f-8488-0f0caee785a6' 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
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 24, 2026
squid-protocol and others added 2 commits October 24, 2026 04:01
…d, userdel after the failed-XCTL scenarios (Part of #6166)

The new scenarios moved each case's scenario count (signon 20->22, tranview 24->25,
useradd 24->25, userdel 31->32); paragraph and branch coverage are unchanged. The
-generated entries were stale on the harness/oracle fingerprints and are refreshed too.

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (00a5aad) 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 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 08:17
@squid-protocol
squid-protocol merged commit c545082 into main Oct 24, 2026
35 checks passed
@squid-protocol
squid-protocol deleted the churn/6166-20261024T0607Z branch October 24, 2026 08:59
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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