@devries-cameron20 / t3code-1 / commits / 4b316fd544
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): clear deleted checkout labels from the sidebar (#25063)

Julius Marminge committed Nov 13, 2026 at 08:52 UTC 4b316fd5445b8921985b9ac2b1b8075fbe08a688
1 file changed +9 -1
apps/server/src/ws.ts
+9 -1
@@ -3157,7 +3157,15 @@ export const layerWsRpc = (
3157 [WS_METHODS.vcsCreateWorktree]: (input) =>
3158 gitWorkflow.createWorktree(input).pipe(Effect.tap(() => refreshGitStatus(input.cwd))),
3159 [WS_METHODS.vcsRemoveWorktree]: (input) =>
3160 - gitWorkflow.removeWorktree(input).pipe(Effect.tap(() => refreshGitStatus(input.cwd))),
3160 + gitWorkflow.removeWorktree(input).pipe(
3161 + Effect.tap(() => refreshGitStatus(input.cwd)),
3162 + // Subscribers of the removed checkout learn it is no longer a repository.
3163 + Effect.tap(() =>
3164 + vcsStatusBroadcaster
3165 + .refreshLocalStatus(input.path)
3166 + .pipe(Effect.ignoreCause({ log: true }), Effect.forkDetach, Effect.asVoid),
3167 + ),
3168 + ),
3169 [WS_METHODS.vcsCreateRef]: (input) =>
3170 gitWorkflow.createRef(input).pipe(Effect.tap(() => refreshGitStatus(input.cwd))),
3171 [WS_METHODS.vcsSwitchRef]: (input) =>