Richard Feldman
bf0fcfbbac
Preserve archived thread project paths after worktree removal ( #53893 )
...
When a thread created in a git worktree is archived, the archive flow
removes the linked worktree from the project. If a subsequent thread
event fires after this (e.g. an async title-generation task completing),
`handle_thread_event` recalculates `worktree_paths` from the project's
current state — which no longer includes the removed worktree — and
overwrites the archived thread's stored paths with empty ones.
This causes restoring the thread to prompt the user to re-associate a
project, instead of restoring it directly.
**Fix:** return early from `handle_thread_event` when the thread is
already archived, so the stored paths are never overwritten.
Release Notes:
- Fixed archived threads in git worktrees losing their project
association.
2026-04-14 15:05:34 -04:00
..
2026-04-14 10:49:16 +00:00
2026-04-09 18:49:16 +01:00
2026-04-13 16:59:17 -07:00
2026-04-13 16:59:17 -07:00
2026-04-13 22:51:38 +00:00
2026-04-14 15:05:34 -04:00
2026-04-08 20:39:02 -03:00
2026-04-14 12:06:17 +03:00
2026-04-13 16:50:13 -07:00
2026-04-07 11:59:12 +02:00
2026-04-01 17:25:32 +00:00
2026-04-01 17:25:32 +00:00
2026-04-14 18:18:09 +00:00
2026-04-14 10:55:03 -04:00
2026-04-07 12:28:19 -03:00
2026-04-10 10:15:28 -04:00
2026-04-07 12:28:19 -03:00
2026-04-02 17:06:57 -03:00
2026-04-09 06:56:28 +00:00
2026-04-10 10:15:28 -04:00
2026-04-05 23:05:35 +01:00
2026-04-05 23:05:35 +01:00
2026-04-02 17:06:57 -03:00
2026-04-08 07:24:37 +00:00
2026-04-06 16:42:20 +00:00
2026-04-14 16:20:05 +01:00
2026-04-09 10:42:21 -03:00
2026-04-10 08:28:54 -07:00
2026-04-09 10:05:40 -04:00
2026-04-14 21:04:10 +03:00
2026-04-14 21:04:10 +03:00
2026-04-14 21:04:10 +03:00
2026-04-10 13:27:04 -04:00
2026-04-13 13:30:48 -04:00
2026-04-14 16:20:05 +01:00
2026-04-01 17:25:32 +00:00
2026-04-07 12:28:19 -03:00
2026-04-02 17:06:57 -03:00
2026-04-03 19:22:17 +05:30
2026-04-13 16:50:13 -07:00
2026-04-07 12:05:02 +02:00
2026-04-14 00:35:28 +00:00
2026-04-03 11:00:13 +00:00
2026-04-07 12:05:02 +02:00
2026-04-14 12:27:37 +03:00
2026-04-13 13:14:48 -03:00
2026-04-14 16:20:05 +01:00
2026-04-01 17:25:32 +00:00
2026-04-09 10:42:21 -03:00
2026-04-14 16:21:28 +02:00
2026-04-14 16:21:28 +02:00
2026-04-14 16:21:28 +02:00
2026-04-08 15:50:36 +00:00
2026-04-07 12:28:19 -03:00
2026-04-14 18:14:31 +02:00
2026-04-13 18:17:55 +03:00
2026-04-04 16:10:22 -04:00
2026-04-13 17:23:37 +00:00
2026-04-07 11:19:21 +05:30
2026-04-07 12:44:19 -03:00
2026-04-10 09:20:38 +00:00
2026-04-10 09:20:38 +00:00
2026-04-08 18:39:17 -04:00
2026-04-07 12:28:19 -03:00
2026-04-02 12:52:42 +00:00
2026-04-07 12:28:19 -03:00
2026-04-08 18:59:33 +00:00
2026-04-07 12:28:19 -03:00
2026-04-07 12:28:19 -03:00
2026-04-01 17:25:32 +00:00
2026-04-06 16:42:20 +00:00
2026-04-02 12:52:42 +00:00
2026-04-01 17:25:32 +00:00
2026-04-10 19:11:27 +05:30
2026-04-09 21:43:51 +05:30
2026-04-10 00:47:24 +00:00
2026-04-09 10:42:21 -03:00
2026-04-07 22:37:00 +00:00
2026-04-14 11:10:31 +00:00
2026-04-07 22:05:43 -03:00
2026-04-09 10:42:21 -03:00
2026-04-07 12:28:19 -03:00
2026-04-01 17:25:32 +00:00
2026-04-07 14:15:33 +00:00
2026-04-07 12:44:19 -03:00
2026-04-08 00:34:54 +00:00
2026-04-14 11:10:31 +00:00
2026-04-13 21:47:33 +01:00
2026-04-09 16:38:07 +00:00
2026-04-09 06:56:28 +00:00
2026-04-14 13:44:05 -03:00
2026-04-14 18:40:36 +00:00
2026-04-10 02:22:55 +00:00
2026-04-09 06:56:28 +00:00
2026-04-10 09:20:38 +00:00
2026-04-13 09:07:09 +00:00
2026-04-06 17:19:29 -03:00
2026-04-14 16:20:05 +01:00
2026-04-13 22:51:38 +00:00
2026-04-13 22:51:38 +00:00
2026-04-02 00:44:53 +00:00
2026-04-13 16:50:13 -07:00
2026-04-14 18:40:36 +00:00
2026-04-02 13:09:29 +00:00
2026-04-07 06:14:00 +00:00
2026-04-10 12:16:51 +01:00
2026-04-01 17:25:32 +00:00
2026-04-09 12:32:27 +00:00
2026-04-07 23:41:34 +00:00
2026-04-10 09:20:38 +00:00
2026-04-14 09:27:06 -04:00
2026-04-01 17:25:32 +00:00
2026-04-13 13:14:48 -03:00
2026-04-09 14:11:55 -04:00
2026-04-09 10:42:21 -03:00
2026-04-08 22:29:16 +03:00
2026-04-07 12:28:19 -03:00
2026-04-14 18:56:29 +00:00
2026-04-13 09:07:09 +00:00
2026-04-09 10:42:21 -03:00
2026-04-14 16:56:03 +00:00
2026-04-13 22:51:38 +00:00
2026-04-02 17:06:57 -03:00
2026-04-02 17:06:57 -03:00
2026-04-06 16:29:37 -04:00