Skip to content

release(cli): cut v0.2.5#4055

Merged
saddlepaddle merged 1 commit into
mainfrom
release/cli-v0.2.5
May 4, 2026
Merged

release(cli): cut v0.2.5#4055
saddlepaddle merged 1 commit into
mainfrom
release/cli-v0.2.5

Conversation

@saddlepaddle
Copy link
Copy Markdown
Collaborator

@saddlepaddle saddlepaddle commented May 4, 2026

Summary

  • Bumps @superset/cli to v0.2.5 (packages/cli/package.json, cli.config.ts, bun.lock).
  • Bundles the two cli-v0.2.4 regressions fixed in fix(cli): bundle pty-daemon.js + pass OAuth JWT through to relay #4054:
    • pty-daemon never bundledbuild-dist.ts only built host-service.js, host-service supervisor crashed at spawn with script not found at /home/pty-daemon/....
    • OAuth JWT 401 against relayJwtApiAuthProvider POSTed the OAuth access token to better-auth's /api/auth/token, which only accepts session tokens / api keys. The token is already a JWT signed by the relay's JWKS, so we now pass it through.

Release plan

After this PR merges, push the cli-v0.2.5 tag to fire .github/workflows/release-cli.yml.

Test plan

  • CI green on this PR
  • After tag push, verify all three matrix targets land artifacts and the published release tarball contains both lib/host-service.js and lib/pty-daemon.js
  • On a fresh machine: superset auth loginsuperset start should connect to the relay (no Failed to mint JWT: 401) and the supervisor should bootstrap (no script not found error)

Summary by cubic

Release @superset/cli v0.2.5 to fix two v0.2.4 regressions: the pty-daemon was not bundled, and OAuth logins failed with 401s when minting relay JWTs.

  • Bug Fixes
    • Build and include lib/pty-daemon.js in the dist so the supervisor can spawn it (no more “script not found” on fresh installs).
    • Update JwtApiAuthProvider to pass through the OAuth access token (relay-signed JWT) instead of POSTing to /api/auth/token, preventing 401s during relay auth.

Written for commit 02808e5. Summary will update on new commits.

Summary by CodeRabbit

  • Chores
    • CLI version updated to 0.2.5

Two cli-v0.2.4 regressions fixed:
- pty-daemon.js never bundled into the dist tarball — supervisor bricked
  at spawn with `script not found at /home/pty-daemon/dist/pty-daemon.js`
  on every fresh install (#4054).
- OAuth access tokens (CLI auth login default) sent to better-auth's
  /api/auth/token endpoint, which only handles sessions/api keys → 401
  on relay JWT mint (#4054).

Push cli-v0.2.5 after this lands to fire the release pipeline.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 4, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3b93a1e0-3263-4b4a-9aba-038966c2752b

📥 Commits

Reviewing files that changed from the base of the PR and between 1d297d4 and 02808e5.

⛔ 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

📝 Walkthrough

Walkthrough

CLI package version bumped from 0.2.4 to 0.2.5 in both the configuration constant and package manifest. The version propagates to environment variables and exported configuration.

Changes

CLI Version Bump

Layer / File(s) Summary
Version Constant
packages/cli/cli.config.ts
VERSION constant updated from "0.2.4" to "0.2.5", which propagates to process.env.SUPERSET_VERSION and the exported config's version field.
Package Manifest
packages/cli/package.json
Package version field updated from 0.2.4 to 0.2.5.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • superset-sh/superset#3974: Identical version bump of the CLI package from 0.2.4 to 0.2.5 in cli.config.ts and package.json.

Poem

🐰 A version hops from point-two-four,
To point-two-five—what could be more?
The config sings, the manifest cheers,
Another release marks the careers! ✨

✨ 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.5

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

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

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 4, 2026

Greptile Summary

This PR cuts the @superset/cli v0.2.5 release by bumping the version string from 0.2.4 to 0.2.5 across package.json, cli.config.ts, and bun.lock. The underlying fixes (pty-daemon bundling and OAuth JWT passthrough) were merged separately in #4054; this PR only carries the version stamp.

Confidence Score: 5/5

Safe to merge — all three version references are consistent and no logic is changed.

Only version strings are modified across three files, all consistently updated to 0.2.5. No logic, dependencies, or configuration values are changed beyond the version bump.

No files require special attention.

Important Files Changed

Filename Overview
packages/cli/package.json Version bumped from 0.2.4 to 0.2.5 — consistent with other changed files
packages/cli/cli.config.ts VERSION constant updated from "0.2.4" to "0.2.5" — consistent with package.json
bun.lock Lockfile version for @superset/cli bumped from 0.2.4 to 0.2.5 to reflect package.json change

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["PR #4055 merges"] --> B["Push cli-v0.2.5 tag"]
    B --> C[".github/workflows/release-cli.yml triggers"]
    C --> D["Matrix build: 3 targets"]
    D --> E["Artifacts published\n(lib/host-service.js + lib/pty-daemon.js)"]
    E --> F["Release tarball available"]
Loading

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

@saddlepaddle saddlepaddle merged commit 98bae93 into main May 4, 2026
7 of 9 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

🚀 Preview Deployment

🔗 Preview Links

Service Status Link
Neon Database (Neon) View Branch
Vercel API (Vercel) Open Preview
Vercel Web (Vercel) Open Preview
Vercel Marketing (Vercel) Open Preview
Vercel Admin (Vercel) Open Preview
Vercel Docs (Vercel) Open Preview

Preview updates automatically with new commits

@coderabbitai coderabbitai Bot mentioned this pull request May 5, 2026
3 tasks
@Kitenite Kitenite deleted the release/cli-v0.2.5 branch May 6, 2026 04:51
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