Add bounded Stage PREPARE workflow with transactional leased outbox

This commit is contained in:
devops committed 2026-10-23 12:53:06 +00:00
1 parent 4b17a6fcc3
commit 09e8a890e0
9 files changed
+1150 -17

No files matched your search

@@ -1,3 +1,7 @@
import {
PrepareWorkflowService,
PREPARE_WORKFLOW_CONFIG,
} from './prepare-workflow.service';
import { Module } from '@nestjs/common';
import { PrismaModule } from '../prisma/prisma.module';
import { KillSwitchService } from './kill-switch.service';
@@ -7,7 +11,21 @@ import { OrchestrationService } from './orchestration.service';
@Module({
imports: [PrismaModule],
controllers: [OrchestrationController],
providers: [OrchestrationService, KillSwitchService, ModelTierPolicyService],
exports: [OrchestrationService, KillSwitchService, ModelTierPolicyService],
providers: [
OrchestrationService,
KillSwitchService,
ModelTierPolicyService,
PrepareWorkflowService,
{
provide: PREPARE_WORKFLOW_CONFIG,
useValue: { workerIds: [], stageCiIds: [] },
},
],
exports: [
OrchestrationService,
KillSwitchService,
ModelTierPolicyService,
PrepareWorkflowService,
],
})
export class OrchestrationModule {}