(error: unknown)
| 73 | * the organization directory"? Matches on the message because that is what |
| 74 | * survives the Durable Object RPC boundary. */ |
| 75 | export const isMcpSessionMetaUnavailable = (error: unknown): boolean => |
| 76 | // oxlint-disable-next-line executor/no-unknown-error-message -- adapter boundary: a Durable Object rejection reaches the worker as a plain Error whose message IS the signal (same mechanism as the "destroyed" abort) |
| 77 | Predicate.isError(error) && error.message.includes(MCP_SESSION_META_UNAVAILABLE); |
| 78 | |
| 79 | /** |
| 80 | * Retries for the database path. Deliberately small: the point is to ride out a |
no outgoing calls
no test coverage detected