| β¦ | β¦ | @@ -7864,6 +7870,55 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio | |
| 7882 | + | const projection = yield* projectionStore | |
| 7883 | + | .getThreadRecords(command.threadId, ["runs", "messages"], { messageRoles: ["user"] }) | |
| 7884 | + | .pipe( | |
| 7885 | + | Effect.mapError(() => new OrchestratorProjectionError({ threadId: command.threadId })), | |
This new projection-load error mapping discards the underlying failure, losing its cause and stack. Please preserve the immediate error when wrapping it:
| 1 | Effect.mapError((cause) => new OrchestratorProjectionError({ threadId: command.threadId, cause })), |
Posted via Macroscope β Effect Service Conventions
Fixed in 80f07caaf. The edit-state projection wrapper now keeps the immediate failure as cause.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.