Skip to content

Spring harness compares each created generation with the chain's (Part of #8886) - #9249

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/8886-20261124T2143Z
Nov 25, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/8886-20261124T2143Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #8886 (epic #8878 / #4891, after #8885).

What changed

The forged-Spring harness compared only return codes per step. It now also compares the data each step catalogued.

  • equivalence_job.py: the chain report records, per step, each GDG generation created (gdg_created: size + SHA-256), for program steps and the IDCAMS model.
  • equivalence_forged_spring.py: compare_datasets reads the newly written (unseeded) generations of that base from each Spring run, strict and skip, and calls them equal only when size and digest both match. scan_and_run returns datasets; render prints a line per dataset.
  • Tests pin the result on carddemo-nightly: SYSTRAN, TRANSACT.BKUP and TRANSACT.COMBINED all differ in both modes (BKUP 35000 vs chain 92400 bytes, COMBINED 17500 vs 109900, SYSTRAN: no generation written). Cause: the Spring jobs run on seeded fixtures with stubbed program steps, not the bytes the chain's earlier steps wrote. Nothing is loosened or rounded to equal. A synthetic test covers equal / differs / no-new-generation without Java.

Evidence level: 8 of 9 steps equal on return code (unchanged); 0 of 3 catalogued datasets equal on bytes (new, honest).

Class / Sibling gaps

The class is "Spring-side result not compared with the chain". Return codes were compared (slices 1-16); created generations are now compared. Siblings still open: step-input feeds (the Spring run is not seeded from the chain's generation bytes, so TRANBKP's REPRO and COMBTRAN's SORT cannot compare equal), program-step outputs (ports not linked, stub returns RC only), IF-result freezing (needs if_chain in the job_steps fact), and abend scenarios under Spring.

Remaining slices

  • Seed Spring jobs from the chain's own generation bytes.
  • Link the proven ports for the other program steps.
  • IF-result freezing (larger than the file cap).
  • Spring-run coverage of abend scenarios.

Checklist: partial [c:101680f3] -- datasets compared and differing honestly; seeding from chain bytes, linked ports, IF freezing and abends remain

Gates

33 tests pass (spring, job, 8885, 8883); audit_check.py all clear; ruff format clean (pinned 0.16.10). No parsing logic touched.

🤖 Generated with Claude Code

Note: the fixture-side check that ifChain statements precede return new JobBuilder( (test_jcl_forged_job_fixture.py) is left as a remaining slice to keep this PR at 5 hand-written files.

…t of #8886, #8878)

The chain report records size and sha256 of every GDG generation a step catalogues; the forged-Spring harness reads the
newly written generations from each run and compares them, strict and skip modes. All three nightly datasets differ
(seeded fixtures, stubbed program steps) and the tests pin that.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 24, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 24, 2026 22:13
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 24, 2026 22:14
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 24, 2026 22:46
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #9249 @ 94526bb: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/45498876962/job/138832484045
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases est-bdld-bdldckp,est-bdld-bdldckp:,est-bdld-bdldrpt,est-bdld-bdldrpt: --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: est-bdld-bdldckp,est-bdld-bdldckp:,est-bdld-bdldrpt,est-bdld-bdldrpt:
errors:
det est-bdld-bdldckp NOT PROVEN
det est-bdld-bdldrpt NOT PROVEN
warning: coverage ledger: cruc-hc-eoc-error: stale (harness, oracle changed); refresh when convenient
warning: coverage ledger: cruc-hc-ignore-error: stale (harness, oracle changed); refresh when convenient
det est-bdld-bdldckp: NOT PROVEN (no coverage line) [java did not build: [ERROR] COMPILATION ERROR : [ERROR] BdldniteJobConfig.java:[29,42] ';' expected [ERROR] BdldniteJobConfig.java:[32,17] illegal start of expression]; a new fail
det est-bdld-bdldrpt: NOT PROVEN (no coverage line) [java did not build: [ERROR] COMPILATION ERROR : [ERROR] BdldniteJobConfig.java:[29,42] ';' expected [ERROR] BdldniteJobConfig.java:[32,17] illegal start of expression]; a new fail
##[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.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]
With the provided path, there will be 305 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 253593
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 9fc38872e08c59c84423f4844626e017d3cbf66f725cb1782d81e5c211532f89
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 14971362087
Artifact det-sweep-ledger has been successfully uploaded! Final size is 253593 bytes. Artifact ID is 14971362087
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/45498876962/artifacts/14971362087
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/d99ff1cb-e8ab-45ab-b3b6-aa0b4bd03f8f' 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-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 24, 2026
squid-protocol and others added 2 commits November 24, 2026 19:12
…ession (Part of #8886)

The IF-chain statements landed between builder calls, so the generated
BdldniteJobConfig did not compile and the bdld det proofs went NOT PROVEN.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (9dd9763) 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 25, 2026 00:16
@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 25, 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 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 25, 2026 00:18
@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 25, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 25, 2026 00:19
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

…rt of #8886)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (4dc4f94) 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 25, 2026 00:33
auto-merge was automatically disabled November 25, 2026 00:33

Pull request was converted to draft

@squid-shepherd squid-shepherd Bot added the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Nov 25, 2026
@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 25, 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 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 25, 2026 00:35
@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 25, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 25, 2026 00:36
@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 25, 2026
@squid-shepherd
squid-shepherd Bot merged commit 85b8c1f into main Nov 25, 2026
129 of 168 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8886-20261124T2143Z branch November 25, 2026 01:30
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