Fusion
399c7048cb
fix(dashboard): prevent foreign-branch diffs after worktree pool reuse
...
When the worktree-recycle pool reassigned a path to a new task, the old
task's diff endpoints kept reading the new task's branch state — surfacing
unrelated commits as the original task's "files changed" list.
- Clear task.worktree/branch in the merger after the worktree is released
to the pool or removed, so the path no longer points anywhere.
- Validate the worktree's current branch matches task.branch in the three
worktree-backed diff endpoints; on mismatch return empty rather than
diffing against a foreign branch.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-27 11:34:49 -07:00
..
2026-04-27 09:21:03 -07:00
2026-04-18 12:14:43 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 23:22:46 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 09:38:16 -07:00
2026-04-27 08:53:09 -07:00
2026-04-27 08:53:09 -07:00
2026-04-22 09:56:26 -07:00
2026-04-22 11:43:26 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 03:13:32 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-22 09:56:26 -07:00
2026-04-27 08:45:49 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 13:46:00 -07:00
2026-04-24 19:39:20 -07:00
2026-04-27 04:05:25 -07:00
2026-04-25 10:21:03 -07:00
2026-04-27 04:05:25 -07:00
2026-04-25 00:07:19 -07:00
2026-04-25 00:07:19 -07:00
2026-04-27 00:14:18 -07:00
2026-04-25 01:45:29 -07:00
2026-04-25 01:45:29 -07:00
2026-04-24 22:25:57 -07:00
2026-04-27 08:45:49 -07:00
2026-04-27 04:05:25 -07:00
2026-04-25 15:11:54 -07:00
2026-04-25 07:59:48 -07:00
2026-04-25 07:59:48 -07:00
2026-04-27 01:22:28 -07:00
2026-04-27 01:22:28 -07:00
2026-04-24 13:24:49 -07:00
2026-04-27 04:05:25 -07:00
2026-04-25 07:59:48 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 04:05:25 -07:00
2026-04-24 09:38:16 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 19:35:47 -07:00
2026-04-25 10:55:06 -07:00
2026-04-26 23:35:18 -07:00
2026-04-26 23:47:22 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-26 22:50:51 -07:00
2026-04-26 22:50:51 -07:00
2026-04-25 11:28:33 -07:00
2026-04-25 11:28:33 -07:00
2026-04-25 08:43:54 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-26 10:01:21 -07:00
2026-04-27 03:07:58 -07:00
2026-04-25 10:50:32 -07:00
2026-04-25 10:56:41 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-03-30 23:39:40 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-23 23:02:35 -07:00
2026-04-25 10:56:41 -07:00
2026-04-24 19:39:20 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 00:39:28 -07:00
2026-04-27 08:49:12 -07:00
2026-04-25 08:54:41 -07:00
2026-04-25 08:54:41 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 11:10:51 -07:00
2026-04-26 14:06:48 -07:00
2026-04-27 02:24:21 -07:00
2026-04-27 02:24:21 -07:00
2026-04-27 03:07:58 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 11:10:10 -07:00
2026-04-26 02:15:54 -07:00
2026-04-26 02:15:54 -07:00
2026-04-02 14:04:46 -07:00
2026-04-24 09:38:16 -07:00
2026-04-23 23:02:36 -07:00
2026-04-23 23:02:36 -07:00
2026-04-19 20:48:13 -07:00
2026-04-27 04:05:25 -07:00
2026-04-24 19:39:20 -07:00
2026-04-26 12:25:10 -07:00
2026-04-27 03:07:58 -07:00
2026-04-27 08:49:12 -07:00
2026-04-25 07:04:50 -07:00
2026-04-25 07:04:50 -07:00
2026-04-26 11:44:33 -07:00
2026-04-26 12:25:10 -07:00
2026-04-26 11:39:08 -07:00
2026-04-26 12:25:10 -07:00
2026-04-27 09:21:03 -07:00
2026-04-27 09:21:03 -07:00
2026-04-25 11:21:35 -07:00
2026-04-27 04:05:25 -07:00
2026-04-24 09:38:16 -07:00
2026-04-24 09:38:16 -07:00
2026-04-09 13:01:19 -07:00
2026-04-24 22:25:57 -07:00
2026-04-24 19:39:20 -07:00
2026-04-17 08:01:38 -07:00
2026-04-24 22:54:44 -07:00
2026-04-25 07:04:50 -07:00
2026-04-25 13:46:00 -07:00
2026-04-25 13:46:00 -07:00
2026-04-27 09:42:27 -07:00
2026-04-25 11:01:36 -07:00
2026-04-25 13:46:00 -07:00
2026-04-27 04:05:25 -07:00
2026-04-16 11:51:47 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-22 13:57:10 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-08 11:00:32 -07:00
2026-04-01 01:36:24 -07:00
2026-04-06 15:05:21 -07:00
2026-04-07 23:30:32 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-26 22:17:19 -07:00
2026-04-24 19:39:20 -07:00
2026-04-27 02:29:40 -07:00
2026-04-23 23:02:36 -07:00
2026-04-27 05:17:32 -07:00
2026-04-27 01:22:28 -07:00
2026-04-25 08:43:54 -07:00
2026-04-26 12:25:10 -07:00
2026-04-24 19:39:20 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 04:05:25 -07:00
2026-04-23 23:02:36 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 03:30:54 -07:00
2026-04-23 23:02:36 -07:00
2026-04-15 09:45:57 -07:00
2026-04-27 03:30:54 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 22:54:44 -07:00
2026-04-24 19:39:20 -07:00
2026-04-27 02:24:21 -07:00
2026-04-27 08:49:12 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 22:25:57 -07:00
2026-04-24 19:39:20 -07:00
2026-04-16 04:38:05 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 07:04:50 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 12:40:32 -07:00
2026-04-24 19:39:20 -07:00
2026-04-26 14:06:48 -07:00
2026-04-15 09:45:57 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 08:03:20 -07:00
2026-04-27 08:03:20 -07:00
2026-04-27 07:59:42 -07:00
2026-04-27 07:59:42 -07:00
2026-04-14 11:43:52 -07:00
2026-04-25 07:59:48 -07:00
2026-04-25 07:59:48 -07:00
2026-04-26 22:21:18 -07:00
2026-04-26 22:21:18 -07:00
2026-04-27 08:45:49 -07:00
2026-04-27 04:51:29 -07:00
2026-04-25 07:59:48 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-26 23:45:42 -07:00
2026-04-25 18:06:36 -07:00
2026-04-27 04:51:29 -07:00
2026-04-26 22:14:03 -07:00
2026-04-27 11:34:49 -07:00
2026-04-10 00:58:52 -07:00
2026-03-25 18:26:26 -04:00
2026-04-27 09:01:32 -07:00
2026-04-27 09:01:32 -07:00
2026-04-27 01:40:07 -07:00
2026-04-27 01:40:07 -07:00
2026-04-27 04:33:10 -07:00
2026-04-27 04:33:10 -07:00
2026-04-25 08:43:54 -07:00
2026-04-25 12:18:55 -07:00
2026-04-27 02:36:19 -07:00
2026-04-24 19:39:20 -07:00
2026-04-08 09:07:34 -07:00
2026-03-31 01:26:57 -07:00
2026-04-24 09:54:00 -07:00