Skip to content

DevOps / GitOps — workers, grains and sagas

Generated from the architecture model

This page is rendered from model/**/*.yaml by tools/docs_model during mkdocs build. Edit the YAML, not this page; hand-written design lives on the linked service, platform and plane pages.

Workers

Worker Service Trigger Output events Retry Idempotency key Concurrency
GateEvaluator EnvironmentPromotionService event EnvironmentPromotionService.PromotionRequested PromotionApproved fixed ×3 promotionId + gateKind 4 by EnvironmentId
Verifier EnvironmentPromotionService event IaCProvisioningService.ProvisioningApplied PromotionCompleted, PromotionFailed, RollbackCompleted fixed ×3 promotionId 4 by EnvironmentId
DeliveryApplier PipelineExecutionService event ConnectorRegistryService.DeliveryReceived ChangeProposalStateChanged, ChangeProposalMerged, PipelineRunStarted, PipelineRunCompleted exponential ×5 deliveryId 4 by Repository
RunReconciler PipelineExecutionService schedule */10 * * * * PipelineRunCompleted, ChangeProposalStateChanged fixed ×3 pipelineRunId + window 4 by TenantId
PublicationVerifier ReleaseService event ReleaseService.ReleaseCreated ReleaseReady exponential ×6 releaseId + componentName 4 by TenantId
ReleaseNotesWriter ReleaseService event ReleaseService.ReleaseReady — fixed ×2 releaseId 2 by TenantId
  • GateEvaluator (EnvironmentPromotionService): Evaluates gates in order (pipeline results, policy, prior environment, environment ready, evaluation evidence where the product release carries agent-generated assets) and requests the approval when the environment class demands it.
  • Verifier (EnvironmentPromotionService): Runs post-deploy verification (health, smoke suite from the pipeline, SLO window) and completes or auto-rolls back per strategy.
  • DeliveryApplier (PipelineExecutionService): Maps verified inbound deliveries (push, pull request, review, pipeline run) to proposal and run state; unknown references are looked up through the connector.
  • RunReconciler (PipelineExecutionService): Polls runs still Running past their expected duration and proposals without a terminal state through the connector (read class).
  • PublicationVerifier (ReleaseService): Checks each component's feed or registry for the digest (through the existing CI publishing evidence and registry reads) and records publication evidence; moves the release to Released when complete.
  • ReleaseNotesWriter (ReleaseService): Drafts release notes from merged proposals and results with the structured profile and stores them as an artifact (never auto-published).

Grains (actors)

None modelled

No grains are modelled for this item yet.

Sagas

Saga Service Correlation Starts on Steps Ends on
PromotionSaga EnvironmentPromotionService promotionId EnvironmentPromotionService.PromotionRequested 5 PromotionCompleted, PromotionFailed, RollbackCompleted