Commit b9e4a85
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 a158363 commit b9e4a85
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 | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 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 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | 226 | | |
264 | 227 | | |
265 | 228 | | |
| |||
0 commit comments