@@ -32,6 +32,7 @@ import { OrchestrationEngineLive } from "./OrchestrationEngine.ts";
3232import { OrchestrationProjectionPipelineLive } from "./ProjectionPipeline.ts" ;
3333import { OrchestrationProjectionSnapshotQueryLive } from "./ProjectionSnapshotQuery.ts" ;
3434import * as ThreadBackgroundLiveness from "../ThreadBackgroundLiveness.ts" ;
35+ import * as ThreadPlanProgress from "../ThreadPlanProgress.ts" ;
3536import { OrchestrationEngineService } from "../Services/OrchestrationEngine.ts" ;
3637import {
3738 OrchestrationProjectionPipeline ,
@@ -57,6 +58,7 @@ async function createOrchestrationSystem() {
5758 OrchestrationProjectionSnapshotQueryLive ,
5859 ) . pipe (
5960 Layer . provide ( ThreadBackgroundLiveness . layer ) ,
61+ Layer . provide ( ThreadPlanProgress . layer ) ,
6062 Layer . provide ( OrchestrationEventStoreLive ) ,
6163 Layer . provide ( OrchestrationCommandReceiptRepositoryLive ) ,
6264 Layer . provide ( RepositoryIdentityResolver . layer ) ,
@@ -820,6 +822,7 @@ describe("OrchestrationEngine", () => {
820822 OrchestrationEngineLive . pipe (
821823 Layer . provide ( OrchestrationProjectionSnapshotQueryLive ) ,
822824 Layer . provide ( ThreadBackgroundLiveness . layer ) ,
825+ Layer . provide ( ThreadPlanProgress . layer ) ,
823826 Layer . provide ( OrchestrationProjectionPipelineLive ) ,
824827 Layer . provide ( Layer . succeed ( OrchestrationEventStore , flakyStore ) ) ,
825828 Layer . provide ( OrchestrationCommandReceiptRepositoryLive ) ,
@@ -926,6 +929,7 @@ describe("OrchestrationEngine", () => {
926929 OrchestrationEngineLive . pipe (
927930 Layer . provide ( OrchestrationProjectionSnapshotQueryLive ) ,
928931 Layer . provide ( ThreadBackgroundLiveness . layer ) ,
932+ Layer . provide ( ThreadPlanProgress . layer ) ,
929933 Layer . provide ( Layer . succeed ( OrchestrationProjectionPipeline , flakyProjectionPipeline ) ) ,
930934 Layer . provide ( OrchestrationEventStoreLive ) ,
931935 Layer . provide ( OrchestrationCommandReceiptRepositoryLive ) ,
@@ -1070,6 +1074,7 @@ describe("OrchestrationEngine", () => {
10701074 OrchestrationEngineLive . pipe (
10711075 Layer . provide ( OrchestrationProjectionSnapshotQueryLive ) ,
10721076 Layer . provide ( ThreadBackgroundLiveness . layer ) ,
1077+ Layer . provide ( ThreadPlanProgress . layer ) ,
10731078 Layer . provide ( Layer . succeed ( OrchestrationProjectionPipeline , flakyProjectionPipeline ) ) ,
10741079 Layer . provide ( Layer . succeed ( OrchestrationEventStore , nonTransactionalStore ) ) ,
10751080 Layer . provide ( OrchestrationCommandReceiptRepositoryLive ) ,
0 commit comments