Heartfly

Monitor GitHub Actions Deployment Steps

Prevent silent deployment failures by adding heartbeat monitoring to your critical GitHub Actions workflows. Get notified instantly if a deployment step stalls, ensuring your CI/CD pipeline remains robust.

The problem

Your CI/CD pipeline, powered by GitHub Actions, is crucial for delivering new features and bug fixes. When a deployment step silently stalls or hangs, new code isn't reaching production, leading to outdated features and frustrated users. Developers might not realize an issue occurred until hours later, causing significant delays and requiring manual intervention to diagnose and restart the failed workflow.

Imagine a workflow step designed to deploy a critical microservice to Kubernetes. If this step silently hangs due to a resource contention issue or an unexpected API timeout, your team remains unaware that the deployment is incomplete. The new service version isn't live, hotfixes are delayed, and the business impact grows with every minute of downtime. This undetected failure often leads to extended outages.

How Heartfly solves it

1
Integrate a simple `curl` command into your GitHub Actions workflow for each critical deployment step.
2
Receive alerts when a deployment step fails to complete and ping Heartfly within its configured timeframe.
3
Ensure your CI/CD pipelines are always delivering, eliminating silent failures in crucial deployment stages.

Concrete example

name: Deploy to Production
on:
  push:
    branches:
      - main
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v3
      - name: Build and deploy application
        run: |
          # ... deployment commands ...
          echo "Deployment complete."
          curl -fsS --retry 3 "${{ secrets.HEARTFLY_PING_URL_DEPLOYMENT }}"
        env:
          KUBECONFIG_BASE64: ${{ secrets.KUBECONFIG_BASE64 }}

Ready to try Heartfly?

Get pinged when your cron jobs go silent.

Frequently asked questions

How does Heartfly know if a GitHub Actions step failed?
You place a Heartfly ping at the end of your critical GitHub Actions step. If that step fails or hangs before the ping can be sent, Heartfly will detect the absence of the expected signal and alert you.
Can I monitor multiple steps within a single GitHub Actions workflow?
Yes, you can add unique Heartfly pings to different critical steps within the same GitHub Actions workflow. This allows you to pinpoint exactly which part of your CI/CD pipeline has stalled or failed.
What if my GitHub Actions workflow runs intermittently?
Heartfly allows you to configure flexible schedules for your checks. You can set the expected interval and grace period to accommodate workflows that run on varying frequencies, ensuring accurate alerts without false positives.

Related use cases