Commit 1cbbd4b
committed
Remove rename blocking during streaming
With stable IDs, workspace rename no longer requires moving files or
changing workspace ID. Rename only updates:
- metadata.name (display name)
- Symlink (~/.cmux/src/project/name → workspaceId)
Session directory (~/.cmux/sessions/workspaceId) remains unchanged,
so active streams can continue writing safely.
Changes:
- Remove isStreaming check from WORKSPACE_RENAME handler
- Remove "should block rename during active stream" test
- Simplifies UX: no more "Press Esc first" error
Benefits:
- Users can organize workspaces without interrupting work
- One less artificial limitation
- Cleaner, simpler code (-38 lines)1 parent 566803a commit 1cbbd4b
File tree
2 files changed
+0
-44
lines changed- src/services
- tests/ipcMain
2 files changed
+0
-44
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | 280 | | |
288 | 281 | | |
289 | 282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | 212 | | |
250 | 213 | | |
251 | 214 | | |
| |||
0 commit comments