Skip to main content

How it works

CI deploy success rate measures the percentage of production deployments that complete successfully without failure or rollback. This is a key indicator of deployment process stability and code quality. Higher success rates indicate:
  • Reliable deployment pipelines
  • Comprehensive pre-deployment testing
  • Stable infrastructure and configuration
  • Well-defined rollback procedures

Calculation

The metric calculates the ratio of successful deployments to total deployment attempts. Formula:

What counts as successful

A deployment is considered successful when:
  • The CI/CD workflow completes without errors
  • All deployment steps execute successfully
  • No automatic rollback is triggered
  • The deployment is not manually reverted within a short window

What counts as failed

A deployment is considered failed when:
  • The CI/CD workflow exits with an error status
  • Deployment steps fail or timeout
  • Automatic rollback is triggered
  • Manual rollback occurs within the deployment window

Industry benchmarks

Success rates below 85% indicate significant deployment process issues that should be addressed urgently.

Why it matters

Deployment success rate impacts:
  • Developer productivity: Failed deployments waste time and disrupt workflow
  • User experience: Failed deployments can cause outages or degraded service
  • Team morale: Frequent deployment failures create anxiety and reduce confidence
  • Business continuity: Unreliable deployments increase risk and slow feature delivery

Common causes of low success rates

  1. Insufficient testing: Code reaches production without adequate test coverage
  2. Environment drift: Differences between staging and production environments
  3. Configuration errors: Missing or incorrect environment variables
  4. Infrastructure issues: Unreliable deployment infrastructure or networking
  5. Complex deployments: Too many manual steps or dependencies
  6. Flaky tests: Unreliable tests that fail intermittently

Improving success rates

To increase deployment success rates:
  1. Strengthen pre-deployment testing:
    • Expand unit and integration test coverage
    • Run end-to-end tests before deployment
    • Use smoke tests immediately after deployment
  2. Standardize environments:
    • Use infrastructure-as-code (Terraform, CloudFormation)
    • Containerize applications (Docker, Kubernetes)
    • Maintain environment parity between staging and production
  3. Improve deployment automation:
    • Eliminate manual deployment steps
    • Implement automated rollback triggers
    • Use blue-green or canary deployments
  4. Monitor deployment health:
    • Set up deployment health checks
    • Monitor key metrics during deployment
    • Define clear success/failure criteria
  5. Learn from failures:
    • Conduct blameless postmortems
    • Document common failure patterns
    • Update runbooks and automation
Balance success rate with deploy frequency. Very high success rates (99%+) combined with low deploy frequency may indicate overly conservative processes that slow down delivery.

Technical details

Weave identifies successful deployments through CI/CD platform status codes:GitHub Actions:
  • Workflow conclusion: success
  • All required jobs completed successfully
  • No rollback workflow triggered
CircleCI:
  • Pipeline status: success
  • All deployment jobs passed
  • No subsequent rollback detected
Jenkins:
  • Build result: SUCCESS
  • All deployment stages passed
  • No rollback build triggered
Failed deployments are detected through:
  1. Explicit failures: Workflow/pipeline/build exits with failure status
  2. Rollback detection: Automatic or manual rollback within deployment window
  3. Timeout: Deployment exceeds configured time limit
  4. Health check failures: Post-deployment health checks fail
Cancelled deployments are excluded from both success and failure counts.
A rollback window is used to detect rapid rollbacks that indicate deployment failure:
  • Default window: 1 hour after deployment completion
  • Rollback detection: If a rollback deployment occurs within the window, the original deployment is marked as failed
  • Configurable: Organizations can adjust the rollback window in settings
CI deploy success rate uses data from:
  • GitHub Actions: Workflow run conclusions
  • GitLab CI/CD: Pipeline statuses
  • Azure DevOps: Build and classic release deployment results
  • CircleCI: Workflow statuses
  • Jenkins: Build results
  • Argo CD: Application sync results

Public API

Available from GET /metrics as ci_deploy_success_rate: a 0–1 fraction of CI production deploys that succeeded. Merge-as-deploy rows are excluded. Change failure rate is 1 - ci_deploy_success_rate. Requires a CI/CD connection and production-classified workflows. group_by is not supported; teams and accounts filters still apply.
Last modified on October 19, 2026