Repository navigation
ci: run PR checks on PRs into release-line branches - #8015
Conversation
PR CI filtered on branches: [main], so PRs into a release-line branch such as 2.0.0 merged with no checks. Match version-named branches too. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Extend pull-request branch filters .github/workflows/intelligence-runtimes.yml, .github/workflows/static_channels-zod.yml, .github/workflows/static_check-binaries.yml, .github/workflows/static_intelligence-env-names.yml, .github/workflows/static_quality.yml, .github/workflows/static_retired-anthropic-models.yml, .github/workflows/static_starter-deps.yml, .github/workflows/test_e2e-dojo.yml, .github/workflows/test_e2e-public-examples.yml, .github/workflows/test_integration-docs.yml, .github/workflows/test_integration-runtime.yml, .github/workflows/test_ms-agent-dotnet-starter-regression.yml, .github/workflows/test_starter-clean-install.yml, .github/workflows/test_unit-python-sdk.yml, .github/workflows/test_unit-shell-docs.yml, .github/workflows/test_unit-showcase.yml, .github/workflows/test_unit.yml |
The pull-request branch filters add the numeric version pattern alongside main. Other triggers and existing path filters remain unchanged where specified. |
Priority:
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Other
Possibly related PRs
- CopilotKit/CopilotKit#7990: Adds the .NET starter regression workflow, whose pull-request filter this change extends to numeric version branches.
Merge Risk: 
Minimal · up to 675b0
-
The requested release-branch CI coverage is correctly configured.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (17 skipped: 17 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
|
Size Change: 0 B Total Size: 1.88 MB ℹ️ View Unchanged
|
A branch named for a version (e.g. 2.0.0) now publishes the monorepo scope as <version>-rc.N whenever a merge touches packages/. Users follow the line with `npm i @copilotkit/react-core@next`, as agreed in the 2.0 kickoff. rc.yml calls canary.yml, which dispatches publish-release.yml, so the single npm OIDC entry point is unchanged. The RC number comes from what npm already holds across every package in the scope, so it needs no repo state and a half-published run cannot collide. The prerelease lane now picks its dist-tag from the version: release candidates go to next, every other prerelease to its identifier (canary stays canary). It refuses to publish a stable version. The version keeps the rc identifier because 2.0.0-next.1 is already taken on npm from an earlier 2.0 attempt. Based on the prototype in CopilotKit#8013. PR checks for release-line branches are in CopilotKit#8015. Refs PE-1089
…CopilotKit#8077) Closes PE-1089. Every merge into a release-line branch (e.g. `2.0.0`) that touches `packages/` publishes the monorepo scope as `2.0.0-rc.N` under the `next` dist-tag, as agreed in the 2.0 kickoff. Users follow it with `npm i @copilotkit/react-core@next`. Built on Tyler's prototype from CopilotKit#8013, with one change: release candidates publish under `next` instead of `rc`. The version keeps the `rc` identifier because `2.0.0-next.1` is already taken on npm. - `rc.yml` calls `canary.yml`, which dispatches `publish-release.yml`, so the npm trusted-publisher entry point stays the same. - The RC number is one past the highest `2.0.0-rc.*` any package in the scope has on npm. No repo state, no collisions after a half-published run. - The prerelease lane refuses to publish a stable version. ## Verified locally - Release suite: 268 passed - `bump-prerelease.ts --scope monorepo --rc 2.0.0` against live npm → `2.0.0-rc.0` for all 18 packages, then `prerelease.ts --dry-run` → dist-tag `next` - oxlint / oxfmt clean, release scope dropdown check passes Not run locally: actionlint (runs in CI), a real run on GitHub. ## Before the first RC 1. Merge CopilotKit#8015, so PRs into `2.0.0` get CI. 2. Merge `main` into `2.0.0`, so the branch has these workflows. 3. Add a ruleset for `2.0.0` (PE-1082). From step 2 on, every push to it that touches `packages/` publishes to npm. 4. Dispatch `release / rc` on `2.0.0` with `dry_run`, then for real. ## Needs a decision - The existing `next` tag points at `1.55.2-next.1` and gets moved to the 2.0 RCs. OK? - All 18 monorepo packages ship as RCs, including vue and react-native. The kickoff said React only. I read that as where 2.0 work goes, not what gets published. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Added support for publishing release candidates from versioned release lines. Candidate versions advance to the next available `rc.N` number and are published with the `next` tag. * Package changes on versioned release lines can trigger candidate publishing automatically. Candidates can also be triggered manually, with an option to run without publishing. * **Bug Fixes** * Invalid release-candidate versions, bases that are not ahead of the current release, and incompatible release options are rejected before publishing. Canary releases continue to use the `canary` tag. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
17 PR workflows filter on
branches: [main], so PRs into the new2.0.0branch merge with no CI. This adds"[0-9]+.[0-9]+.[0-9]+"to each of thosepull_requestfilters so release-line branches get the same checks asmain. Push triggers, deploy, and release workflows are untouched.Note:
intelligence-runtimes.ymlis one of the 17 and is CODEOWNERS-gated.Replaces #8013, which also added RC auto-publishing; that part is shelved for now.
🤖 Generated with Claude Code
Summary by CodeRabbit
main.