Skip to content

Pipeline Orchestration and Release Workflows by Scale

Last updated: 2026-05-24

Pipeline orchestration is where MLOps discipline becomes enforceable. A workflow engine can run preprocessing, labeling, training, evaluation, export, replay, packaging, attestation, and deployment tasks, but the important design question is not "which orchestrator should we buy?" It is which state transitions must be automated, which must be gated, which artifacts must be immutable, and which failures should block release.

Use this page with mlops-scale-research-scope.md for maturity, experiment-tracking-reproducibility-by-scale.md for run manifests, model-registry-artifact-lifecycle-by-scale.md for registry lifecycle and alias authority, serving-inference-operations-by-scale.md for serving manifests, package/export readiness, endpoint traffic policy, canary rollout, autoscaling, and rollback load paths, platform-sre-reliability-by-scale.md for workflow SLOs, incident lanes, restore evidence, and platform bypass controls, evaluation-platform-replay-gates-by-scale.md for evaluation manifests and replay/runtime/shadow evidence, dataset-split-leakage-controls-by-scale.md for split gates, model-governance-release-evidence.md for release packets, secure-artifact-attestation-profile.md for trust-chain gates, and gpu-queueing-finops-by-scale.md for workload routing.

The core rule is simple: orchestration may produce evidence automatically, but it must not silently create release authority. A green DAG can create a candidate. It cannot move a model, semantic map, labeler, prompt pack, or runtime artifact into production without the required evidence and approval state.


What Orchestration Owns

LayerWhat it ownsWhat it must not hide
Workflow definitionTask graph, dependencies, retries, resources, schedules, parametersUnclear artifact contracts between tasks
ExecutionRunning jobs, containers, GPU/CPU resources, logs, task statusMissing provenance, dirty code, mutable input data
Artifact handoffPassing datasets, models, metrics, reports, exports, and evidence IDsUntyped side effects in buckets or local folders
Policy hooksBlocking missing manifests, failed checks, unsigned artifacts, unapproved labelsRelease approval disguised as a pipeline step
ObservabilityQueue time, failure cause, retry rate, duration, cost, stale tasksDashboard-only status without downstream action

An orchestrator is not a registry, data catalog, experiment tracker, or safety case. It should call those systems and write their IDs into the run record.


Scale Ladder

ScaleOrchestration postureMinimum workflowExplicit gate
S0 notebook researchManual commands and run notesprepare -> train -> eval script or notebook cell orderResult reused outside the notebook
S1 repeatable prototypeMakefile, DVC pipeline, GitHub Actions, simple CIRebuild baseline, emit metrics, preserve config and splitDeclaring a comparable baseline
S2 single-product productionProduct training/eval/package workflowDecode/QA/label/train/eval/export/register candidateMoving candidate to shadow/canary/champion
S3 fleet and multi-siteSite/ODD-aware workflows with queuesSite-sliced train/eval/replay/export with local holdouts and trigger batchesExpanding release scope to a new ODD cell
S4 regulated safety-criticalEvidence-preserving controlled workflowsRelease replay, safety slices, rollback drill, attestation, retention holdBehavior-changing safety release
S5 platform scaleMulti-tenant workflow platform with policy templatesStandard pipelines for datasets, labels, training, eval, release, incident, auditCross-product policy exception or platform workflow change

The main migration from S1 to S2 is not adopting a bigger engine. It is separating build, evaluate, register, promote, deploy, and approve as different states with different evidence.


Workflow Authority States

StateMeaningCan be automatic?Evidence required
draft_workflowLocal or branch workflow under developmentYesOwner, repo, intended task
baseline_workflowRebuilds a frozen baselineYesFrozen split, config, metric spec, reproducibility level
candidate_workflowProduces a reviewable artifactYesDataset/split manifests, run manifest, eval report, output digest
release_workflowProduces release evidence for a named artifact setPartlyRelease packet, replay, runtime package, attestation, rollback proof
evidence_workflowProduces audit, safety, incident, or corrective-action evidencePartlyImmutable logs, retention class, safety-case/incident IDs
platform_workflowShared template used by many teamsYes, after reviewVersioned template, policy test, tenant impact, rollback path

Workflow authority should be versioned independently from model authority. A new pipeline template can change artifact behavior even when model code is unchanged.


Orchestrator Comparison

