Skip to content

ci: run the heavy suites only in the merge queue - #4607

Merged
yannickmonney merged 1 commit into
mainfrom
ci/queue-heavy-jobs
Oct 9, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
ci/queue-heavy-jobs

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Why

The account's 20 concurrent hosted jobs were saturated: each PR push ran the full graph (about 65 jobs), and then its merge group ran it all again.

What

  • A PR now runs only the fast tier: Format, Lint, Type check, Knip, Unit, Commitlint, SAST, and Security (path-scoped).
  • E2E, Build, CLI and Backend integration pass the new queue-only: 'true' input to the scope action. On a PR, their scope reports not applicable and every job skips; readiness still reports the context so the PR can enter the queue.
  • The Checks jobs Build, UI and its shards, Performance and Browser skip on PRs (CHECKS_MERGE_QUEUE_ONLY), and readiness requires them to be skipped there.
  • Merge groups still run everything at full scope. ci-ready-workflows.test.ts pins both lists to the YAML.
  • Docs: .github/CI.md (Merge queue) and .agents/repo.md (run heavy suites locally before queueing).

Release note

The regenerated .github/release-candidate-contract.json differs only in those five Checks admission conditions. Candidate behaviour is unchanged, but per .github/RELEASING.md the descriptor digest needs review in Ops before the next release.

Proof

ci-ready, ci-ready-workflows, release-candidate-workflows, ci-checks-optimization, ci-throughput, deployment-ci, and the integration-scope and turbo-inputs guards all pass (322 tests). Two failures reproduce on unchanged main: the ci-e2e-optimization audit-engine case and the release-candidate-gate full-SHA case.

With the account's 20 concurrent hosted jobs saturated, every PR push ran the
full graph and then the merge group ran it again. A PR now runs the fast tier
(format, lint, types, knip, unit, commitlint, SAST, scoped security); E2E,
Build, CLI and backend integration take the scope action's new queue-only
input, and the Checks UI, Browser, Performance and Build jobs skip on pull
requests. Readiness still reports every context, and merge groups run full
scope. The release-candidate descriptor changes only in those five Checks
admission conditions; its digest needs review in Ops before the next release.
@yannickmonney
yannickmonney merged commit fc06dbf into main Oct 9, 2026
@yannickmonney
yannickmonney deleted the ci/queue-heavy-jobs branch October 9, 2026 02:36
yannickmonney added a commit that referenced this pull request Oct 29, 2026
main no longer lands through a merge queue. A pull request now runs every
suite its paths owe, the heavy ones included (Build, E2E, CLI, UI, Browser,
Performance and backend integration), so it is validated on its own and a
failure shows on the pull request.

This reverts the queue-only scope of #4607 and removes the tools that
retired and finished orphaned merge-group runs, with their fixtures; the
Forgejo port no longer lifts a held-back condition GitHub does not set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant