kshitijk4poor
f7e0ae2aff
test(supermemory): pin shutdown flush waits for in-flight write, never re-sends
...
Answers the open review ask on #109359 with the corrected contract: a hung
remote add_memory is bounded by the SDK timeout (empirically 1.03s at
timeout=1.0, max_retries=0), so shutdown's flush waiting on the capture
lock is bounded, not forever. The guard: while the worker owns the write
(blocked inside add_memory), a concurrent shutdown must wait and must not
re-send the same pending batch. Mutation-checked: lock -> nullcontext
makes this test and the session-switch interleaving test fail.
2026-09-15 11:55:10 +05:30
..
2026-09-03 14:18:25 -07:00
2026-09-02 13:30:10 -07:00
2026-09-14 10:18:13 -07:00
2026-09-15 11:55:10 +05:30
2026-09-13 12:52:43 -07:00
2026-09-13 15:39:11 -07:00
2026-09-13 21:40:26 -07:00
2026-09-04 07:17:00 -07:00
2026-09-13 14:43:35 -07:00
2026-09-13 15:39:11 -07:00
2026-08-29 18:32:44 -07:00
2026-08-28 15:08:08 -07:00
2026-09-14 08:10:36 -07:00
2026-09-07 05:57:26 -07:00
2026-07-31 10:17:30 -04:00
2026-07-29 13:10:23 -07:00
2026-07-29 13:10:23 -07:00
2026-09-02 13:30:10 -07:00
2026-07-29 13:10:23 -07:00
2026-09-02 13:30:10 -07:00
2026-07-29 13:10:23 -07:00
2026-09-03 13:04:16 -07:00
2026-07-29 13:10:23 -07:00
2026-08-02 22:33:13 +05:30
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-03 13:48:14 -07:00
2026-08-28 22:38:01 -05:00
2026-09-03 13:48:14 -07:00
2026-09-03 13:48:14 -07:00
2026-09-03 13:48:14 -07:00
2026-07-30 07:18:08 -05:00
2026-09-03 13:48:14 -07:00
2026-09-09 21:16:40 +05:30
2026-07-29 13:10:23 -07:00
2026-09-03 13:48:14 -07:00
2026-09-13 05:19:48 -07:00
2026-09-06 13:36:12 -07:00
2026-09-12 01:35:05 -07:00
2026-09-13 05:19:48 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-07-29 13:10:23 -07:00
2026-07-29 13:10:23 -07:00
2026-09-13 05:19:48 -07:00
2026-09-13 09:18:02 -07:00
2026-09-02 13:30:10 -07:00
2026-08-26 02:54:35 +05:30
2026-09-03 13:04:17 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00