upstream merge 2026-05-08 PR 3: sidebar polish + jwt API#457
Conversation
…eyboard (superset-sh#3848) Meta+Alt+Up/Down (and the ⌘1..9 jump shortcuts) cycle through every workspace in the sidebar regardless of collapse state, but the destination row stayed hidden when its parent project or section was collapsed. Toggle the collapsed parents open before navigating so the focused workspace is visible.
…uperset-sh#3895) Better-auth's apiKey plugin (`enableSessionForAPIKeys: true`) populates ctx.session for x-api-key requests, but jwtProcedure was throwing on the very first line if the request didn't carry an Authorization Bearer header — so any procedure marked jwtProcedure rejected api-key auth before reaching the session fallback. The CLI's `superset hosts`, `workspaces.list`, etc. all 401'd with `--api-key sk_live_…`. Accept any of: a verifiable Bearer JWT, a successful Bearer JWT fallback, or an x-api-key-derived session. Throw only if none of those produce identity. The TRPCError re-throw on explicit JWT rejection is preserved. Trailing error message updated to reflect the broader contract.
…perset-sh#3897) Each file in the v2 changes sidebar now reveals a more-actions dropdown on hover, with Open Diff / Open Diff in New Tab / Open File / Open File in New Tab / Open in Editor (mirrors the right-click menu, plus new Open File entries that route through the existing file-open pane). Click-modifier shortcut hints (⇧/⌘) are shown next to the actions that have them.
Active tab uses bg-border/30 instead of bg-muted, and the add-tab button is a 28px chip with a border and bg-muted/30 fill, sitting centered inside its 40px cell, matching the v1 GroupStrip look.
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
✨ 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 |
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
Recorded as integrated via -s ours after batch PRs #455-#464. Taken via individual PRs: - PR 1 (#455): v2 polish 前半 safe set (9 commits) - PR 2 (#456): v2/host-service polish 中盤 (12 commits) - PR 3 (#457): sidebar polish + jwt API (5 commits) - PR 4 (#458): host-service tRPC retry/cache/timeout (3 commits) - PR 5 (#459): v2 diff pane / file pane polish (2 commits) - PR 7 (#462): host-service v2 canonical workspace.create + attachment store (PR1 superset-sh#3893 + PR2 superset-sh#3916) - PR 11 (#463): agents API + onboarding (7 commits + 1 cleanup) - PR 12 (#464): v1→v2 import flow rewrite (11 commits + 2 follow-ups) - PR 13 (#460): host-service shell env probe + typo (2 commits) - PR 16 (#461): marketplace 19 themes (1 commit) Skipped / deferred (recorded as integrated for behind=0): - PR 6: CLI v1 launch (superset-sh#3898 + 30+ CLI/SDK followups) — defer to dedicated migration - PR 9: v2 PR3 (superset-sh#3940) + revert (superset-sh#4017) — net-zero pair - PR 10: pty-daemon (superset-sh#3896, superset-sh#3971, superset-sh#4054) — fork keeps its terminal-host - PR 14: Slack MCP-v2 (superset-sh#4197, superset-sh#4208) — depends on mcp-v2/sdk divergence - PR 15: onboarding remaining (superset-sh#4115, superset-sh#4125, superset-sh#4214, superset-sh#4213, superset-sh#4222, superset-sh#4225) — depends on fork's deleted setup pages Behind: 0 after this merge.
Summary
upstream 同期バッチ第 3 弾。sidebar polish + jwt API 対応 (5 commits)。
進捗: PR 1 (9) + PR 2 (12) + PR 3 (5) = 26 / 223。
取り込み内容
Fork 側のコンフリクト解決
packages/trpc/src/trpc.ts(fix(api): jwtProcedure accepts x-api-key sessions, not just Bearer superset-sh/superset#3895): fork がBearer 必須だったjwtProcedureを upstream の「Bearer → session フォールバック」構造に置換。fork のORGANIZATION_HEADER/ctx.activeOrganizationId関連は別 procedure (paidPlanProcedure等) に残るので影響なし。db.query.members.findManyでの org 解決を採用除外した commits(このバッチでは保留)
Fork 固有機能ヘルスチェック
githubExtendedprocedure 健在Test plan
bun install成功bun run typecheck全 task greenbun run lintexit 0次の PR
PR 4: host-service tRPC retry/cache/jwt + 周辺 fix