Skip to content

equivalence: model ports abend on a failed XCTL (userdel, billpay, adminmenu, tranadd) (Part of #4648) - #5293

Merged
squid-protocol merged 2 commits into
mainfrom
churn/4648-20261016T2232Z
Oct 16, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/4648-20261016T2232Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4648 (the det-runtime half merged in #4985). Part of #4270.

A failed XCTL with no RESP and no HANDLE CONDITION for it abends the task in COBOL, on both GnuCOBOL and the det port. Three committed model ports RETURNed instead, and COADM01C treated every non-success answer as PGMIDERR.

Class table

member defect status
COUSR03C (userdel) returnToPrevScreen dropped the XCTL answer, RETURNed fixed
COBIL00C (billpay) returnToPrevScreen "NORMAL".equals(r) then went on to RETURN fixed
COTRN02C (tranadd) returnToPrevScreen "on PGMIDERR the program goes on (RESP not tested)" fixed
COADM01C (adminmenu), XCTL at lines 145 and 168 only PGMIDERR handled; NOTAUTH fell through to the menu fixed (any other non-NORMAL abends; NOTAUTH is AEY7)
COSGN00C, COUSR01C, COUSR02C, COTRN01C, COMEN01C already abend (abendOnCondition) no change

Evidence

  • 10 new scenarios (PF3 pf3-xctl-fails PGMIDERR RESP2 3 and pf3-xctl-not-authorised NOTAUTH RESP2 101 in userdel, billpay, tranadd; adminmenu: option-1- and pf3- pairs). COBOL, det-style events and the model port agree on every one (userdel 20 scenarios, billpay 28, adminmenu 19, tranadd 49: all proven).
  • Each new scenario fails against origin/main's port (checked with --port; e.g. 2/3 events equal), except adminmenu's two PGMIDERR scenarios, which already passed and now pin the handled path.
  • Port provenance: an edited entry each. Evidence records re-recorded (equivalence.py run --record): proven, unapproved.
  • Gates: pr_gates --fast 6/6, --ratchets 8/8. No engine/det/golden change.

Cross-repo

None. Overlap: PR #5146 also touches these four case.json / evidence.json files; if it merges first, merge main and re-record evidence.

Lessons for agents

  • abendOnCondition ends the task, so a port's existing task.ended() checks after the dispatch do the early return; no extra flag is needed.
  • equivalence.py run CASE --port <dir> on git archive origin/main output proves a new scenario fails on the old port.

🤖 Generated with Claude Code

… scenarios join the cases (Part of #4648)

COUSR03C, COBIL00C and COTRN02C dropped the XCTL answer and RETURNed; COADM01C treated every
non-success answer as PGMIDERR. COBOL (no RESP, only PGMIDERR handled) abends. Ports now call
task.abendOnCondition; 10 new scenarios, each fails on the old ports.

Co-Authored-By: Claude Opus 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 16, 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 16, 2026 22:45
@squid-protocol
squid-protocol enabled auto-merge (squash) October 16, 2026 22:45
@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 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5293 @ 0b73a72: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38977628977/job/117231881347
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 109 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 85875
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is fb1001768b64a2c29c0940198dfa00140b2a35206fb933c5cfb49af3175d4f84
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12079004485
Artifact det-sweep-ledger has been successfully uploaded! Final size is 85875 bytes. Artifact ID is 12079004485
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/38977628977/artifacts/12079004485
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/e17b5660-9f6c-473b-abb1-9689a3cad17a' 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 16, 2026
… scenarios moved (Part of #4648)

Co-Authored-By: Claude Sonnet 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 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (44407c8) 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 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 16, 2026 22:59
@squid-protocol
squid-protocol merged commit b2fb085 into main Oct 16, 2026
33 checks passed
@squid-protocol
squid-protocol deleted the churn/4648-20261016T2232Z branch October 16, 2026 23:18
squid-protocol added a commit that referenced this pull request Oct 17, 2026
…d with this branch's; evidence re-proven, det coverage re-recorded for the 4 cases (#4628)

case.json: union of both sides' scenarios. adminmenu's pf3-xctl-fails was added on both sides with an identical body;
this branch's copy is kept. evidence.json for adminmenu, billpay, tranadd and userdel was regenerated with
`evidence.py prove` (all proven), and det_sweep_coverage with `proof_sweep --det-only` (4/4 proven) followed by
`det_coverage_ledger.py update`.

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