Skip to content

CI queue: skip tested-tree gate jobs on pull_request (9 workflows) #5129

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: The tested-tree gate job runs on pull_request in 9 workflows, but it only does useful work on push (#4961/#5001: it skips a push run whose tree a PR already proved). On a PR it takes a slot and adds one serial queue wait before the heavy jobs start: tested-tree waited 3-12 min on recent PRs. Examples: smoke-test.yml:57, mainframe-ground-truth.yml:45.

Gate it with if: github.event_name == 'push' (or equivalent) in every workflow that has it. The dependent jobs already use !cancelled(), so a skipped gate must still let them run. Verify that on one PR per workflow.

Acceptance:

  • No tested-tree job runs on a PR event.
  • Push runs still skip when the tree was tested.
  • Required checks (det, full-suite, ground-truth, mypy-audit, ruff-audit) still report on PRs.
  • PR description lists the jobs removed per PR push.

Activity

  1. added
    github-actions
    ci-cd
    on Oct 14, 2026
  2. 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.

  3. added 2 commits that reference this issue on Oct 14, 2026
    036d1e7
    b9b6f3a
  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