Skip to content

CI: bounded retry + INFRASTRUCTURE marker for network-flaky workflow steps (Part of #5048) - #5111

Merged
squid-protocol merged 4 commits into
mainfrom
ci/5048-workflow-retry
Oct 14, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
ci/5048-workflow-retry

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5048. Companion to #5097 (harness Db2 pull, Dockerfile apt); touches none of its files.

Class: network-flaky install/fetch steps in workflows: one attempt, no backoff, no marker the shepherd's triage recognises.

Member Status
universal-ctags apt, tri-comparison-audit.yml / -history.yml fixed (ci_retry.sh + Acquire::Retries=5)
npm install --global [email protected], graph-accuracy-audit.yml fixed
Db2 docker pull, evidence-refresh.yml fixed (digest pin kept)
Db2 background docker pull, det-sweep.yml fixed; a final failure is only logged, the harness pulls again via #5097's pull_image
INFRASTRUCTURE (not a code defect) in ci_digest.INFRA_LOG added, so the shepherd reruns instead of needs-fix (#5097's message was not matched either)

tests/tools/ci_retry.sh <attempts> <backoff> -- cmd...: doubling backoff, then ::error::INFRASTRUCTURE (not a code defect) and the last exit status.

Sibling gaps (not here): pip install --require-hashes steps (pip --retries is a different mechanism); actions/checkout and corpus git clone steps.

Tests: tests/tools/test_ci_retry.py (script + each of the 5 steps goes through it), test_ci_digest.py triage case. pr_gates.py --fast 6/6. No golden impact. Cross-repo: none.

🤖 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 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 13:54
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 14:08
@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 #5111 @ cf9cf81: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38575771469/job/115906993208
repro: python -m pytest -q tests/core_engine/test_pipeline_pins.py::test_our_own_pipelines_are_clean[.github/workflows/graph-accuracy-audit.yml]
failing tests: tests/core_engine/test_pipeline_pins.py::test_our_own_pipelines_are_clean[.github/workflows/graph-accuracy-audit.yml]
errors:
fail-on-cache-miss: false
E AssertionError: {(88, 'npm')}
tests/core_engine/test_pipeline_pins.py:367: AssertionError
FAILED tests/core_engine/test_pipeline_pins.py::test_our_own_pipelines_are_clean[.github/workflows/graph-accuracy-audit.yml] - AssertionError: {(88, 'npm')}
##[error]Process completed with exit code 1.
log tail:
SKIPPED [1] tests/cobol_mainframe/test_mainframe_corpus.py:64: dbb-mortgage-application not fetched (mainframe_corpus.py fetch)
SKIPPED [1] tests/cobol_mainframe/test_mainframe_corpus.py:64: cics-async-api-credit-card-application-example not fetched (mainframe_corpus.py fetch)
SKIPPED [1] tests/cobol_mainframe/test_no_jcl_batch_controller.py:188: no Maven + JDK 17
SKIPPED [1] tests/core_engine/test_aperture_workflow_blob.py:166: evidence-refresh.yml not found
SKIPPED [1] tests/core_engine/test_bms_symbolic.py:108: the pinned CardDemo corpus is not cloned
SKIPPED [1] tests/core_engine/test_language_strictness.py:122: keyword-rosetta corpus not checked out as a sibling (set KEYWORD_ROSETTA_PATH)
SKIPPED [1] tests/cultural_gauntlet/test_cultural_gauntlet.py:478: collation_h2: its database is not on this machine
SKIPPED [1] tests/cultural_gauntlet/test_cultural_gauntlet.py:478: collation_postgresql_en_us: its database is not on this machine
SKIPPED [1] tests/estate_crucible/test_estate_crucible_scorer.py:193: no estate-crucible checkout at /home/runner/work/gitgalaxy/estate-crucible (set ESTATE_CRUCIBLE_PATH)
XFAIL tests/core_engine/test_aperture.py::test_aperture_embedded_hex_shield - Engine currently allows hex arrays if has_intent=True. Pending engine patch.
FAILED tests/core_engine/test_pipeline_pins.py::test_our_own_pipelines_are_clean[.github/workflows/graph-accuracy-audit.yml] - AssertionError: {(88, 'npm')}
assert {(88, 'npm')} == set()
Extra items in the left set:
(88, 'npm')
Full diff:
- set()
+ {
+ (
+ 88,
+ 'npm',
+ ),
+ }
1 failed, 6422 passed, 388 skipped, 1 xfailed, 20 warnings, 9 subtests passed in 439.40s (0:07:19)
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/94cd1dca-9548-4de0-bfc6-e23cf9232604' 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 14, 2026
… it as packages) (Part of #5048)

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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5111 @ 8a81095: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38589264737/job/115958949445
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
errors:
Traceback (most recent call last):
ValueError: det carddemo-readcust: in two shards (shards/det-sweep-shard-11/sweep.json)
##[error]Process completed with exit code 1.
log tail:
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
PLAN_RESULT: success
MODE: full
CASES: all
SHARDS: 20
DB2_CASES: all
DB2_SHARDS: 4
EVENT: pull_request
##[endgroup]
Traceback (most recent call last):
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/proof_sweep.py", line 386, in
sys.exit(main())
^^^^^^
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/proof_sweep.py", line 289, in main
results = merge_sweeps(args.aggregate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/work/gitgalaxy/gitgalaxy/tests/tools/proof_sweep.py", line 137, in merge_sweeps
raise ValueError(f"{sweep} {case}: in two shards ({f})")
ValueError: det carddemo-readcust: in two shards (shards/det-sweep-shard-11/sweep.json)
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/d445725e-fd6a-4df9-940d-c335d1a2076b' 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 14, 2026
squid-protocol and others added 2 commits October 14, 2026 12:10
…t a per-shard cache restore (Part of #5048)

A cache miss on one shard made it slice with the committed file while its neighbours used the
restored one; carddemo-readcust was proven in two shards and the ratchet's duplicate check failed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 14, 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 Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit b291d61 into main Oct 14, 2026
55 checks passed
@squid-protocol
squid-protocol deleted the ci/5048-workflow-retry branch October 14, 2026 17:30
squid-protocol added a commit that referenced this pull request Oct 14, 2026
…in's workflows, drop superseded test (Part of #5048)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 14, 2026
…s runners) (Fixes #5145) (#5148)

#5111's tests run bash ci_retry.sh with sh fakes and PATH=/usr/bin:/bin; on a
Windows runner bash is the WSL launcher, so 4-5 tests failed in the Full Suite
Gate. Skip them off Linux like test_box_tools.py; the workflow-site text test
still runs everywhere. The test_det_sweep_balance half of #5145 is #5143's.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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