Skip to content

fix(web): reuse the selected project in worktree settings - #19

Merged
donnes merged 1 commit into
mainfrom
t3code/reuse-project-selector
Sep 26, 2026
Merged

donnes merged 1 commit into
mainfrom
t3code/reuse-project-selector

Conversation

@donnes

@donnes donnes commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

What Changed

Worktree settings now use the project selected in the settings scope instead of showing a second project selector. The manager remounts when the selected project changes so stale errors and delete dialogs do not carry over.

Why

The duplicate selector could get out of sync with the project selected elsewhere in Settings. Reusing the selected project keeps worktree management consistent.

UI Changes

No screenshots included.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Summary by CodeRabbit

  • Improvements
    • Worktree settings now use the project or checkout selected in settings, keeping project selection consistent across the page.
    • The separate project selector and introductory text have been removed from the worktree manager.
    • When no project is selected, the empty-state message directs you to choose one in the settings above.

- Remove the duplicate project selector from worktree management
- Reset worktree dialogs and errors when the selected project changes
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Sep 26, 2026
@github-actions

Copy link
Copy Markdown

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 13.5 KiB 13.5 KiB −23 B (−0.2%) 15.1 KiB ✅
Codex Thread snapshot wire 7.1 KiB 7.1 KiB −3 B (−0.0%) 7.3 KiB ✅
Codex Live turn WebSocket wire 6.5 KiB 6.4 KiB −20 B (−0.3%) 7.8 KiB ✅
Codex Live turn WebSocket decoded 56.3 KiB 56.2 KiB −44 B (−0.1%) 66.4 KiB ✅
Codex Live turn messages 10 9 −1 (−10.0%) 21 ✅
Claude Total thread wire 13.5 KiB 13.5 KiB −2 B (−0.0%) 15.1 KiB ✅
Claude Thread snapshot wire 7.1 KiB 7.1 KiB +3 B (+0.0%) 7.3 KiB ✅
Claude Live turn WebSocket wire 6.4 KiB 6.4 KiB −5 B (−0.1%) 7.8 KiB ✅
Claude Live turn WebSocket decoded 57.0 KiB 57.0 KiB 0 B (0.0%) 66.4 KiB ✅
Claude Live turn messages 9 9 0 (0.0%) 21 ✅

Baseline: 3583987 · PR result: cbd2e6d · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 114.0 KiB
  • Claude decoded thread snapshot: 114.7 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@donnes
donnes merged commit c188299 into main Sep 26, 2026
19 of 20 checks passed
@donnes
donnes deleted the t3code/reuse-project-selector branch September 26, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant