teconomix
0ecdda1433
fix(mattermost): wait for in-flight preview send in onSettled cleanup
...
When the first preview POST is still in flight (patchSending=true, streamMessageId=null),
the previous onSettled check was skipped entirely — the POST would resolve after cleanup
and leave an orphaned preview post with no interval to clear it.
Fix: trigger cleanup when either streamMessageId is set OR patchSending is true.
Stop the interval immediately, clear pending state, then wait up to 3s for patchSending
to clear before capturing the final streamMessageId and deleting the post.
2026-03-20 07:15:22 +00:00
..
2026-03-18 00:30:01 -07:00
2026-03-18 00:30:01 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 13:44:23 +01:00
2026-03-18 00:30:01 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 02:04:10 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 13:44:23 +01:00
2026-03-18 00:30:01 -07:00
2026-03-18 13:44:23 +01:00
2026-03-17 00:14:12 -07:00
2026-03-17 21:35:13 -07:00
2026-03-18 13:44:23 +01:00
2026-03-18 00:27:02 -05:00
2026-03-18 02:04:10 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 00:20:15 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 01:02:16 -07:00
2026-03-17 00:14:12 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 13:44:23 +01:00
2026-03-18 13:44:23 +01:00
2026-03-20 07:15:22 +00:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:30:01 -07:00
2026-03-17 00:14:12 -07:00
2026-03-17 00:14:12 -07:00
2026-03-17 00:14:12 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:27:02 -05:00
2026-03-18 13:44:23 +01:00
2026-03-18 13:44:23 +01:00
2026-03-18 13:44:23 +01:00
2026-03-17 00:14:12 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 02:04:10 -07:00
2026-03-17 00:14:12 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 02:29:25 -07:00
2026-03-16 12:06:32 +00:00
2026-03-18 00:27:02 -05:00
2026-03-18 00:30:01 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:30:01 -07:00
2026-03-17 00:14:12 -07:00
2026-03-16 22:51:46 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 00:30:01 -07:00
2026-03-17 23:23:58 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 15:37:24 +05:30
2026-03-18 00:30:01 -07:00
2026-03-18 02:43:43 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 02:29:25 -07:00
2026-03-17 00:14:12 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 13:44:23 +01:00
2026-03-17 00:14:12 -07:00
2026-03-18 00:30:01 -07:00
2026-03-18 02:29:25 -07:00
2026-03-17 00:14:12 -07:00
2026-03-18 02:29:25 -07:00
2026-03-18 13:44:23 +01:00
2026-03-18 13:44:23 +01:00
2026-03-12 23:03:19 +00:00