fix(web): choose a server for grouped projects - #8012
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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.
Two UI consistency findings in the new "New thread in..." destination rows. Details inline.
Posted via Macroscope — UI Consistency
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 399d9c8. Configure here.
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — The PR changes new-thread routing across the command palette, sidebar button, and global shortcut, adding a server-selection submenu for grouped projects. Because the selected environment determines where the thread is created, the cross-cutting user-facing behavior warrants human review. You can add or adjust custom eligibility rules. Learn more. |
There was a problem hiding this comment.
One finding: the latest commit drops the local/remote environment icon distinction in the new-thread destination rows.
Posted via Macroscope — UI Consistency

Grouped projects can exist on more than one T3 environment, but the new-thread picker only showed the representative server. The sidebar also treated that group as a single choice, so it skipped the picker even though the user still had to choose where the thread should run.
This shows the server count on grouped project rows and opens a
Run onlist with every server and workspace path. The sidebar button andchat.newshortcut now count server destinations, while single-server projects and the direct-create shortcut keep their existing behavior.Proof
Before
The grouped project row showed one server with no indication that another copy existed.
After
The row shows
2 servers.Opening the row shows the full server list. Playwright also selected
workbench-01and confirmed the composer changed itsRun onvalue.Verification
Created by GPT-5.6-Sol through the Codex harness in T3 Code.
Note
Medium Risk
Changes when new threads are created vs routed through the picker, so a destination-count bug could skip the picker or create threads on the wrong environment.
Overview
New threads for a grouped project now treat each unique environment as a destination, not the group as a single choice.
The command palette “New thread in…” row shows a server count and opens a Run on submenu with every server and workspace path. The sidebar new-thread button and
chat.newuse the same destination count, so a single grouped project on two servers still opens the picker. Shift-click /chat.newLocalstill create in the current project.Primary environment labels in the palette use
resolveEnvironmentOptionLabelinstead of a hardcoded “Local”.Reviewed by Cursor Bugbot for commit db5c47c. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Show server destination picker for grouped projects in Command Palette
countNewThreadDestinationsandlistNewThreadProjectDestinationsto count and list distinct environment destinations across grouped projectschat.newshortcut now open the picker based on destination count instead of project group countenumerateCommandPaletteItemsacceptsCommandPaletteSubmenuItemalongside action itemsresolveEnvironmentOptionLabelinstead of a hardcoded 'Local' stringshouldCreateNewThreadInCurrentProjectparameter renamed fromprojectGroupCounttodestinationCount; callers in Sidebar.tsx and _chat.tsx now pass distinct environment countsMacroscope summarized db5c47c.