mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
558cc3ffde
Resolve conflicts in runtime.ts, runtime.test.ts, and constants.ts (decryption-failure redelivery + replay-divergence recovery coexist). Address review feedback: - Gate decryption-failure redelivery on operation === 'decrypt' so encrypt-side AES-GCM failures fail immediately (re-fetching cannot help). - Derive the past-budget test attempt from DECRYPTION_FAILURE_MAX_RETRIES + 1 and assert it stays below MAX_QUEUE_DELIVERIES. - Document the bounded queue-redelivery behavior in runtime-decryption-failed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>