Skip to content

release(cli): cut v0.2.1#3925

Merged
saddlepaddle merged 1 commit into
mainfrom
release-cli-v0.2.1
Apr 30, 2026
Merged

release(cli): cut v0.2.1#3925
saddlepaddle merged 1 commit into
mainfrom
release-cli-v0.2.1

Conversation

@saddlepaddle
Copy link
Copy Markdown
Collaborator

@saddlepaddle saddlepaddle commented Apr 30, 2026

Summary

Patch release. v0.2.0 linux-x64 tarballs crash on superset start because the bundled host-service couldn't find tokenizers.linux-x64-gnu.node. v0.2.1 picks up the fix plus the smoke-test polish + remote-access error message work landed since v0.2.0.

What's new since v0.2.0

Release flow

  1. Merge this PR (squash)
  2. Push tag cli-v0.2.1 to fire release-cli.yml — builds darwin-arm64 / linux-x64 / linux-arm64 tarballs in CI on real Linux runners and publishes them as a GitHub Release
  3. bump-homebrew.yml updates the brew formula with the new SHAs
  4. install.sh and superset update resolve to the new release

Test plan

  • CI green
  • After merge + tag push, release-cli.yml succeeds and produces three tarballs
  • On a fresh Linux host: curl -fsSL https://superset.sh/cli/install.sh | bashsuperset start brings up the host service without crashing
  • superset update from an existing v0.2.0 install resolves to v0.2.1 and replaces the install

Summary by CodeRabbit

  • Chores
    • Bumped CLI package version to 0.2.1

Patch release for the linux-x64 startup crash (PRs #3921, #3920, #3922
since v0.2.0). Push cli-v0.2.1 after this lands to fire the release
pipeline.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 30, 2026

📝 Walkthrough

Walkthrough

The pull request bumps the CLI package version from 0.2.0 to 0.2.1 across two files: the configuration file that defines the runtime version constant and the package manifest that declares the package version in metadata.

Changes

Cohort / File(s) Summary
Version Configuration
packages/cli/cli.config.ts
Updated VERSION constant from 0.2.0 to 0.2.1, affecting exported config version and compile-time define value for process.env.SUPERSET_VERSION.
Package Metadata
packages/cli/package.json
Bumped package version from 0.2.0 to 0.2.1 in @superset/cli package metadata.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A version bump, so swift and clean,
From point-two-oh to point-two-one seen!
The CLI hops along with glee,
Each number changed in harmony,
A tiny step, a release so keen! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'release(cli): cut v0.2.1' clearly and concisely describes the main change—a patch release bumping the CLI version from 0.2.0 to 0.2.1.
Description check ✅ Passed The PR description provides a comprehensive summary with clear context about the patch release, includes related issues, detailed release flow steps, and a test plan. It covers all essential information beyond the required template format.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release-cli-v0.2.1

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.

❤️ Share
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
packages/cli/cli.config.ts (1)

3-3: ⚡ Quick win

Optional: prevent future version drift between package.json and cli.config.ts.

Right now the version string is duplicated (packages/cli/package.json and packages/cli/cli.config.ts). Consider deriving VERSION from the package manifest (or generating cli.config.ts during build) so future releases can’t accidentally drift.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/cli/cli.config.ts` at line 3, The hard-coded VERSION constant causes
duplication; replace the literal const VERSION = "0.2.1" with a derived value
read from the package manifest at build/runtime (e.g., import or require the
package.json and assign VERSION = packageJson.version) or change the build to
generate cli.config.ts embedding the package version; update the symbol VERSION
accordingly so it always reflects the package.json version and remove the
duplicated string.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@packages/cli/cli.config.ts`:
- Line 3: The hard-coded VERSION constant causes duplication; replace the
literal const VERSION = "0.2.1" with a derived value read from the package
manifest at build/runtime (e.g., import or require the package.json and assign
VERSION = packageJson.version) or change the build to generate cli.config.ts
embedding the package version; update the symbol VERSION accordingly so it
always reflects the package.json version and remove the duplicated string.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b9cee988-7b97-43ae-a6e5-7b1ef005d646

📥 Commits

Reviewing files that changed from the base of the PR and between ed5b83e and ec5a32d.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • packages/cli/cli.config.ts
  • packages/cli/package.json

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 30, 2026

Greptile Summary

This PR cuts the v0.2.1 patch release of the Superset CLI by bumping the version string in package.json and the VERSION constant in cli.config.ts, with bun.lock updated accordingly. The lock file also reflects the desktop app moving to 1.7.3, which is already the version in apps/desktop/package.json on main — no inconsistency.

Confidence Score: 5/5

Safe to merge — changes are a minimal, consistent version bump across three files with no logic changes.

All three changed files are version strings only. The VERSION constant in cli.config.ts, package.json, and bun.lock all agree on 0.2.1. The desktop version in bun.lock (1.7.3) matches apps/desktop/package.json on main. No P1 or P0 issues found.

No files require special attention.

Important Files Changed

Filename Overview
packages/cli/package.json Version bumped from 0.2.0 to 0.2.1 — straightforward patch release increment, no dependency changes.
packages/cli/cli.config.ts VERSION constant updated from "0.2.0" to "0.2.1", keeping the baked-in SUPERSET_VERSION define in sync with package.json.
bun.lock Lock file reflects CLI version bump (0.2.0→0.2.1) and desktop version (1.7.2→1.7.3); desktop/package.json already reads 1.7.3 on main, so both entries are consistent.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Merge PR - squash] --> B[Push tag cli-v0.2.1]
    B --> C[release-cli.yml fires]
    C --> D[Build darwin-arm64 tarball]
    C --> E[Build linux-x64 tarball]
    C --> F[Build linux-arm64 tarball]
    D & E & F --> G[Publish GitHub Release v0.2.1]
    G --> H[bump-homebrew.yml updates brew formula]
    G --> I[install.sh resolves to v0.2.1]
    G --> J[superset update resolves to v0.2.1]
Loading

Reviews (1): Last reviewed commit: "release(cli): cut v0.2.1" | Re-trigger Greptile

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2026

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

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