Skip to main content

Interactive CI pipeline debugger. Step through GitHub Actions workflows locally with Docker.

Project description

PipeStep

A debugger for your CI pipeline.

Step through GitHub Actions workflows locally with Docker. Pause before each step, inspect the environment, drop into a shell, modify variables, re-run failed steps — without pushing and waiting.

PipeStep demo

The Problem

The CI debugging loop:

  1. Commit a fix
  2. Push to GitHub
  3. Wait 2-5 minutes for the runner
  4. Watch it fail
  5. Read the logs, guess what went wrong
  6. Repeat

A single debugging session eats 30-60 minutes. PipeStep lets you step through the pipeline locally, inspect the container at each stage, and fix issues before you push.

Install

pip install pipestep

Requires Python 3.11+ and Docker Desktop running.

Quick Start

# Point it at any GitHub Actions workflow in your project
pipestep run .github/workflows/ci.yml

Controls

Key Action
R Run the current step
S Skip the current step
I Shell into the container (interactive bash)
B Toggle breakpoint on a step
N Auto-run to the next breakpoint
Q Quit and cleanup containers

When a Step Fails

PipeStep pauses and lets you:

  • Shell in to the exact container where it failed — same filesystem, same env vars
  • Retry the step after making changes inside the container
  • Skip past it and continue the pipeline
  • Quit and clean up

No more guessing from log output. You're inside the environment where it broke.

How It Works

  1. Parses your GitHub Actions YAML
  2. Maps runs-on to a local Docker image (e.g. ubuntu-latestubuntu:22.04)
  3. Creates a container and executes each step sequentially
  4. Pauses between steps so you can inspect, modify, or debug

PipeStep vs act

PipeStep act
Execution model Step-through with pause/inspect Batch run
Shell into container Yes, mid-pipeline No
Breakpoints Yes No
Re-run failed steps Yes Restart entire pipeline
Primary use case Debugging Running locally

act is great for running pipelines locally. PipeStep is for when things go wrong and you need to figure out why.

Limitations

PipeStep runs your run: steps in a local Docker container. It does not replicate the full GitHub Actions runtime:

  • GitHub Actions (uses:) are detected and skipped — they're shown in the step list but not executed locally
  • Secrets and ${{ secrets.* }} are not available — replace them with local env vars or hardcode test values in the container
  • Service containers (services:) are not started
  • Matrix builds (strategy.matrix) are not expanded — pick one combination and test it
  • Artifact upload/download actions won't run
  • GITHUB_TOKEN and GitHub API access are not provided
  • Runner OS is mapped to stock Docker images (ubuntu-latestubuntu:22.04) — pre-installed tools on GitHub's runners may be missing
  • Apple Silicon — Docker runs x86 Linux images through emulation on M-series Macs, which is noticeably slower

These are real constraints. PipeStep's value is debugging your shell commands (run: steps) in the exact container environment — not emulating the full GitHub Actions platform. For full local runs, use act.

Contributing

git clone https://github.com/photobombastic/pipestep.git
cd pipestep
python3.11 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"

# Run tests
pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pipestep-0.1.1.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipestep-0.1.1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file pipestep-0.1.1.tar.gz.

File metadata

  • Download URL: pipestep-0.1.1.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pipestep-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8a6d794651563e1ccbd0dc8ed6cb05a1a6185f276472896f6a1d30ed98edf443
MD5 48e55378e1efd3798289868c322676b1
BLAKE2b-256 38692757e52ab69056b9b0b8a12024d894b63680829335d346091ac30eecd034

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipestep-0.1.1.tar.gz:

Publisher: publish.yml on Photobombastic/pipestep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pipestep-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pipestep-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pipestep-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bdc8d72e57bd32739d082277d9cbb421246ccd65ab50deb9f1066e9330dfa2fb
MD5 3a8997ee81c55f384ffd398aeac20874
BLAKE2b-256 44b1a574a83717932eaa33c4eb66138407cea592537b978dec7c03950403fcb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pipestep-0.1.1-py3-none-any.whl:

Publisher: publish.yml on Photobombastic/pipestep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page