Skip to main content

DORA Metric Mapping

DORA's four key metrics (Deployment Frequency, Lead Time for Changes, Change Failure Rate, and Mean Time to Restore) are the industry standard for measuring software delivery performance (DORA State of DevOps Report, 2024). Each metric has a direct mapping to the structural failure modes of Git-based Salesforce pipelines.

This page documents that mapping explicitly. The claim is not that every Git-based Salesforce team operates at Low tier; it is that the structural characteristics of this architecture create pressure on each metric in a predictable direction, and that pressure is architectural, not organizational.

DORA Elite: Multiple deployments per day Typical Git-based Salesforce: 1–4 per month (Medium tier) to fewer than 1 per month (Low tier)

Structural causes:

  1. Drift accumulation. As sandboxes diverge over time, the pre-deployment reconciliation effort increases. Teams that cannot automate this reconciliation add manual review cycles before each deployment, extending the minimum time between releases.
  2. Trust-eroded gate insertion. After deployment failures caused by semantic merge errors or overwrite incidents, teams add manual approval checkpoints. These gates add elapsed time per deployment and effectively cap deployment frequency.
  3. Large-batch pressure. Teams that cannot manage fine-grained deployments efficiently aggregate changes into larger batches to amortize the per-deployment overhead. Larger batches carry higher failure risk, which reinforces the slower cadence.

Metadata-native resolution: A system that continuously syncs org state, detects drift automatically, and validates deployments against live org state eliminates the pre-deployment manual review requirement. Deployment frequency increases because each individual deployment is cheaper to validate and execute.

Summary table

DORA MetricGit-based Salesforce tierPrimary structural causeMetadata-native resolution
Deployment FrequencyMedium–LowDrift accumulation, manual gatesAutomated org sync, org-aware validation
Lead Time for ChangesMediumManual reconciliation, dependency auditsOrg-aware validation, live dependency resolution
Change Failure RateElevated vs. EliteSemantic merge, overwrites, dependency gapsSemantic merge engine, overwrite protection
MTTRLow (4–24 hours)No native rollback, manual reconstructionPre-deployment snapshots, first-class rollback

Goodhart's Law and the limits of DORA as a target

The DORA framework is a measurement tool, not a goal. When an organization treats DORA tier as a target rather than an indicator, measurement pressure distorts the signal.

The canonical form of this distortion: a team raises Deployment Frequency by deploying smaller, lower-risk changes more often, without addressing the semantic merge errors, overwrite incidents, or sandbox drift that cause Change Failure Rate elevation. The frequency metric improves. The underlying pipeline reliability does not. DORA tier advances. The structural failure modes remain in place.

Using DORA metrics as a business case for tooling investment requires measuring the right baseline: not what the team has optimized, but what the architecture constrains. A team that has responded to pipeline unreliability by restricting deployments to low-risk changes has suppressed the deployment frequency and lead time metrics, but the constrained numbers accurately reflect the actual pipeline confidence, not a performance failure of the team.

The structural argument is: if this team removed the constraints and deployed at the cadence a reliable pipeline would support, what would the DORA metrics look like? That counterfactual is the real signal. The measured current state is the suppressed, trust-compensated version.

Note on data: DORA's annual reports do not publish Salesforce-specific cohort data. The "two tiers below Elite" characterization is derived from the structural analysis in this lesson applied to DORA tier definitions, not from a direct DORA-published Salesforce benchmark. Treat as a structural inference, not a DORA citation.