PatternBest fitAdvantagesDisadvantagesAutonomy note
Shell script / MakefileS0-S1 local reproducibilityTransparent, cheap, easy to reviewWeak retries, weak lineage, hard to scaleGood first step if it writes manifests
DVC pipelineS1-S2 data/model reproducibilityGit-native stages, data dependencies, metrics, cache, dvc repro workflowLess suited to multi-tenant operations and long-running fleet servicesStrong for LiDAR/map snapshots and deterministic preprocessing
GitHub ActionsS1-S2 CI, smoke tests, export checksRepo-native triggers, PR checks, reusable actionsNot ideal for long GPU training or complex fleet data DAGsGood for schema checks, tiny training smoke, ONNX/TensorRT export validation
Apache AirflowS2-S4 scheduled data and batch workflowsMature DAG scheduling, backfills, sensors, operators, operational UIPython DAG lifecycle and task artifact conventions require disciplineStrong for fleet data ingest, decode, QA, label export, daily mining
Argo WorkflowsS2-S5 Kubernetes-native batch jobsContainer-native, DAG/step workflows, parallelism, Kubernetes resource controlNeeds Kubernetes operations and artifact repository disciplineStrong for GPU batch, map segmentation, replay, and release eval jobs
Kubeflow PipelinesS2-S5 ML component pipelinesML-first components, artifact passing, metadata, caching, resource requestsPlatform complexity and version managementGood when train/eval/export are typed ML components
TFX pipelinesS3-S5 production ML pipelinesStrong ML metadata, component typing, model analysis/evaluation conceptsBest fit for TensorFlow/TFX-style stacks; heavier adoptionUseful where lineage and component reuse matter more than tool lightness
Ray workflows/train/tune patternS2-S5 distributed Python workloadsFlexible distributed training, data processing, sweeps, simulation, resource APIsNeeds resource hygiene and platform observabilityUseful for simulation/replay, training, evaluation, and map-scale batch compute
Slurm pipelinesS3-S5 on-prem/HPC clustersMature fair-share scheduling, GPU resources, accounting, large clustersLess cloud-native; MLOps metadata integration is extra workGood for owned GPU clusters if job metadata is bridged to tracker/registry
Managed cloud ML pipelinesS2-S4 cloud-aligned teamsFast setup, integrated tracking/registry/serving optionsVendor coupling, cost, metadata model limits, data-residency constraintsUseful until custom vehicle/map/evidence metadata outgrows managed schema

The common industry pattern is hybrid: GitHub Actions for code/schema checks, DVC for local data stages, Airflow for data products, Argo/Kubeflow/Ray for GPU jobs, and a registry/policy layer for release authority.


Durable Pipeline Interfaces

Every task boundary should pass typed artifacts, not path strings.

InterfaceRequired fieldsProduced byConsumed by
Pipeline run manifestpipeline_run_id, workflow version, trigger, parameters, owner, input artifact IDs, output artifact IDs, stateOrchestratorTracker, catalog, audit
Dataset build recordraw sources, decode version, QA result, privacy/access class, retention classIngest/decode workflowTraining, replay, catalog
Split manifestsplit ID, grouping keys, leakage report, holdout policy, access logDataset workflowTraining/eval/release
Label batch recordtaxonomy, labeler/prompt/evaluator IDs, reviewer workflow, QA state, allowed useLabel workflowTraining, semantic maps, safety evidence
Training run manifestcode/config/environment/data/split/metric/output lineageTraining workflowRegistry, governance
Evaluation manifest/reporteval authority, metric spec, evaluator version, artifact-set hash, aggregate and slice metrics, replay IDs, runtime smoke, failures, waiversEval workflowRelease packet
Runtime package manifestONNX/TensorRT/container digests, class order, hardware target, compatibility IDsExport workflowDeployment, OTA/SUMS
Serving manifestservice ID, artifact set, registry alias, input/output contract, runtime target, traffic policy, scaling policy, observability, rollback pathExport/deploy workflowServing platform, monitoring, incident response
Attestation bundlesubject digest, builder identity, workflow ID, SBOM/provenance, policy resultBuild/sign workflowRegistry, deployment policy
Release packetclaim, evidence links, approvers, scope, rollback, expiryRelease workflowGovernance, OTA, safety case
Incident evidence recordactive artifacts, logs/clips, replay, containment, corrective actionIncident workflowSafety case, post-release learning

If a task writes an artifact that no downstream system can name by immutable ID, the workflow is not production-ready.


State Machine

The safe production lane is a state machine, not one long DAG:

