Skip to content

CI queue: extend post-merge idle-only dispatch to the remaining push-to-main workflows #5131

Closed

Description

@squid-protocol

Context (2026-10-14 CI audit): PR CI is now limited by queueing, not runtime. The account has a pool of about 20 concurrent jobs. On #5115 (a det change), 61 jobs and 266 job-minutes took 61 min to green; det shards ran 3-6 min but waited 20-42 min for a runner, and setup is only about 50 s per job. Every job that leaves the PR path frees a slot for PR work. Already done or rejected: #4518, #4825, #4847, #4935, #4961, #5024, #5104. Line refs are origin/main as of 2026-10-14.

Change: Extend post-merge.yml's idle-only dispatch to the other workflows that run on push to main, so a merge never takes runners from open PRs. Candidates: cics-crucible, estate-crucible, fact-crosscheck, ports-compile, java-compile, unicode-gauntlet, tree-sitter-accuracy-audit. Check each one's push trigger and whether anything (history publishers, evidence pages, main-watch) depends on it running immediately; leave those on push and say why.

Acceptance:

  • Each moved workflow runs once per main SHA via the idle dispatch (or is superseded by a newer SHA), not on every push.
  • main-watch coverage is unchanged.
  • The PR has a table: workflow, moved/kept, reason, and jobs per merge saved.

Activity

  1. added
    github-actions
    ci-cd
    on Oct 14, 2026
  2. squid-protocol commented on Oct 14, 2026

    @squid-protocol
    OwnerAuthor

    Measured since filing (see #5136): idle-at-dispatch isn't idle afterwards. Full Suite Gate is already idle-only yet took 15.6% of CI minutes and 12% of slots while a queue existed. Whatever this issue moves into the idle dispatch should use the cadence cap from #5136 (at most every N hours on the newest SHA), not one run per main SHA.

  3. squid-protocol commented on Oct 14, 2026

    @squid-protocol
    OwnerAuthor

    Bundled (owner, 2026-10-14): one PR covers #5129, #5130, #5131 and #5136, since they edit the same 9 workflows and post-merge.yml.

  4. added
    scope:infra
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-cdgithub-actionsperformancescope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions