Skip to content

CI: det sweep, CICS crucible and ports-compile prefetch the Spring Boot parent POM, retried (Part of #8215) - #8964

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/8215-20261122T0154Z
Nov 22, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/8215-20261122T0154Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

A job that restores a Maven cache on a restore-key hit (or a miss) can lack the pinned Spring Boot parent POM, so every shard asked Central for it on its own and one throttled answer failed the whole shard (det sweep run 42721961353, 30 of 30 cases). Equivalence E2E already prefetches it with retry (#8723); these did not. This PR adds the same two steps (drop stale .lastUpdated markers; ci_retry.sh 4 15 -- mvn -U dependency:get of the parent POM, version from SpringBoot().version, only when cache-hit != 'true') after the Maven cache restore in:

  • det-sweep.yml: db2 and shard jobs
  • cics-crucible.yml: measure and runner-tests jobs
  • ports-compile.yml: the one job

New tests/tools/test_maven_prewarm_all_workflows_8215.py pins the step in every such job (after the restore, retried, gated, before any test run).

Answer to the checklist question: "(present, but unavailable)" is Maven's text for any unresolved POM (file absent or a .lastUpdated marker); the parent is not guaranteed to be in a restored cache (restore-keys fall back to other caches), so shards could depend on Central on every run. Now at most one retried fetch per job, and none on an exact cache hit.

Checklist: partial [c:eedd858c] -- a throttled Central can still fail the prefetch itself; whether main's cache saves now always hold the parent shows only after the next main run

Class

Class: a workflow job that restores a Maven cache without a retried parent-POM prefetch. Fixed here: all 5 jobs in the 3 workflows above (Equivalence E2E already done).

Sibling gaps

  • graph-accuracy-audit.yml restores a Maven cache (scip-java) with no prefetch: no burned estate needs it (sweep gap).
  • batch_test_harness.py runs mvn clean compile with no retry: product harness, no burned program needs it (frontier).

CI cost (ci-workflows rule 5)

No new job. The step is skipped on an exact cache hit; on a restore-key hit or miss it adds about 10-30 s per Maven job (one dependency:get of a POM), against a whole-shard rerun when Central throttles. The 12 det-sweep shards each get it, so up to ~6 runner-min per run, only on a cache miss.

Cross-repo: none.

Lessons for agents

  • A bare cat > file with no heredoc hangs Bash on stdin; use the Write tool (already in python-test-traps).

Facts checked: workflow tests (new, e2e prewarm, plan, shards, reach) 157 passed; audit_check.py all clear; ruff format --check and ruff check clean on the new test. No golden or engine change.

🤖 Generated with Claude Code

…ot parent POM, retried (Part of #8215)

A restore-key hit can lack the pinned parent POM, so each shard asked Central for it alone;
one throttled answer failed the shard. Same two steps as Equivalence E2E (#8723).

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 Nov 22, 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 22, 2026 02:01
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 02:07
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 22, 2026 02:21
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8964 @ 8575f44: 2 failed check(s)

== full-suite part 1/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44974136266/job/137061554423
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
[--ai-guardrails] [--fail-on-secrets]
--fail-on-secrets CI/CD Gate: Fail build if hardcoded secrets are
CI/CD Gate: Fail build if any file exceeds this risk
CI/CD Gate: fail the build if any file's structural
FAIL tests/tools/test_gate_controls.py::test_a_named_job_exists_and_the_trigger_matches_the_workflow: 24.8s 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:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 1026642
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 00e800358037bd71678b0a0ffba0b0ef7b5c331a26e2053288f16b2491412bce
Finalizing artifact upload
Artifact test-times-part-1 successfully finalized. Artifact ID 14735191621
Artifact test-times-part-1 has been successfully uploaded! Final size is 1026642 bytes. Artifact ID is 14735191621
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/44974136266/artifacts/14735191621
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/d30a4562-9bee-470d-86ed-46110abbe29f' 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

== full-suite part 4/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44974136266/job/137061554376
repro: python -m pytest -q tests/tools/test_ci_network_inventory.py::test_the_inventory_doc_is_current
failing tests: tests/tools/test_ci_network_inventory.py::test_the_inventory_doc_is_current
errors:
fail-on-cache-miss: false
E AssertionError: assert '# CI network... the budget\n' == '# CI network... the budget\n'
tests/tools/test_ci_network_inventory.py:100: AssertionError
FAILED tests/tools/test_ci_network_inventory.py::test_the_inventory_doc_is_current - AssertionError: assert '# CI network... the budget\n' == '# CI network... the budget\n'
##[error]Process completed with exit code 1.
log tail:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-4.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 1029120
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is ec81d84c0e47570668aea46d11d8df0a827cce865cd2def9510ab9ab8455813b
Finalizing artifact upload
Artifact test-times-part-4 successfully finalized. Artifact ID 14734954701
Artifact test-times-part-4 has been successfully uploaded! Final size is 1029120 bytes. Artifact ID is 14734954701
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/44974136266/artifacts/14734954701
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/5b9d4fa2-0c2e-40cb-baf0-fbae6f3cc191' 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 22, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 22, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (cb13d89) 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 22, 2026 02:26
@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 22, 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 22, 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 22, 2026 02:33
@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 22, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 02:39
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 22, 2026 03:18
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8964 @ cb13d89: 8 failed check(s)

== db2 ${{ matrix.shard }} (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/44976032359/job/137066298649
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== det (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/44976032359/job/137066298879
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
log tail:
(log unavailable: gh: HTTP 404)

== full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/44976032346/job/137066293641
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== full-suite part 1/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44976658413/job/137069744497
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
[--ai-guardrails] [--fail-on-secrets]
--fail-on-secrets CI/CD Gate: Fail build if hardcoded secrets are
CI/CD Gate: Fail build if any file exceeds this risk
CI/CD Gate: fail the build if any file's structural
FAIL tests/tools/test_gate_controls.py::test_a_named_job_exists_and_the_trigger_matches_the_workflow: 25.3s 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:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 1027628
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 27ed11200c23c70db57b54acd767126947230a58215802b1992f66b226b5115a
Finalizing artifact upload
Artifact test-times-part-1 successfully finalized. Artifact ID 14736528025
Artifact test-times-part-1 has been successfully uploaded! Final size is 1027628 bytes. Artifact ID is 14736528025
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/44976658413/artifacts/14736528025
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/114a3eca-c8a8-469e-b3bf-9090a424511a' 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

== measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/44976032588/job/137066273696
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== shard ${{ matrix.shard }} (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/44976032359/job/137066297938
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== store the suite's durations (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/44976032346/job/137066294044
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== suite time budget (#5166) (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/44976032346/job/137066294248
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

@squid-shepherd squid-shepherd Bot added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Nov 22, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 03:42
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 22, 2026
@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 Nov 22, 2026
@squid-shepherd
squid-shepherd Bot merged commit fa88398 into main Nov 22, 2026
54 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8215-20261122T0154Z branch November 22, 2026 04:38
squid-protocol added a commit that referenced this pull request Nov 22, 2026
…t-sweep prefetch; take main's files

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-shepherd

Copy link
Copy Markdown
Contributor

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