Skip to content

det sweep: 6 fat shards, --record-ledger in the aggregate (Part of #5135, #5114; Closes #5084) - #5139

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5135-20261014T1744Z
Oct 14, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5135-20261014T1744Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5135, Part of #5114, Closes #5084.

What

  • det_sweep_plan.MAX_SHARDS 20 -> 6: a full run is 6 shards + 4 db2 + plan + det = 12 jobs (was 26), inside the 20-job pool.
  • det-sweep.yml (det job): --record-ledger on both --aggregate calls; the re-recorded det_sweep_coverage/ is uploaded as the det-sweep-ledger artifact (the runner's copy is otherwise lost). --strict-ledger stays off (a harness PR would strand the sweep). Comments updated (20 -> 6).
  • Tests: full sweep is 1/6..6/6; new partition test (real 110 cases, recorded / empty / synthetic durations; full, narrow, all-case plans): every case in exactly one shard, stable on repeat, so missing_cases stays 0; new test that a full run fits the pool.

#5114 status

det-sweep.yml: #5111 (#5048) already makes the plan job choose the durations once and every shard/db2 job download them, so one split per run; this PR adds the partition tests but not a separate job-output split. evidence-refresh.yml balances by the committed durations only (already consistent); smoke-test.yml per-shard test-durations- restore is untouched (out of this PR's workflow scope) -> why "Part of".

#5135 BEFORE baseline (last 14 completed det-sweep PR runs, 2026-10-14; run start to last update)

  • Full-sweep runs (26 jobs: 20 shards + 4 db2 + plan + det): 10 runs, wall 39-121 min, median 70 min (includes queue and rerun-free wall of the whole run).
  • Narrow runs (4 jobs, 1 shard): 4 runs, median 14 min.
  • det job itself runs 11-26 s (merge only); the time is shard queue wait, as the issue measured (shards ~3.6 min, ~19 min queue).
  • After-measurement over >= 10 det PRs is an open follow-up (cannot be taken pre-merge), so CI queue: det sweep uses 24 jobs per run (> the 20-job pool); 5-6 fatter shards instead of 20 #5135 stays open. missing_cases is 0 by the partition test; this PR's own full sweep is the first live 6-shard run (det-sweep.yml is a DET_INPUT).

Cross-repo

None.

🤖 Generated with Claude Code

…e aggregate + ledger artifact (Part of #5135, #5114; Closes #5084)

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 14, 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 14, 2026 17:55
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 18:00
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5139 @ 9025075: 3 failed check(s)

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38610812151/job/116016078280
repro: python -m pytest -q tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate
failing tests: tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate
errors:
fail-on-cache-miss: false
FAILED tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate - Failed: DID NOT RAISE ValueError
##[error]Process completed with exit code 1.
log tail:
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid[// fn (a: i32, b: i32)] - Known limitation: No block shielding for args inside comments
XFAIL tests/extraction/languages/test_jcl.py::test_jcl_func_start_invalid[//SYSUDUMP DD DATA,DLM=$$\n//BAD EXEC PGM=X\n$$] - Known limitation: No block shielding for instream data in JCL
XFAIL tests/extraction/languages/test_jcl.py::test_jcl_class_start_invalid[//SYSIN DD \n//FAKE JOB 1\n/] - Known limitation: No block shielding for instream data in JCL
XPASS tests/extraction/languages/test_jcl.py::test_jcl_args_valid["//STEP1 EXEC PGM=PROG,PARM='THIS STRI"...len102-1d86da8b-"'THIS STRING CONTINUES "...len72-7c3fedb5] - Known limitation: Engine cannot parse JCL line con
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid[//DD DATA \n INCLUDE MEMBER=NOPE \n/*] - Known limitation: No block shielding for instream data in JCL
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid['//STEP1 EXEC PGM=PROG1 THIS COMMENT CO'...len69-d3e393cd] - Known limitation: Inline comments aren't stripped before dependency capture
FAILED tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate - Failed: DID NOT RAISE ValueError
1 failed, 9693 passed, 22 skipped, 8 xfailed, 3 xpassed, 2 warnings in 618.08s (0:10:18)
##[error]Process completed with exit code 1.
##[group]Run python tests/tools/evidence_report.py --deltas --live >> "$GITHUB_STEP_SUMMARY"
python tests/tools/evidence_report.py --deltas --live >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
EVIDENCE_REPORT_ADVISORY: 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]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/99749b38-b7bb-4989-a5aa-5cf32caa870c' 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

== ground-truth (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/38610812279/job/116014478517
repro: python tests/tools/pr_gates.py --ratchets --only-ratchets ground-truth
errors:
fail-on-cache-miss: false
##[error]The operation was canceled.
log tail:
........................................................................ [ 76%]
.s...................................................................... [ 78%]
........................................................................ [ 79%]
.....................sss..............s................................. [ 81%]
.........................................s.sssssssssssssssssssssss.sss.. [ 83%]
........................................................................ [ 84%]
.....................................................ss................. [ 86%]
........................................................................ [ 87%]
........................................................................ [ 89%]
..............................sssss....s.sss...............s............ [ 91%]
........................................................................ [ 92%]
................ss...................................................... [ 94%]
........................................................................ [ 96%]
.............s....s..................................................... [ 97%]
................................................................s....... [ 99%]
##[error]The operation was canceled.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/e9125ded-d801-4a60-8ad6-21ce35364607' 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
Terminate orphan process: pid (3339) (python)
Terminate orphan process: pid (3340) (python)
Terminate orphan process: pid (3343) (python)
Terminate orphan process: pid (3346) (python)
Terminate orphan process: pid (3349) (python)
Terminate orphan process: pid (20117) (python)
Terminate orphan process: pid (20150) (python)
Terminate orphan process: pid (21433) (javac)

== shard 2/6 (failure) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/38610812652/job/116016617412
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases mortgage-mpmt,zecs-zecs003 --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: mortgage-mpmt,zecs-zecs003
errors:
fail-on-cache-miss: false
2026-10-14 18:15:58,708 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-14 18:16:40,048 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-14 18:17:07,814 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-14 18:17:32,793 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
det mortgage-mpmt NOT PROVEN
det zecs-zecs003 NOT PROVEN
##[error]Failed to CreateArtifact: Unable to make request: ECONNRESET
log tail:
include-hidden-files: false
archive: true
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
PYTHONUTF8: 1
GITGALAXY_ORACLE_STRICT: 1
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
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
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
MAVEN_ARGS: -ntp
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
With the provided path, there will be 33 files uploaded
Artifact name is valid!
Root directory input is valid!
##[error]Failed to CreateArtifact: Unable to make request: ECONNRESET
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/6545fabd-d5d2-47b6-9a07-ba67c8afaccb' 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:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added 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 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 labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5139 @ 68375e4: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38615990915/job/116049079578
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Hosted Compute Agent
Version: 20261002.596
Commit: c3d12f3313a95f25162a1503be624f3b0617f8c0
Build Date: 2026-10-02T22:28:27Z
Worker ID: {bc079333-7136-4083-bfc2-37f18f5d80ae}
Region: northcentralus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261004.327.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261004.327/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261004.327
##[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: false
##[endgroup]
full-suite parts: failure (tested-tree skip: false)
##[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/38615990915/job/116032594168
repro: python -m pytest -q tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate
failing tests: tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate
errors:
fail-on-cache-miss: false
FAILED tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate - Failed: DID NOT RAISE ValueError
##[error]Process completed with exit code 1.
log tail:
XFAIL tests/extraction/languages/test_jcl.py::test_jcl_class_start_invalid[//SYSIN DD \n//FAKE JOB 1\n/] - Known limitation: No block shielding for instream data in JCL
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid["fn (a: i32, b: i32)"] - Known limitation: No block shielding for args inside strings
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid[// fn (a: i32, b: i32)] - Known limitation: No block shielding for args inside comments
XPASS tests/extraction/languages/test_jcl.py::test_jcl_args_valid["//STEP1 EXEC PGM=PROG,PARM='THIS STRI"...len102-1d86da8b-"'THIS STRING CONTINUES "...len72-7c3fedb5] - Known limitation: Engine cannot parse JCL line con
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid[//DD DATA \n INCLUDE MEMBER=NOPE \n/*] - Known limitation: No block shielding for instream data in JCL
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid['//STEP1 EXEC PGM=PROG1 THIS COMMENT CO'...len69-d3e393cd] - Known limitation: Inline comments aren't stripped before dependency capture
FAILED tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate - Failed: DID NOT RAISE ValueError
1 failed, 9728 passed, 22 skipped, 8 xfailed, 3 xpassed, 2 warnings in 1126.61s (0:18:46)
##[error]Process completed with exit code 1.
##[group]Run python tests/tools/evidence_report.py --deltas --live >> "$GITHUB_STEP_SUMMARY"
python tests/tools/evidence_report.py --deltas --live >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
EVIDENCE_REPORT_ADVISORY: 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]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/0bb56270-6668-4758-b601-7b07675b1028' 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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 14, 2026
@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.

Siblings of #5075: proof-gate readings (LINKed-program coverage, ledger fingerprint lag)

1 participant