Summary
DurableStreamProducer's reconnect supervisor (#1326) settles every write explicitly and meters
every drop path — there is no silent loss. But two settled reason strings misdescribe the state
that produced them.
- Close-drain window.
close() flips #accepted = false before the stopping transition
(packages/plugin-streams-core/src/application/durable-stream-producer-supervisor.ts:205-226), so
a write arriving during the drain is rejected as producer-failed while the producer is in
fact healthy and closing (create-durable-stream.ts:131,251-261).
- Single-attempt refusal. A non-retryable append failure settles
delivery-unknown: retry-exhausted even on attempt 1 (supervisor.ts:412-423). No retries
were exhausted; the server positively refused.
Why it matters
Neither is a correctness defect and neither can produce a false delivered — both were verified safe
by the separate-session IMPL-EVAL of PR #1402. The cost is diagnostic: a caller or operator reading
producer-failed during an orderly shutdown will look for a failure that did not happen, and
retry-exhausted on a first-attempt refusal hides that the server rejected the write outright.
Accurate reasons are most of the value of settling writes explicitly rather than dropping them.
Acceptance criteria
Provenance
IMPL-EVAL of PR #1402 (#1326), 2026-08-09, findings MINOR-1 and MINOR-2, both explicitly
non-blocking. Verdict record:
.llm/runs/release-0.0.5--orchestration/slices/w3-a-1326/evaluate.md.
Refs #1326.
Summary
DurableStreamProducer's reconnect supervisor (#1326) settles every write explicitly and metersevery drop path — there is no silent loss. But two settled reason strings misdescribe the state
that produced them.
close()flips#accepted = falsebefore thestoppingtransition(
packages/plugin-streams-core/src/application/durable-stream-producer-supervisor.ts:205-226), soa write arriving during the drain is rejected as
producer-failedwhile the producer is infact healthy and closing (
create-durable-stream.ts:131,251-261).delivery-unknown: retry-exhaustedeven on attempt 1 (supervisor.ts:412-423). No retrieswere exhausted; the server positively refused.
Why it matters
Neither is a correctness defect and neither can produce a false
delivered— both were verified safeby the separate-session IMPL-EVAL of PR #1402. The cost is diagnostic: a caller or operator reading
producer-failedduring an orderly shutdown will look for a failure that did not happen, andretry-exhaustedon a first-attempt refusal hides that the server rejected the write outright.Accurate reasons are most of the value of settling writes explicitly rather than dropping them.
Acceptance criteria
distinct from
producer-failedfrom
retry-exhaustedProvenance
IMPL-EVAL of PR #1402 (#1326), 2026-08-09, findings MINOR-1 and MINOR-2, both explicitly
non-blocking. Verdict record:
.llm/runs/release-0.0.5--orchestration/slices/w3-a-1326/evaluate.md.Refs #1326.