fix(listen): enforce strict queue/run correlation in recovery

This commit is contained in:
cpacker
2026-03-01 00:06:37 -08:00
parent ac4621d91d
commit b4910cd410
7 changed files with 342 additions and 38 deletions

View File

@@ -14,6 +14,8 @@ export type { QueueBlockedReason, QueueClearedReason, QueueItemKind };
type QueueItemBase = {
/** Stable monotonic ID assigned on enqueue. */
id: string;
/** Optional client-side message correlation ID from submit payloads. */
clientMessageId?: string;
source: QueueItemSource;
enqueuedAt: number;
};