Skip to content

equivalence: carddemo-menu-generated and carddemo-adminmenu-generated -- RECEIVE MAP typed from BMS (Part of #4506) - #5833

Merged
squid-protocol merged 2 commits into
mainfrom
churn/4506-20261021T0659Z
Oct 21, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/4506-20261021T0659Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4506.

Checklist: partial [c:a0dccb01] -- left: carddemo signon, billpay, report, cardupdate, cotrtupc, cotrtlic (+ cotrtlic-generated), cardlist, userlist, tranlist, tranadd, acctupdate (burned CardDemo only; CBSA, GenApp and mortgage-mlist already use @bms; zECS has no receive case)

What

Two new -generated cases, the same shape as #5816 / #5825 (port_from the hand-written case, so the same port is proven on inputs it was not written against):

  • carddemo-menu-generated (COMEN01C): COMEN01's one unprotected field, OPTION (NUM, 2 bytes), over options 1-12. 0, blank and 13+ index past the table (register X8), so they stay in carddemo-menu's bounds_refused scenarios. Proven on 33 scenarios, 7/7 paragraphs, 26/33 branches.
  • carddemo-adminmenu-generated (COADM01C): pure @bms (empty 0.3, bad 0: a NUM field cannot be keyed with letters, Siblings of #5082: BMS field conversion not modelled (NUM default, SEND MAP JUSTIFY, PICIN/PICOUT, OCCURS) #5116). Proven on 55 scenarios, 8/8 paragraphs, 20/26 branches.
  • Each hand-written scenario left carries a why (fault runs, COMMAREA shapes a generated one never has, non-digit option bytes).
  • Test: test_the_generated_menu_cases_type_their_option_from_the_bms_source (the menus have no file to draw from, so it can't reuse the dataset-based test).
  • Regenerated: det_sweep_coverage/<case>.json x2, det_sweep_durations.json.

Class: a hand-written RECEIVE MAP input on a burned-estate screen case. No engine change, no golden bless.

Gates

pr_gates --fast 7/7 pass; the tree-wide guards plus the BMS and bounds tests: 249 passed; equivalence.py run and proof_sweep.py --aggregate on both cases: proven, as expected. Not run: pr_gates --ratchets, test_evidence.py (no port or hand-written case input changed).

Cross-repo

None.

🤖 Generated with Claude Code

… -- RECEIVE MAP typed from BMS (Part of #4506)

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 21, 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 21, 2026 07:09
@squid-protocol
squid-protocol enabled auto-merge (squash) October 21, 2026 07:09
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5833 @ a82adf3: 2 failed check(s)

== ground-truth (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39560004643/job/119091630367
repro: python tests/tools/pr_gates.py --ratchets --only-ratchets ground-truth (when a ground-truth part failed too, run that part's repro)
errors:
##[error]Process completed with exit code 1.
log tail:
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261018.339.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261018.339/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261018.339
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: ground-truth
##[group]Run echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
# #5164: ... or when the plan found no ground-truth input in the PR (mode none). An empty mode is not none.
ok() { test "$1" = "success" || { test "$1" = "skipped" && { test "$SKIP" = "true" || test "$MODE" = "none"; }; }; }
# #5543: ... or when the layout needs no warm job (a cache hit on the scans, or the busy layout): the parts then warm for themselves
{ ok "$WARM" || { test "$WARM" = "skipped" && test "$PLANNED_WARM" = "false"; }; } && ok "$PARTS"
shell: /usr/bin/bash -e {0}
env:
WARM: skipped
PARTS: failure
SKIP:
MODE: full
PLANNED_WARM: false
LAYOUT: calm
##[endgroup]
ground-truth warm: skipped, parts: failure (tested-tree skip: , plan mode: full, layout: calm, warm planned: false)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== ground-truth part 4/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39560004643/job/119089025742
repro: python -m pytest -q tests/cobol_mainframe/test_det_sweep_fast.py::test_the_cli_reads_the_diff_and_falls_back_to_full
failing tests: tests/cobol_mainframe/test_det_sweep_fast.py::test_the_cli_reads_the_diff_and_falls_back_to_full
errors:
fail-on-cache-miss: false
E AssertionError: assert ['carddemo-me...nu-generated'] == ['carddemo-menu']
tests/cobol_mainframe/test_det_sweep_fast.py:262: AssertionError
FAILED tests/cobol_mainframe/test_det_sweep_fast.py::test_the_cli_reads_the_diff_and_falls_back_to_full - AssertionError: assert ['carddemo-me...nu-generated'] == ['carddemo-menu']
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: a43e50b70e6a3818eb333f0c63b637e7a80abbf68f5622c5dc39b7de3ea4cbbb
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
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-ground-truth-part-4.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 59210
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 2932e17223ed27836578afff34429bb11cfbdf02b6332e602ff95c0329407151
Finalizing artifact upload
Artifact test-times-ground-truth-part-4 successfully finalized. Artifact ID 12326909233
Artifact test-times-ground-truth-part-4 has been successfully uploaded! Final size is 59210 bytes. Artifact ID is 12326909233
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39560004643/artifacts/12326909233
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/db7468a4-a20e-4616-9dbd-f942867358ce' 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 21, 2026
…mo-menu-generated (Part of #4506)

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 21, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 21, 2026 07:26
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 2354908 into main Oct 21, 2026
35 checks passed
@squid-protocol
squid-protocol deleted the churn/4506-20261021T0659Z branch October 21, 2026 07:40
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