build(release): automate package versioning#18
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Warning Review limit reached
Next review available in: 35 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 37eb9ae76f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| shell: bash | ||
| run: | | ||
| head_branch=$(jq --exit-status --raw-output '.headBranchName' <<< "$PR") | ||
| gh workflow run ci.yml --ref "$head_branch" |
There was a problem hiding this comment.
Pass the repository to gh before dispatching CI
When Release Please creates or updates a PR, this step runs in a job that never checks out the repository and does not set GH_REPO, so gh workflow run has no local Git remote from which to determine the target repository and the dispatch fails instead of running CI for the bot-created head. The gh workflow run manual exposes -R, --repo [HOST/]OWNER/REPO for this context; pass --repo "$GITHUB_REPOSITORY" (or set GH_REPO) here so release PR verification actually runs.
Useful? React with 👍 / 👎.
Greptile SummaryAdds Release Please automation for synchronized SDK and CLI version updates while retaining the existing publishing workflow.
Confidence Score: 5/5The PR appears safe to merge, with the release automation aligned to the existing CI and publishing workflow. The configured version sources agree, release verification gates the existing publication path, the generated tag format matches the publisher, and no concrete changed-code failure remains.
What T-Rex did
|
| Filename | Overview |
|---|---|
| .github/workflows/release-please.yml | Adds a pinned Release Please workflow and dispatches the existing CI workflow against generated release pull-request branches. |
| release-please-config.json | Configures a single simple release that synchronizes both package manifests, the hosted-client version constant, and version.txt. |
| scripts/verify-release-packages.mjs | Expands release verification to ensure the SDK, CLI, Release Please manifest, and version file agree before existing artifact compatibility checks run. |
| packages/filerouter/src/hosted.ts | Updates the exported runtime version to 0.4.0 and marks it for Release Please’s generic updater. |
| packages/filerouter/package.json | Bumps the published SDK package version to 0.4.0. |
| packages/cli/package.json | Bumps the CLI package version to 0.4.0 in lockstep with the SDK. |
Reviews (1): Last reviewed commit: "chore(release): prepare 0.4.0" | Re-trigger Greptile
Summary
0.4.0Why
The deployed hosted API and published
@file_router/sdk@0.3.0have drifted. The current publisher is safe, but it only runs after somebody manually edits both package versions. This adds the missing automated version-PR boundary while retaining review and the existing npm trusted-publishing workflow.Changes
version.txtand a manifest, with release verification covering all version sources0.4.0The organization currently blocks Actions-created pull requests. The workflow is ready, but that organization policy must be enabled before Release Please can open its first automated PR.
Testing
pnpm checkpnpm testpnpm release:verifyReview Notes
Start with
.github/workflows/release-please.ymlandrelease-please-config.json. The publisher remains unchanged.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Automates versioning and creates release PRs with Release Please. Keeps
@file_router/sdk,@file_router/cli, and the hosted client in sync and bumps to 0.4.0.New Features
Prepare releaseworkflow usinggoogleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071(pinned)..release-please-manifest.jsonandversion.txt; extended verification to ensure CLI, manifest, and version file match SDK version.ci.ymlon bot-created release PR heads.Migration
Written for commit 37eb9ae. Summary will update on new commits.