fix(queue): fence leases and record target outcomes

Retries must remember completed targets and distinguish active
lease holders. Fence state updates, preserve permanent outcomes and
reject missing parked payloads instead of dispatching empty data.
This commit is contained in:
翅膀 committed 2026-10-23 23:23:31 +08:00
1 parent 5b755deca5
commit a91e8d7a7f
3 files changed
+518 -71

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ function body(overrides: Partial<DeliveryMessage> = {}): DeliveryMessage {
};
}
const STATE_KEY = "delivery-state:github:global:d1";
const STATE_KEY = "delivery-state:github:@global:d1";
describe("handleQueueBatch", () => {
beforeEach(() => {