StateEntry conditionExit condition
data_candidateRaw data uploaded or minedData QA, privacy/access, decode, and manifest pass
training_snapshotData is eligible for trainingSplit/leakage report and label QA pass
model_candidateTraining produces checkpoint/exportEval report, runtime package, output digest, run manifest pass
release_candidateCandidate is registered for reviewRelease packet, replay, site/ODD scope, attestation, rollback proof pass
shadowArtifact is safe for non-authoritative executionShadow metrics and delayed-label review pass
canaryLimited authority in scoped ODD cellCanary report and local holdout pass
championRelease approved for named scopeMonitoring and rollback remain valid
heldEvidence or metric gap blocks progressOwner fixes gap or expiry/waiver review resolves
quarantinedArtifact/data may be unsafe or invalidatedRebuild, reapprove, or deprecate

The orchestrator can move data through early states automatically. Human or policy approval should control transitions that change release authority.


Autonomy Workflow Families

Fleet Data Product Workflow

upload -> decode -> timestamp/calibration QA -> privacy/access check -> trigger classification -> clip/scenario packaging -> data catalog -> training/replay eligibility

Controls:

  • fail closed on timestamp, calibration, schema, or access-state gaps;
  • separate event clips, random samples, local holdouts, replay scenarios, and training exports;
  • preserve raw evidence for incidents and safety-relevant triggers.

Semantic Map and Aggregated LiDAR Workflow

source logs -> SLAM/map build -> map geometry QA -> dynamic/static-transient removal -> semantic segmentation -> tile stitching -> map-hygiene QA -> publication or training export

Controls:

  • source-map acceptance package before segmentation;
  • map-hygiene sidecars and release-state masks before publication;
  • split/leakage and pseudo-label invalidation checks before training export;
  • separate runtime map, training export, monitoring, digital-twin, and benchmark product modes.

Model Candidate Workflow

training snapshot -> train -> eval -> slice metrics -> replay smoke -> export -> runtime smoke -> registry candidate

Controls:

  • train/eval/export are child runs under one candidate authority record;
  • candidate registration requires run manifest, output digest, metric spec, and runtime package manifest;
  • release gate remains separate from training completion.

Offboard Labeler and Foundation-Model Workflow

prompt/model/corpus registration -> candidate inference -> reviewer workflow -> QA -> allowed-use promotion -> rollback impact

Controls:

  • prompt, retrieval corpus, model endpoint, threshold set, and reviewer workflow are artifacts;
  • outputs remain candidate labels until review/QA/allowed-use state permits training or evidence use;
  • generated prose is supporting context, not release evidence by itself.

Incident and Corrective-Action Workflow

incident trigger -> evidence freeze -> active artifact query -> replay reproduction -> root-cause candidate -> corrective action -> regression test -> release/safety-case update

Controls:

  • incident lane preempts research work when required;
  • evidence records include model/map/calibration/runtime/taxonomy/prompt/evaluator IDs;
  • corrective actions update replay packs, labels, monitoring, and release blockers.

Scheduling and Resource Policy

Orchestration and scheduling are related but different:

DecisionOrchestrator ownsScheduler owns
What steps runDAG, task definitions, dependenciesNo
Where steps runResource requests, node selectors, container imageActual admission and placement
When steps runTrigger, schedule, backfill, retryQueue priority, quotas, preemption
What artifacts moveInputs, outputs, metadata IDsUsually no
What capacity is reservedWorkload class and requested lanePartition/queue/cohort capacity

At S3+, tie workflow states to queue classes from gpu-queueing-finops-by-scale.md: research, baseline rebuild, candidate train, release eval, map semantic batch, labeler batch, incident response, and platform maintenance. Release replay and incident evidence should not wait behind exploratory sweeps.


Non-Road Managed-Site Rules

Airport aprons, ports, logistics yards, warehouses, mines, campuses, and construction districts need local ODD state inside the workflow:

  • Site, zone, task, weather, shift, map revision, vehicle kit, and local operating rule are workflow parameters, not notebook notes.
  • Site holdouts and replay packs must be separate artifacts from training snapshots.
  • A workflow may pass globally and still fail a target ODD cell; the release workflow should hold only the affected scope when possible.
  • Map publication workflows can require S4-style evidence even for a small fleet if wrong free space, personnel labels, FOD state, or protected-zone geometry can affect safety.
  • Local terminology in prompts or annotation instructions should be tracked through offboard labeler records instead of forking the core taxonomy silently.

Implementation Sequence

