Skip to content

Run CI on push only for main - #233

Merged
BunsDev merged 2 commits into
mainfrom
ci-push-main
Oct 15, 2026
Merged

BunsDev merged 2 commits into
mainfrom
ci-push-main

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

CI now runs on push only for main. Pull requests are unchanged: every PR, whatever its base, still runs on pull_request.

Why

  • The PR's own run reports the required unit + e2e (macOS) check. A push-event run on a PR branch only queued a second, identical macOS run beside it, so each push cost two runs of both macOS jobs.
  • On 2026-10-15 about 30 CI runs sat queued for 2–3 hosted macos-latest runners. Required checks waited more than 90 minutes just to start.
  • Cancelling the duplicates by hand isn't a workaround:
    • GitHub keeps the cancelled required check on the head commit and reports the PR as BLOCKED.
    • The merge script ranks a run cancelled while queued as the newest.
    • So every cancelled job had to be re-run.

What stays the same

  • main runs CI after every merge, as before.
  • Releases are unaffected. release.yml has its own v* tag trigger and its own macOS job, and doesn't wait on ci.yml. The tagged commit is a squash commit on main that already ran CI.
  • The ruleset still requires unit + e2e (macOS), which the PR run reports. Direct pushes to main are still rejected.
  • The concurrency group (ci-${{ github.ref }}) is unchanged. PR runs are grouped by refs/pull/N/merge.

What changes

  • No PR, no CI: a branch pushed without a PR gets no CI until one is opened.
  • Tag pushes: they no longer start a CI run either. Their commit is already on main, so that run was a duplicate too.

Checks: this PR's own CI is the test. Expect one CI run, from pull_request, and no push run for ci-push-main. docs/status.md is updated.

A pull request's own run reports the required unit + e2e (macOS) check, so
a push-event run on a PR branch only queued a second, identical macOS run
beside it. On 2026-10-15 about 30 runs waited for 2-3 hosted macOS runners.
main still runs after every merge, and the Release workflow keeps its own
tag trigger.

Coven-Harness: Claude Code / claude-opus-5-5
@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 15, 2026 1:57pm UTC

Request Review

@BunsDev
BunsDev merged commit 2c8c402 into main Oct 15, 2026
10 checks passed
@BunsDev
BunsDev deleted the ci-push-main branch October 15, 2026 15:41

This branch was successfully deployed

1 active deployment
Preview — 5108e007 Deployed Oct 15, 2026 by vercel[bot]
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