Repository navigation
ci: one full run per landed commit: fast-check, merge queue tiers, ci-gate - #318
Merged
Merged
Conversation
…-gate Adopt the CI shape in cocoindex-io/.github CI.md. A new `fast-check` job runs lint, format and type checks on one runner for every ready pull request. The platform matrix becomes the full tier: cocoindex-io/.github's ci-mode action skips it on pull requests when `main` has a merge queue (the queue runs it on the commit that lands), on stack layers below the top, and on a push whose commit already passed ci-gate. `ci-gate` aggregates the jobs and is the one check to require. Drafts run no CI, a new push cancels superseded runs, merge_group and `stacked` trigger the workflow, and a nightly run keeps main's caches current. Without a merge queue, ready pull requests still run the matrix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fast-checkjob: lint, format and type checks on one Linux runner, for every ready pull request.main, ready pull requests skip it and the queue runs it on the commit that lands; the push tomainthen skips the repeat. Without a queue, every ready pull request still runs it, except stack layers below the top.ci-gateaggregates the jobs and is the one check to require. Drafts run no CI, a new push cancels superseded runs, and a nightly run keeps caches current.Test plan
check_ci_conformance.pyand actionlint pass on the workflows.main).🤖 Generated with Claude Code