Skip to content

evidence: CBSTM03A det batch port committed and recorded (Part of #5856) - #5943

Merged
squid-protocol merged 8 commits into
mainfrom
churn/5856-20261022T0029Z
Oct 22, 2026
Merged

squid-protocol merged 8 commits into
mainfrom
churn/5856-20261022T0029Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5856 (finishes slice 3: the evidence record).

Cross-repo

None. #5887 and #5891 are merged; nothing re-runs elsewhere.

What changed

  • tests/equivalence/carddemo-cbstm03a/port/: the det translator's output for CBSTM03A and CBSTM03B (service/*.java, from det_port.py run) plus a provenance.json (translator det). The cobolrt runtime is NOT copied in (876 KB, 36 files): it is laid from the checkout at proof time.
  • tests/tools/equivalence_java.py: det_runtime() lays P.runtime_files for a port whose Java names cobolrt and does not carry it (this was why evidence.py prove failed in #5856 slice 3: CBSTM03A equivalence case (batch subprograms, mvs step, tab-indented copybooks) #5891).
  • tests/tools/ports_compile_check.py: the same for the ports ratchet, which otherwise fails on any det port.
  • tests/tools/evidence.py: provenance written_by is det for a det port, not "person".
  • tests/equivalence/carddemo-cbstm03a/evidence.json: written by evidence.py prove carddemo-cbstm03a (git add -f; *.json is ignored).
  • tests/cobol_mainframe/test_evidence.py: MUTATION_PENDING gains carddemo-cbstm03a. DECISION FOR REVIEW: the list was empty and "only shrinks"; the record's mutation section needs a det_mutation.py L5 run plus owner-reviewed survivors, a separate item.
  • tests/cobol_mainframe/test_cbstm03a_case_5856.py: port shape and det_runtime cases.

Evidence (level, not a verdict)

det_port.py run carddemo-cbstm03a --faults none: PROVED, 477/477 translated (0 holes). evidence.py prove carddemo-cbstm03a: proven, unapproved; 1 scenario, STMTFILE 950, HTMLFILE 3200 records, coverage 23/25 paragraphs, 0/46 branches (no error paths). No fault runs, no mutation score yet. Oracle is GnuCOBOL plus our stub, not z/OS; relies on register A2.

Checklist

Checklist: done [c:0fb89649]
Checklist: partial [c:80274138] -- CBSTM03A has 0 holes and is proven; the issue's check is met, left for the owner to tick as the det/oracle halves landed in #5868/#5887/#5891

Class sweep

Class: a det-translated batch port with no committed port/, so evidence cannot record it.

Sibling Status
CBSTM03B (callee, same port tree) covered (its services are in this port)
carddemo-cbpaup0c (det batch, no port/) gap: same mechanism now works; needs its own port + prove (burned CardDemo)
other det batch cases without port/ gap, same
mutation section for det ports gap: MUTATION_PENDING

Gates

audit_check clear; pr_gates --fast 7/7; --ratchets 9/9 (ports fail fixed here); test_evidence.py 38 passed; new tests pass (plain pytest from /tmp). evidence status: proven. Other records are stale on harness/oracle/generator as before (scheduled job).

Lessons for agents

  • ports_compile_check.py (the ports ratchet) fails any committed det port that names cobolrt; the runtime is laid by equivalence_java.det_runtime.
  • evidence.json and the MUTATION_PENDING entry are both required for a new record, or test_evidence.py fails.

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

🤖 Generated with Claude Code

squid-protocol and others added 4 commits October 21, 2026 20:33
Commit the det port's services (CBSTM03A, CBSTM03B), with a det provenance file; the cobolrt runtime is laid from the
checkout at proof time (equivalence_java.det_runtime). evidence.py prove records a proven level.

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 22, 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 22, 2026 00:48
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 00:52
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5943 @ 47939bc: 1 failed check(s)

== ground-truth part 4/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39701871889/job/119574630049
repro: python -m pytest -q tests/cobol_mainframe/test_evidence_components.py::test_a_shared_cobol_java_change_stales_every_case_that_ships_the_runtime
failing tests: tests/cobol_mainframe/test_evidence_components.py::test_a_shared_cobol_java_change_stales_every_case_that_ships_the_runtime
errors:
fail-on-cache-miss: false
E AssertionError: assert ('carddemo-acctview' not in {'carddemo-cbstm03a', 'carddemo-intcalc', 'carddemo-readcard', 'carddemo-readcust', 'carddemo-readxref', 'cbsa-inqacc', ...} and 'carddemo-cbstm03a' not in {'carddemo-cbstm03a', 'ca
tests/cobol_mainframe/test_evidence_components.py:159: AssertionError
FAILED tests/cobol_mainframe/test_evidence_components.py::test_a_shared_cobol_java_change_stales_every_case_that_ships_the_runtime - AssertionError: assert ('carddemo-acctview' not in {'carddemo-cbstm03a', 'carddemo-intcalc', 'carddemo-read
##[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: 3c8f8a753b42644f6964117807dcbab02bb02e3961fa67c9fb981000d111edea
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 60797
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is fd3cf2a467f75bf2c3f303a4dd737c1ddd7b564aefe136a7426358514e9ef04c
Finalizing artifact upload
Artifact test-times-ground-truth-part-4 successfully finalized. Artifact ID 12393313423
Artifact test-times-ground-truth-part-4 has been successfully uploaded! Final size is 60797 bytes. Artifact ID is 12393313423
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39701871889/artifacts/12393313423
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/abb6e36a-031d-4af9-aa62-7990dcddb579' 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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 22, 2026
squid-protocol and others added 2 commits October 21, 2026 21:13
…ame the runtime (Part of #5856)

The committed CBSTM03A det port names cobolrt, so it ships the runtime and is correctly stale on a
Cobol.java change; the test's BATCH representative (the first batch target) now picks one that does not.

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). 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:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5943 @ b4cecba: 2 failed check(s)

== full-suite (failure) -- main
https://github.com/squid-protocol/gitgalaxy/actions/runs/39704727416/job/119586516445
repro: fails on main too: fix main (then merge origin/main here)
errors:
##[error]Process completed with exit code 1.
log tail:
Hosted Compute Agent
Version: 20261015.610
Commit: 267fdb4e8bbec4ab5ea31367f3a00d5c480c7656
Build Date: 2026-10-14T17:06:54Z
Worker ID: {83f953c0-77e9-48f3-8c13-1a895d99433e}
Region: eastus2
Cloud: Azure
##[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: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && test "$SKIP" = "true"; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
##[endgroup]
full-suite parts: failure (tested-tree skip: )
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39704727416/job/119583023095
repro: python -m pytest -q tests/tools/test_estate_evidence.py::test_every_committed_carddemo_record_has_a_mutation_section
failing tests: tests/tools/test_estate_evidence.py::test_every_committed_carddemo_record_has_a_mutation_section
errors:
fail-on-cache-miss: false
E AssertionError: carddemo-cbstm03a
tests/tools/test_estate_evidence.py:76: AssertionError
FAILED tests/tools/test_estate_evidence.py::test_every_committed_carddemo_record_has_a_mutation_section - AssertionError: carddemo-cbstm03a
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-3.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 191143
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 978c3f0d96a322ec33fb7c7dc6658281e6e3cc41852dea9ad9f3346bc4980398
Finalizing artifact upload
Artifact test-times-part-3 successfully finalized. Artifact ID 12394867020
Artifact test-times-part-3 has been successfully uploaded! Final size is 191143 bytes. Artifact ID is 12394867020
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39704727416/artifacts/12394867020
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/bea78125-662d-4f55-9596-c6eedd06ade2' 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 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 22, 2026
squid-protocol and others added 2 commits October 21, 2026 22:00
…vor review (Part of #5856)

det_mutation.py run measured 86/146 killed, 60 survivors, none yet reviewed; a ledger is committed only with
its reviewed survivors, so the record stays at mutation: null and is listed in a shrinking-only ratchet.

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (fe94fc6) 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 the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Oct 22, 2026
@squid-protocol squid-protocol added 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:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). 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 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 02:10
@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