Fail pending request responses on stop

This commit is contained in:
elpresidank 2026-06-02 06:19:32 -05:00
parent 0fb943c0ef
commit 1218e827d4
5 changed files with 95 additions and 12 deletions

View file

@ -32,6 +32,7 @@ import {
type LibrarianRequest,
type LibrarianResponse,
type MessagingDeliveryError,
type MessagingLifecycleError,
type MessagingTimeoutError,
type Spec,
errorMessage,
@ -54,6 +55,7 @@ export class PdfDecoderError extends S.TaggedErrorClass<PdfDecoderError>()(
type PdfDecoderHandlerError =
| FlowResourceNotFoundError
| MessagingDeliveryError
| MessagingLifecycleError
| MessagingTimeoutError
| PdfDecoderError;

View file

@ -20,6 +20,7 @@ import {
type FlowContext,
type FlowResourceNotFoundError,
type MessagingDeliveryError,
type MessagingLifecycleError,
type MessagingTimeoutError,
type EntityContexts,
type EmbeddingsRequest,
@ -41,6 +42,7 @@ type GraphEmbeddingsStoreRequirements = QdrantGraphEmbeddingsStoreService;
type GraphEmbeddingsStoreError =
| FlowResourceNotFoundError
| MessagingDeliveryError
| MessagingLifecycleError
| MessagingTimeoutError
| QdrantGraphEmbeddingsStoreError;