StepS0-S1 versionS2-S3 versionS4-S5 version
Define artifact IDsFilenames and manifest JSONCatalog/registry IDsPolicy-enforced typed IDs
Build baseline workflowScript or DVC stageCI rebuild jobTemplate with audit export
Add data QAManual sample checkScheduled decode/QA workflowEvidence retention and access audit
Add training workflowScripted train/evalOrchestrated train/eval/export/registerEvidence-locked child runs
Add release gateManual noteRelease packet and alias policyClaim/evidence table and approver record
Add incident workflowTicket plus clipsEvidence freeze and replay reproductionReportability and safety-case delta
Add platform templatesNot neededGolden paths for product teamsMulti-tenant policy and exception workflow

Do not begin with a platform migration. Begin by making the artifact contracts explicit, then move the workflow into the smallest orchestrator that can enforce them.


Scorecards

KPIWhy it mattersRelease blocker
Manifest coverageEnsures each workflow run can be tracedCandidate lacks pipeline/run manifest
Artifact handoff completenessPrevents hidden bucket side effectsTask output has no immutable ID
Retry/failure cause qualitySeparates flaky infra from invalid evidenceEvidence job repeatedly fails without owner
Queue wait by workflow classShows whether release/incident work is starvedIncident or release eval misses SLO
Backfill correctnessPrevents replaying old data with new assumptionsBackfill changes split/eval evidence silently
Policy hook pass rateShows whether gates are useful and usableRequired attestation, split, eval, or rollback gate missing
Template driftDetects platform workflow changesShared workflow version changes without impact review
Bypass rateMeasures whether teams avoid the platformRelease-affecting artifact created outside approved workflow

At S5, platform SLOs should include workflow start latency, median/95th task runtime, queue wait, cache hit rate, failure triage time, and policy false-positive rate.


Failure Modes

Failure modeConsequenceControl
One mega-DAG owns everythingFailures are hard to isolate and approval boundaries blurSplit data, training, eval, release, and incident workflows
Task writes untracked filesRegistry/evidence cannot prove what was usedRequire typed outputs and immutable artifact IDs
Retries mask data quality failuresBad data eventually passes by chanceSeparate transient infra retries from semantic validation failures
Backfill overwrites evidenceHistorical metrics change under old release claimsEvidence-locked inputs and versioned workflow templates
Training completion moves aliasModel reaches deployment without reviewSeparate register/promote/deploy/approve states
Orchestrator metadata not linkedWorkflow logs cannot explain a model or incidentWrite workflow/run IDs into tracker, registry, catalog, and release packet
Platform too heavy too earlyTeams bypass it with scriptsStart with manifest contracts and lightweight CI/DVC
Platform too weak too lateFleet releases depend on ad hoc scriptsAdd policy hooks before S2/S3 artifacts reach users
Site scope is a parameter nobody checksGlobal pass hides local ODD regressionMake site/ODD scope a release workflow input and blocker
Incident workflow has no capacitySafety evidence waits behind routine jobsReserved incident lane and tested evidence-freeze workflow

  • mlops-scale-research-scope.md - MLOps maturity ladder and orchestration scope.
  • mlops-reference-architectures-by-scale.md - architecture choices and durable interfaces.
  • mlops-migration-checklist-by-scale.md - transition triggers for adding orchestrators and policy gates.
  • experiment-tracking-reproducibility-by-scale.md - run authority, reproducibility levels, and run manifest contract.
  • model-registry-artifact-lifecycle-by-scale.md - registry records, alias authority, lifecycle states, artifact-set membership, and rollback retention.
  • serving-inference-operations-by-scale.md - serving manifest, endpoint/batch/edge rollout policy, autoscaling, telemetry, and rollback.
  • platform-sre-reliability-by-scale.md - workflow service SLOs, error budgets, incident lanes, backup/restore, and platform bypass controls.
  • mlops-scorecards-and-kpis-by-scale.md - scorecards and release-blocking metrics.
  • evaluation-platform-replay-gates-by-scale.md - evaluation manifests, metric specs, replay gates, runtime package checks, shadow/canary evidence, and evaluation-service SLOs.
  • dataset-split-leakage-controls-by-scale.md - split manifests and leakage reports.
  • model-governance-release-evidence.md - release packets, aliases, and rollback evidence.
  • secure-artifact-attestation-profile.md - signed artifacts, SBOM/provenance, and policy verification.
  • gpu-queueing-finops-by-scale.md - queue classes, GPU capacity, and cost controls.
  • data-flywheel-airside.md - trigger mining, labeling, training, validation, and monitoring loop.
  • ../data-platform/fleet-data-pipeline.md - fleet ingest, data products, and pipeline states.
  • ../../20-av-platform/compute/training-infrastructure.md - training infrastructure and orchestration examples.

Sources

Public research notes collected from public sources.