GeezerVison is showing github.com — fix(ci): restore daily dispatch workflows (startup failure) + push-trigger audit by dezren39 · Pull Request #4595 · developing-today/code
Conversation
dezren39
commented
Nov 2, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #4572
Root cause of the zero-job startup failures (both daily dispatch workflows)
jules-daily-codebase-ideation.yml and jules-daily-flake-sync.yml did not fail because of the pm-dispatch-start@main step, the #2681 "verify inputs wired" step, or the inputs.* prompt interpolations — the healthy controls share those. The breaking element was the top-level concurrency block:
concurrency:
cancel-in-progress: true
queue: max
That combination is invalid. GitHub rejects the file at load time — dispatching it returned HTTP 422 verbatim: "The combination of 'queue: max' and 'cancel-in-progress: true' is not allowed". A file that fails validation produces an instant failed run with zero jobs on every push evaluation, never fires on schedule, and cannot be dispatched. Commit 814c5146a (2026-10-30, "cancel-in-progress everywhere") set cancel-in-progress: true on both files, which already carried queue: max — matching the last successful scheduled runs on 2026-10-29.
The two sick workflows declare no push trigger — the thousands of push-attributed failed runs were this load-failure artifact, not a trigger line. Nobody needs to hunt for one.
Already fixed on main (by other lanes, verified here)
Verification of the fix (fresh, 2026-11-02 ~21:37–21:50Z)
- On a scratch branch cut from current main,
workflow_dispatch of both workflows was accepted and each run acquired its job (ideation run 41530005785, flake-sync run 41530012380 — both cancelled immediately after job creation so no real session launched from the test).
- The branch-creation push produced no push-attributed runs for either workflow.
- Every remaining push-attributed failure for both files was checked: all sit on pre-fix trees (stale
queue/* branches, and main pushes processed before the fixes merged). That residue is already tracked in ci: jules-daily workflows fail with zero jobs on every branch push #2728 / actionlint: repo-wide findings outside the mcpx workflow set (jules concurrency.queue, SC2129, SC2016/SC2086 in run blocks) #2845 and disappears as branches rebase onto current main.
- The two dispatch runs left
pending with zero jobs on main (41522757985, 41529301651) were not a second defect: with queue: max, they were queued behind run 41522412587 in the same concurrency group while its job waited in the runner backlog. All three stale runs were cancelled. Post-fix verification on main (2026-11-02 21:51Z): a deliberate workflow_dispatch of each workflow on main acquired its job immediately (ideation run 41532185776, flake-sync run 41532191403 — both left running as the recovered daily runs), and pushes to the fix branch created zero push-attributed runs for either workflow.
- Concurrency sweep of all 38 workflows: no remaining
queue: max + cancel-in-progress: true combination anywhere (jules.yml's job-level groups pair queue: max with cancel-in-progress: false — valid).
Push-trigger audit (all 38 workflows) — changes in this PR
Per the directive to disable push triggers on non-CI automation, every workflow was audited:
Changed here — maintenance automations whose push run performs the maintenance (commits back to main), not CI:
auto-format.yml: removed push: branches: [main]. Formatting fixes now land via its nightly schedule (06:47 UTC) or manual dispatch instead of on every merge.
mod-tidy.yml: removed push: branches: [main] (path-scoped to pkgs/graph/**). Tidy commits are now manual-dispatch only. (Its push-gated commit step and PR-gated verify step simply never fire now; left in place for a minimal diff.)
Compliant, unchanged — every other branch-push trigger already carries branches: [main] (the repo's main-only policy, 814c5146a): cf-container-hello, cold-store-reaper (its push jobs are read-only tests — CI, not the reaper action), go-modules-build, id-bench, id-check, identity-build, lab-ops-hub, map-build, mcpx, mcpx-conformance, mcpx-docs, mcpx-nixbuild, mcpx-test, mcpx-tier2-containers, nix-ci, opencode-config-guard, pm-aggregator-tests, pm-stack-tests, research-workflow, scripts-test. Tag-only pushes: goreleaser (*), mcpx-release (mcpx/v*) — release machinery, by design. No push trigger at all: agents, branch-cleanup, flake-inputs-update, fleet-build-mirror, id-e2e-nightly, jules, jules-daily-codebase-ideation, jules-daily-flake-sync, main-broken, mcpx-realsoftware-nightly, mcpx-seed-collector, pm-dispatch-smoke, pm-scheduled (reusable), repo-sweeper.
No CI workflow was found with a push trigger lacking the branches: [main] filter.
Format check: nix run .#format-check on both changed files — clean (0 changed).
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 43 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
f78352ac-f13b-48e7-bf11-9c01f349e698
Commits
-
Reviewing files that changed from the base of the PR and between c3969be and ff989c8.
Files selected for processing: 2
-
.github/workflows/auto-format.yml
.github/workflows/mod-tidy.yml
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-02T21:45:56.042593Z |
ff989c8 |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ff989c8bfa
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
on:
|
|
|
push:
|
|
|
branches: [main]
|
|
|
paths:
|
|
|
- "pkgs/graph/**"
|
|
|
- ".github/workflows/mod-tidy.yml"
|
|
|
workflow_dispatch:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enable persisting tidy fixes on manual dispatch
With workflow_dispatch now the only trigger, running this workflow against an untidy graph module executes go mod tidy but skips both the verification step (github.event_name == 'pull_request') and the commit step (github.event_name == 'push'). The run therefore succeeds while all fixes are discarded with the runner, leaving no working maintenance path. Update the commit step to handle manual dispatch, with an appropriate branch restriction, while keeping the intended removal of push-triggered runs.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
19
to
20
|
|
on:
|
|
|
push:
|
|
|
branches: [main]
|
|
|
schedule:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include merge diffs in the nightly formatting sweep
For a file changed only by PR commits that are over 25 hours old when the first nightly sweep runs, removing push processing means the file never reaches automatic formatting: the scheduled command at lines 54–60 filters out the original commits, and the recent merge commit contributes no filenames. The Git documentation confirms that --since selects “Show commits more recent than ” and, without merge-diff options, “merge commits will not show a diff.” Update the scheduled scan to include first-parent merge diffs or use a last-successful baseline so older PR changes are still formatted after merging.
AGENTS.md reference: AGENTS.md:L58-L58
Useful? React with 👍 / 👎.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 3, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|