Skip to content

ci(#6670): run four never-failing advisory checks post-merge + nightly, not on PRs - #6671

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
ci/advisory-checks-post-merge
Oct 25, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
ci/advisory-checks-post-merge

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Closes #6670.

PR CI is limited by queueing on a pool of about 20 concurrent jobs (docs/ci.md #5132), so every runner a PR doesn't need frees a slot for the required checks. Four advisory (non-required) workflows didn't fail once on a pull request in the 7 days to 2026-10-25:

Workflow PR runs, success / failure Job time per run
Fact Cross-check 702 / 0 ~3.4 min
unicode-gauntlet 458 / 0 ~3 min
Estate Crucible 280 / 0 ~0.5 min (+ ~5 min waiting for a runner)
Crucible Path Independence 275 / 0 ~5.2 min (two crucible scans)

The success counts include draft runs where the job skipped; the failure counts are what matters.

Change

  • Jobs skip on pull_request: each job now has if: github.event_name != 'pull_request', so a PR event takes no runner. They run from post_merge_dispatch.py on main (once per 3 h cadence window, only when no PR job is waiting) and nightly.
  • The pull_request trigger and its paths stay, deliberately. They are the from-pr-filter relevance patterns the dispatcher reads, and test_engine_reach_workflows.py / workflow_inputs.py keep proving them against what each workflow reads. Moving the lists elsewhere would have dropped that proof.
  • Crucible Path Independence becomes a dispatch target with a nightly (11 6 * * *) and joins Main Watch. The other three already were (CI queue: extend post-merge idle-only dispatch to the remaining push-to-main workflows #5131).
  • Tests: a new pin in test_post_merge_dispatch.py checks that each of the four skips on a PR, is a dispatch target, keeps its paths, and has no || that would let a PR event through. The four jobs are also added to the draft-gate NOT_ON_PR allowlist.

What still catches a regression before merge

The three ratchets (fact cross-check, estate-crucible gate, unicode gauntlet) are run locally before every push by pr_gates.py --ratchets / --fast: the gitgalaxy-pr-worker agent, and the det-port and cics-command-slice skills. So a fix still lowers its ledger in its own PR. Anything that slips through opens a ci-red-main issue within one cadence window of the merge.

Not changed

CodeQL, Muninn and the Zero-Trust pre-gate stay on every PR (owner decision, 2026-10-25).

Verification

  • 182 workflow-wiring tests pass locally (draft gate, post-merge dispatch, main-watch, engine reach, workflow inputs, critical-path split, tested-tree, shard-split pin, ci_retry), plus the new pin. The ruff audit shows no new findings, format is clean, and every workflow file parses.
  • Cross-repo / sibling PR: ci(#6664): Equivalence E2E shards run only what ground-truth cannot; db2 planned from its inputs #6669 adds Equivalence E2E two lines below Crucible Path Independence in main-watch.yml. Whichever merges second may need a one-line rebase there.

🤖 Generated with Claude Code

…y, not on PRs

Fact Cross-check, unicode-gauntlet, Estate Crucible and Crucible Path Independence did not fail once on a
pull request in the 7 days to 2026-10-25 (702 / 458 / 280 / 275 runs) while each took a runner from the
~20-job PR pool. Their jobs now skip on pull_request (no runner); they run from post_merge_dispatch on main
(cadence window, only when PR runners are idle) and nightly, and Main Watch opens ci-red-main on a red run.

The pull_request trigger and its paths stay: post_merge_dispatch reads them as the from-pr-filter relevance
patterns, and test_engine_reach_workflows / workflow_inputs keep proving them. Path Independence becomes a
dispatch target with a nightly and is watched. The three ratchets are still met before a push by
pr_gates.py --ratchets / --fast. Security scans (CodeQL, Muninn, Zero-Trust pre-gate) stay on every PR.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 20:40
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 25c3a1c into main Oct 25, 2026
43 checks passed
@squid-shepherd
squid-shepherd Bot deleted the ci/advisory-checks-post-merge branch October 25, 2026 20:52
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.

Advisory checks that never fail on a PR: run them post-merge + nightly (keep security scans on PRs)

1 participant