liuhao1024
0e21933114
fix(kanban): only sweep a parent workspace once the parent itself is terminal
...
The deferred parent sweep added for #33774 reaps a parent's scratch or
worktree workspace as soon as it has no active children left, without
checking the parent's own status (#133501 ). Archiving or finishing the
last active child of a parent that is still running/blocked/review
deletes the parent's live workspace from under its worker; the shared
workspace guard does not catch it because _OTHER_LIVE_PATHS_SQL excludes
the task being cleaned, i.e. the parent itself.
Gate the sweep on the parent being terminal (the same status set as
_ACTIVE_CHILDREN_SQL), so a live parent keeps its dir and reaps it at
its own terminal transition. #33774 semantics are unchanged: a parent
that finished while children still needed its handoff files is still
swept when the last child drains.
(cherry picked from commit 81f6588bbc5346097ab17e3660636c8a3be7319a)
2026-10-07 11:48:04 -04:00
..
2026-10-06 10:11:33 -04:00
2026-10-06 18:00:58 -04:00
2026-10-07 04:51:23 -07:00
2026-10-06 18:00:58 -04:00
2026-10-06 23:14:10 +05:30
2026-10-06 17:22:46 -04:00
2026-10-06 14:22:13 -07:00
2026-10-06 12:28:55 -04:00
2026-10-07 02:29:54 -07:00
2026-10-06 16:08:23 -04:00
2026-10-06 16:07:56 -04:00
2026-10-06 14:22:13 -07:00
2026-10-06 23:54:51 -05:00
2026-10-06 11:17:11 -04:00
2026-10-06 11:10:45 -04:00
2026-10-06 11:14:34 -04:00
2026-10-06 11:14:42 -04:00
2026-10-06 11:17:11 -04:00
2026-10-06 06:22:28 -07:00
2026-10-06 06:22:27 -07:00
2026-10-07 10:20:18 +05:30
2026-10-06 06:22:29 -07:00
2026-10-06 15:00:21 -05:00
2026-10-07 07:18:58 -07:00
2026-10-06 06:22:27 -07:00
2026-10-06 14:23:00 -04:00
2026-10-07 11:19:10 +05:30
2026-10-06 15:15:06 -04:00
2026-10-07 11:19:10 +05:30
2026-10-07 11:48:04 -04:00
2026-10-06 16:07:55 -04:00
2026-10-06 16:08:23 -04:00
2026-10-06 16:08:22 -04:00
2026-10-06 16:07:55 -04:00
2026-10-06 16:07:56 -04:00
2026-10-06 20:11:00 -04:00
2026-10-06 16:07:56 -04:00
2026-10-06 11:10:43 -07:00
2026-10-06 14:22:13 -07:00
2026-10-06 14:57:23 -05:00
2026-10-06 14:57:23 -05:00
2026-10-06 14:57:23 -05:00
2026-10-06 17:23:23 -04:00
2026-10-06 12:28:00 -04:00
2026-10-06 12:27:41 -04:00
2026-10-06 13:23:15 -04:00
2026-10-06 13:23:15 -04:00
2026-10-06 06:22:29 -07:00
2026-10-06 17:22:18 -04:00
2026-10-07 11:27:35 +05:30
2026-10-06 23:14:10 +05:30
2026-10-06 21:43:55 -07:00
2026-10-06 10:11:33 -04:00
2026-10-06 14:22:13 -07:00
2026-10-06 11:10:43 -07:00
2026-10-07 07:10:22 -07:00
2026-10-06 11:10:43 -07:00
2026-10-07 07:10:22 -07:00
2026-10-07 06:15:58 -07:00
2026-10-06 11:10:43 -07:00
2026-10-06 11:10:43 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:20:31 -07:00
2026-10-06 06:20:30 -07:00
2026-10-06 22:01:38 -07:00
2026-10-07 05:01:57 -07:00
2026-10-06 06:22:29 -07:00
2026-10-06 06:21:58 -07:00
2026-10-07 07:13:00 -07:00
2026-10-06 06:22:29 -07:00
2026-10-06 06:21:09 -07:00
2026-10-06 06:21:58 -07:00
2026-10-06 06:22:29 -07:00
2026-10-06 06:22:29 -07:00
2026-10-06 06:22:29 -07:00
2026-10-06 06:22:28 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:38:56 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 16:36:33 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:18:39 -07:00
2026-10-07 04:39:00 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:21:58 -07:00
2026-10-06 06:22:29 -07:00
2026-10-06 06:20:32 -07:00
2026-10-06 06:22:27 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:22:28 -07:00
2026-10-06 06:22:29 -07:00
2026-10-06 06:22:28 -07:00
2026-10-06 06:22:29 -07:00
2026-10-07 07:18:58 -07:00
2026-10-06 12:59:08 -05:00
2026-10-06 11:19:16 -04:00
2026-10-06 14:51:20 -04:00
2026-10-06 11:15:27 -04:00
2026-10-06 11:15:20 -04:00
2026-10-06 12:27:22 -04:00
2026-10-06 12:30:01 -04:00
2026-10-06 17:22:39 -04:00
2026-10-06 12:28:06 -04:00
2026-10-06 21:52:50 -05:00
2026-10-06 12:27:29 -04:00
2026-10-06 12:03:11 -04:00
2026-10-06 12:00:47 -04:00
2026-10-06 23:13:01 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:18:39 -07:00
2026-10-06 06:18:39 -07:00