Skip to content

PartialStreamSubmissionError

Error raised when a streamed commit submission fails after an ambiguous or partial append.

completedReceipts contains only earlier, acknowledged event receipts. The other identity fields name the one pending chunk that must be looked up before any manual retry. acknowledgedOperationCount preserves progress even if a receipt omits operation rows. attemptedAppendOutcome and lastAcknowledgedRepoSeq retain recovery information from the earlier stream contract; the durable receipt remains the authoritative record.

https://docs.warmhub.ai/sdk/transient-retry/#partial-submissions

  • Error

new PartialStreamSubmissionError(input): PartialStreamSubmissionError

unknown

readonly OperationEventReceipt[]

CommitRealOperationResult[]

number

number

"unknown" | "not_applied"

string

string

number

"unknown" | "absent"

PartialStreamSubmissionError

Error.constructor

readonly code: "PARTIAL_STREAM_SUBMISSION" = 'PARTIAL_STREAM_SUBMISSION'

Stable error code. Always 'PARTIAL_STREAM_SUBMISSION'.


readonly completedReceipts: readonly OperationEventReceipt[]

Earlier exact receipts, in submission order.


readonly completedOperations: CommitRealOperationResult[]

Legacy projection of operations confirmed before the failed append.


readonly submissionId: string


readonly eventRequestId: string


readonly chunkOrdinal: number


readonly pendingOutcome: "unknown" | "absent"


readonly acknowledgedOperationCount: number

Number of operations covered by acknowledged append responses.


readonly optional lastAcknowledgedRepoSeq?: number

Last repository sequence returned by an acknowledged chunk that persisted an event. This is a lower bound for known completed work, never evidence that the attempted append did not land.


readonly attemptedAppendOutcome: "unknown" | "not_applied"

Authoritative outcome of the attempted append. not_applied is used only when the SDK received explicit server rejection evidence; unknown means callers must stop writes and reconcile from a later verified checkpoint.


readonly cause: unknown

Underlying error that triggered the partial submission, preserved for diagnostics. Do not infer append outcome from this field; branch on attemptedAppendOutcome instead.

Error.cause