Skip to content

ci: run pull-request checks only when ci-full is applied - #1773

Merged
ScriptedAlchemy merged 1 commit into
masterfrom
ci/explicit-pr-runs
Sep 18, 2026
Merged

ScriptedAlchemy merged 1 commit into
masterfrom
ci/explicit-pr-runs

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Why #1744 was insufficient

GitHub creates/queues the workflow run before evaluating job-level if. The 130-PR swarm later marked many drafts ready; at 10:00 there were 173 open PRs and 80 queued CI runs ahead of beta.45 publish, even though no runner was active. A skipped-job policy cannot prevent the run queue itself.

On-demand PR policy

  • CI, Plugin Validation, and SDK conformance pull-request triggers are types: [labeled] only.
  • Their jobs run only when the event applies ci-full.
  • Opening, pushing, reopening, and marking ready create no workflow run at all.
  • Add ci-full to test the current head. After another push, remove and re-add it to test the new head.
  • ci-os, ci-hosts, and perf still extend that explicit dispatch.
  • Master pushes are unchanged (and superseded master runs cancel).

This is the only GitHub-native way to prevent untrusted/unbounded PR volume from occupying the run FIFO; job-level conditions are too late.

CONTRIBUTING.md updated. actionlint, release safety, and Rust cache-lineage guards pass.

GitHub creates and queues a workflow run before it evaluates job-level `if`.
After agents marked a swarm ready, 80 CI runs sat ahead of release publish
even though earlier draft guards had kept their jobs light. Pull-request CI,
plugin validation, and SDK conformance now trigger only on a label event and
run only when that event applies ci-full. Opening, pushing, and marking ready
create no run. Remove and re-add ci-full after a new push to test that head;
ci-os, ci-hosts, and perf still extend that dispatch.
@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: ae605c2

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 19665aa into master Sep 18, 2026
1 check 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