Skip to content

mutation: compare is a gate; --one-jvm agrees with --full on 70 of 70 (Part of #4047) - #5587

Merged
squid-protocol merged 4 commits into
mainfrom
churn/4047-20261019T0714Z
Oct 19, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/4047-20261019T0714Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4047. Checklist: partial [c:0f9790f1] -- default not flipped: no committed burned port has entry runs, so a case with entries under --one-jvm is unvalidated; the call runner has only the 12-mutant check; crucible ports and --record not covered.

What

  • mutation.py compare --require-agree N: a gate (exit 1 unless N mutants judged by both and none differ); the output adds per-operator disagreements and the survivors' proof seconds.
  • Unit tests for compare and the gate (test_mutation_tooling.py).
  • Larger validation of --one-jvm (burned CardDemo estate), recorded in docs/language_status/mutation_testing.md: carddemo-intcalc 40/40 and carddemo-menu 30/30 agree with --full (fast and fast+one-jvm), every operator. Survivors' proof seconds: intcalc 894 -> 606 (fast) -> 113 (one-jvm); menu 309 -> 179 -> 116.

Sibling gaps

  • Entry-run case (batch entries): none exists on a burned committed port (readcard + executeCbact02c fails to build). Needs a burned program whose port has an executeX, e.g. a det-port/generated one via --port (frontier).
  • Crucible ports (mutation_crucible.py) and --record (rejects --one-jvm): not validated.
  • Db2/IMS cases and non-default environments keep a JVM per run by design.
  • Non-burned estates: listed only.

Remaining slices

Validate an entry-run case, then the 17 crucible ports; if all agree, make --one-jvm the fast default with --no-one-jvm and let --record use it.

No parsing logic touched: no golden bless. Gates: audit_check all clear; test_mutation_tooling 32 passed.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 19, 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 19, 2026 08:03
@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 08:09
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5587 @ fd17bcd: 2 failed check(s)

== ground-truth (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39220041009/job/117958454418
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:
Worker ID: {edb34e95-5057-47db-a8c2-ef151e3f7f60}
Region: westus2
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[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)"
echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE)"
# #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"; }; }; }
ok "$WARM" && ok "$PARTS"
shell: /usr/bin/bash -e {0}
env:
WARM: success
PARTS: failure
SKIP:
MODE: full
##[endgroup]
ground-truth warm: success, parts: failure (tested-tree skip: , plan mode: full)
##[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/39220041009/job/117954333637
repro: python -m pytest -q tests/cobol_mainframe/
errors:
fail-on-cache-miss: false
FAIL tests/cobol_mainframe/test_det_accept_sysin_5106.py::test_the_runtime_reads_one_record_per_accept[AAAA\nBBBB\n-want4]: 15.3s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
FAIL tests/cobol_mainframe/test_det_le_time.py::test_the_runtime_is_the_oracle_model_byte_for_byte: 18.7s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
archive: true
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
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 50010
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 5704c5d9ad84e68ed4cdec953733b53eb6b34e4f37f766d815f04fb2496880fb
Finalizing artifact upload
Artifact test-times-ground-truth-part-4 successfully finalized. Artifact ID 12172216016
Artifact test-times-ground-truth-part-4 has been successfully uploaded! Final size is 50010 bytes. Artifact ID is 12172216016
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39220041009/artifacts/12172216016
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/6e1b835b-d646-4f12-b463-c1253785f4e4' 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 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@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:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 7e41b00 into main Oct 19, 2026
31 checks passed
@squid-protocol
squid-protocol deleted the churn/4047-20261019T0714Z branch October 19, 2026 09:10
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