Skip to content

Revert "fix(workspace): show launch actions in empty tab groups" - #32838

Merged
AmethystLiang merged 2 commits into
mainfrom
revert-32182-fix-empty-screen-when-no-terminal
Oct 23, 2026
Merged

AmethystLiang merged 2 commits into
mainfrom
revert-32182-fix-empty-screen-when-no-terminal

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 2 0 $\color{#cf222e}{\Huge{\mathbf{−}}}$​83 $\color{#cf222e}{\Huge{\mathbf{−}}}$​83
Prod 12 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​4 $\color{#cf222e}{\Huge{\mathbf{−}}}$​294 $\color{#cf222e}{\Huge{\mathbf{−}}}$​290

Reverts #32182

@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 32e91fe3-0dd3-4497-ad2b-5be27b77d827
📥 Commits

Reviewing files that changed from the base of the PR and between 409bd9e and 13e9091.

📒 Files selected for processing: 8
  • src/renderer/src/components/WorkspaceEmptyAgentList.tsx
  • src/renderer/src/components/WorkspaceEmptyState.tsx
  • src/renderer/src/components/tab-bar/QuickLaunchButton.launch-status.test.tsx
  • src/renderer/src/components/tab-group/TabGroupPanel.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/lib/client-creation-action-policy.ts
  • src/renderer/src/store/slices/cmd-j-create-actions.test.ts
  • src/renderer/src/store/terminals/terminal-active-workspace-creation.ts
💤 Files with no reviewable changes: 6
  • src/renderer/src/components/WorkspaceEmptyAgentList.tsx
  • src/renderer/src/components/WorkspaceEmptyState.tsx
  • src/renderer/src/components/tab-bar/QuickLaunchButton.launch-status.test.tsx
  • src/renderer/src/components/tab-group/TabGroupPanel.tsx
  • src/renderer/src/store/slices/cmd-j-create-actions.test.ts
  • src/renderer/src/i18n/locales/en.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

📝 Walkthrough

The pull request removes the workspace empty-state components and their rendering condition, English strings, and related launch test. It also changes terminal creation to select the active worktree directly and moves runtime environment selection into getClientCreationActionPolicy. Several tests for terminal creation routing were removed.

Priority: ➖ Normal

Merge Risk: ⚪ Minimal · up to 13e90

The revert removes the empty-workspace launch UI. No actionable terminal-routing failure was established at the reviewed head; the change is mergeable after normal checks.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description only says the PR reverts #32182. It does not fill in the template sections: ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, AI Disclosure, Review, Agent skil… Fill in the template sections. Explain in plain language what the revert restores: the removal of WorkspaceEmptyAgentList, WorkspaceEmptyState, and the related policy and terminal routing changes. State why the revert is needed, and link an…
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title states that the PR reverts the commit 'fix(workspace): show launch actions in empty tab groups'. The objectives confirm it reverts #32182. The title names the main change, so it…
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.
Full details: Title check

Explanation

The title states that the PR reverts the commit 'fix(workspace): show launch actions in empty tab groups'. The objectives confirm it reverts #32182. The title names the main change, so it passes.

Full details: Description check

Explanation

The description only says the PR reverts #32182. It does not fill in the template sections: ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist. The description is largely incomplete, so the check fails.

Resolution

Fill in the template sections. Explain in plain language what the revert restores: the removal of WorkspaceEmptyAgentList, WorkspaceEmptyState, and the related policy and terminal routing changes. State why the revert is needed, and link an actual issue. Under Visual Proof, add before and after media for the empty tab group UI, or write N/A with a reason. Under Testing, list the platforms tested and the tests run. Complete the Checklist items and the Agent skill upstream boundary check.

✨ Finishing Touches: 💡 2
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks: 💡
  • 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.

❤️ Share

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

@AmethystLiang
AmethystLiang merged commit 7eec4ff into main Oct 23, 2026
27 of 28 checks passed
sj900211 added a commit to sj900211/orcinus that referenced this pull request Oct 30, 2026
One day of upstream past stage 13: 365 commits and 24 conflicting files, base
`120f01331ca`. Three cluster analysts, one implementer, one independent critic,
which returned ACCEPT with 0 blocking defects.

The target is the parent of the PTY delivery refactor `ad1b81d53a0` (stablyai#33358,
"group PTY delivery and drain ownership"), which is left to stage 15 on its own.
The remaining gap after this merge is about 1,685 commits.

## Most PTY conflicts were comments

Bisection showed the first upstream commit to make any PTY file conflict is
`3286f3b2591` (stablyai#32966, a comment audit); before it there were 5 conflicts and no
PTY ones. 16 of the 24 conflicts are that audit colliding with the fork's
per-window delivery code. Each was resolved as the fork's code with upstream's
comment text, adapted where it now misdescribes per-window behaviour, and the
critic confirmed by token comparison that the resolved code is identical to
`main` in all 16 (two more resolved files also qualify).

## Collateral outside the conflict list

- `terminal-query-responder.test.ts`: upstream stablyai#33273 wrote a one-argument
  `markHiddenRendererPty` call against the single-window gate; the fork keys
  marks by `webContentsId`, so the test now marks `GATE_WINDOW`.
- `pty-spawn-env-terminal-basics.test.ts`: a cast upstream removed is restored
  with a `SAFETY:` reason, because the fork's `registerPtyHandlers` takes a
  `BrowserWindow` for owner routing.
- `local-file-access.test.ts`: the fork's census still named
  `WorkspaceEmptyState.tsx`, which upstream deleted when reverting stablyai#32182
  (stablyai#32838). Its renderer-relative path hid it from the repo-rooted path sweep;
  the regression sweep found it.

## Identity

`LOCAL_HOST_ROOT_NAME = 'Orcinus'` and the `sj900211/orcinus` release feed
(`TAG_HREF_RE`) survive; the identity guard passes with `upstreamRefs=0`. The
guard cannot see regex-escaped URLs, so the feed's unit test is what protects
that hunk. Pre-existing `stablyai` drift in the prerelease feed's download regex
and its readiness-test mocks is left for a separate commit so this merge stays
attributable.

## Gates

Cold typecheck 0 errors (17,824 files), full-tree oxlint 0 errors and 0
`max-lines` (`register-handlers.ts` and `daemon-host-relocation.ts` at 297/300),
identity guard OK, fork contracts green. A full `discoverUnitFiles()` sweep on
three trees (13,498 / 13,523 / 13,585 files, missing=0) raised 81 merge-only
tests; isolated and serial rechecks attribute every one to Windows EPERM
teardown or shell timing that also fails on the baselines, leaving 0. The
critic's independent 807-file resample on LF trees agrees.

Not applied here, by ruling: cosmetic comment ports into fork-only extractions,
and upstream stablyai#32940's main-window-only project-move pause barrier, which has no
production caller yet and is a watch item for when upstream wires one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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