Skip to content

ci: run no job at all on draft pull requests - #1744

Merged
ScriptedAlchemy merged 1 commit into
masterfrom
ci/drafts-cost-nothing
Sep 18, 2026
Merged

ScriptedAlchemy merged 1 commit into
masterfrom
ci/drafts-cost-nothing

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Follow-up to #1581/#1592. At 07:17–07:21 another lane opened ~130 draft PRs ("test(mcp): prove tracedecay_X behavior"). Under the current policy each draft ran three light gates, which put 113 CI runs in the queue ahead of beta.44's publish job and the release-please refresh. I cancelled those runs by hand (queue 116 → 3).

Drafts now run no job: scope-gate, gates, and benchmark-harness carry the same if (push, or non-draft, or ci-full), and every guarded job already keys off scope-gate's outputs, so a skipped scope-gate skips the run without consuming a runner. plugin-validation and sdk-conformance already skip drafts at job level. CONTRIBUTING.md updated.

actionlint, tests/release_safety_test.sh, scripts/check-rust-cache-lineage.py pass.

Even three light gates per draft is too much when a swarm opens 130 drafts
in ten minutes: 113 CI runs queued ahead of the release publish and the
release-please refresh. A skipped job costs no runner, and every guarded job
reads scope-gate's outputs, so skipping scope-gate on a draft skips the run.
Marking the PR ready or adding ci-full still runs everything it earned.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@changeset-bot

changeset-bot Bot commented Sep 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a753592

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit f3f408c into master Sep 18, 2026
1 of 7 checks passed
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