gsxdsm
f9f7aff3ec
fix(engine): add cross-process merge guard to prevent concurrent merges
...
Multiple engine processes (dashboard + serve) share the same SQLite database
but each has its own in-memory merge queue. Without a cross-process check,
two processes can start merging different tasks simultaneously.
Added store.getActiveMergingTask() as a DB-level check before any merge
starts. The drainMergeQueue defers with pollIntervalMs delay, and both
aiMergeTask and processPullRequestMergeTask have safety-net checks.
Also moved stale merge status cleanup to run regardless of autoMerge setting.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-13 20:22:10 -07:00
..
2026-04-13 16:05:05 -07:00
2026-04-08 13:31:07 -07:00
2026-04-08 13:31:07 -07:00
2026-04-13 12:49:29 -07:00
2026-04-13 12:55:30 -07:00
2026-04-08 10:35:28 -07:00
2026-04-08 13:31:07 -07:00
2026-04-08 01:39:15 -07:00
2026-04-08 01:39:15 -07:00
2026-04-13 15:51:05 -07:00
2026-04-13 18:00:49 -07:00
2026-04-09 18:37:48 -07:00
2026-04-09 18:37:48 -07:00
2026-04-03 17:58:07 -07:00
2026-04-13 18:21:31 -07:00
2026-04-10 09:42:51 -07:00
2026-04-09 15:14:19 -07:00
2026-03-31 20:00:25 -07:00
2026-03-31 20:00:25 -07:00
2026-04-08 10:08:29 -07:00
2026-03-31 05:14:30 -07:00
2026-04-12 15:58:10 -07:00
2026-04-12 15:58:10 -07:00
2026-04-02 09:10:42 -07:00
2026-04-05 18:29:44 -07:00
2026-03-25 18:32:10 -04:00
2026-04-10 09:42:51 -07:00
2026-04-09 15:14:19 -07:00
2026-04-09 15:14:19 -07:00
2026-04-13 19:59:55 -07:00
2026-04-09 10:58:21 -07:00
2026-04-09 10:58:21 -07:00
2026-04-08 07:19:35 -07:00
2026-04-08 14:26:30 -07:00
2026-04-11 17:06:41 -07:00
2026-04-13 19:59:55 -07:00
2026-04-08 14:26:30 -07:00
2026-03-29 20:52:07 -07:00
2026-03-29 20:52:07 -07:00
2026-04-13 20:22:10 -07:00
2026-04-13 20:22:10 -07:00
2026-04-13 12:49:29 -07:00
2026-04-11 12:13:25 -07:00
2026-04-11 12:13:25 -07:00
2026-04-09 21:07:48 -07:00
2026-04-09 21:07:48 -07:00
2026-04-07 18:43:16 -07:00
2026-04-08 14:26:30 -07:00
2026-04-02 09:10:42 -07:00
2026-04-02 09:10:42 -07:00
2026-04-02 17:55:25 -07:00
2026-04-11 11:04:04 -07:00
2026-04-11 11:04:04 -07:00
2026-04-10 10:44:03 -07:00
2026-04-11 17:23:44 -07:00
2026-04-13 18:21:31 -07:00
2026-04-11 17:32:29 -07:00
2026-04-08 06:53:36 -07:00
2026-04-08 06:53:36 -07:00
2026-04-08 14:58:34 -07:00
2026-04-08 14:58:34 -07:00
2026-04-09 14:45:32 -07:00
2026-04-13 18:21:31 -07:00
2026-04-09 14:45:32 -07:00
2026-04-09 14:45:32 -07:00
2026-04-09 14:45:32 -07:00
2026-04-09 14:45:32 -07:00
2026-04-11 00:38:42 -07:00
2026-04-11 00:38:42 -07:00
2026-04-11 15:23:03 -07:00
2026-04-12 16:14:54 -07:00
2026-04-08 04:55:39 -07:00
2026-04-08 14:26:30 -07:00
2026-04-13 08:57:48 -07:00
2026-04-13 08:57:48 -07:00
2026-04-13 08:57:48 -07:00
2026-04-10 12:20:56 -07:00
2026-04-10 11:32:48 -07:00
2026-04-10 11:26:19 -07:00
2026-04-10 09:21:38 -07:00
2026-04-11 17:06:41 -07:00
2026-04-11 09:39:32 -07:00
2026-04-09 18:21:29 -07:00
2026-04-08 14:26:30 -07:00
2026-04-12 19:59:12 -07:00
2026-04-13 17:41:33 -07:00
2026-04-13 20:22:10 -07:00
2026-04-02 09:10:42 -07:00
2026-04-02 09:10:42 -07:00
2026-04-10 08:01:03 -07:00
2026-04-08 11:21:18 -07:00
2026-04-12 15:13:27 -07:00
2026-04-13 17:06:17 -07:00
2026-04-13 17:41:33 -07:00