Send the same request id when an outbox message is retried #37

Merged
weichen merged 1 commits from feature/pi-durable-borrow into main 2026-10-03 14:44:39 +00:00
Owner

Why: A busy 409 used to enqueue a new id, so the retry created a second user message after the server had already stored the first.

Evidence: vitest run passed, 13 files and 69 tests, including the outbox retry case.

Impact: Data layer only. sendMessage and outbox flush reuse the queued message id as requestId. No screen changes.

Refs: Dev feature/pi-durable-borrow

Why: A busy 409 used to enqueue a new id, so the retry created a second user message after the server had already stored the first. Evidence: vitest run passed, 13 files and 69 tests, including the outbox retry case. Impact: Data layer only. sendMessage and outbox flush reuse the queued message id as requestId. No screen changes. Refs: Dev feature/pi-durable-borrow
weichen added 1 commit 2026-10-03 14:41:17 +00:00
Why: A busy 409 used to enqueue a new id, so the retry created a second user message after the server had already stored the first.
Evidence: vitest run passed, 13 files and 69 tests, including the outbox retry case.
Impact: Data layer only. sendMessage and outbox flush reuse the queued message id as requestId. No screen changes.
Refs: Dev feature/pi-durable-borrow
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 539aae69b9 into main 2026-10-03 14:44:39 +00:00
weichen deleted branch feature/pi-durable-borrow 2026-10-03 14:44:39 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Frontend#37