Skip to content

Dispatch CI for bot release merges and keep main runs - #406

Merged
tylerreckart merged 2 commits into
mainfrom
cursor/release-ci-concurrency-2ba9
Oct 15, 2026
Merged

tylerreckart merged 2 commits into
mainfrom
cursor/release-ci-concurrency-2ba9

Conversation

@tylerreckart

Copy link
Copy Markdown
Owner

A pull request that sets project(arbiter VERSION 1.0.0) is the 1.0 cut. After it merges and CI is green on that main commit, version.yml tags v1.0.0 because CMakeLists is already ahead of the latest tag. It does not open a second release PR. Do not use Actions → Version bump → major for that cut.

Bot-opened chore(release): vX.Y.Z pulls are pushed and squash-merged with GITHUB_TOKEN. Those events do not start workflows. The version job now dispatches ci.yml on the release branch, waits, squash-merges, dispatches ci.yml on the squash commit, waits for that run, and only then tags. The tag is created only after a fresh fetch shows it is still absent.

ci.yml accepts workflow_dispatch so those dispatches have a workflow to start. Concurrency cancels an in-progress run only for pull requests. A push to main no longer cancels another main run.

The version job timeout is 150 minutes because it may wait on two CI runs, and the TSan leg's own budget is 60 minutes.

CONTRIBUTING.md describes the 1.0 pull-request path and names the five CI jobs that need to be required checks. Marking them required is a branch-protection change only Tyler can make.

Tests

test_bump_version.sh (34 cases) and test_require_ci_success.sh pass locally. The version-step shell parses with bash -n.

Open in Web Open in Cursor 

cursoragent and others added 2 commits October 15, 2026 13:22
A pull request that sets project(arbiter VERSION 1.0.0) tags on merge after green CI. Bot release pushes use GITHUB_TOKEN, so version.yml now dispatches ci.yml on the release branch and again on the squash commit before it tags. Pull-request CI still cancels superseded runs; pushes to main do not.

Co-authored-by: Tyler Reckart <tylerreckart@users.noreply.github.com>
@tylerreckart
tylerreckart marked this pull request as ready for review October 15, 2026 15:05
@tylerreckart
tylerreckart merged commit 9cc72f2 into main Oct 15, 2026
5 checks passed
@tylerreckart
tylerreckart deleted the cursor/release-ci-concurrency-2ba9 branch October 15, 2026 15:05
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.

2 participants