Pipestep
Interactive CI pipeline debugger. Step through GitHub Actions workflows locally with Docker.
Install / Use
/learn @Photobombastic/PipestepREADME
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.
<p align="center"> <img src="demo.gif" alt="PipeStep demo" width="700"> </p>The Problem
The CI debugging loop:
- Commit a fix
- Push to GitHub
- Wait 2-5 minutes for the runner
- Watch it fail
- Read the logs, guess what went wrong
- 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
# Prerequisites: Docker Desktop running, Python 3.11+
pip install pipestep
# or from source:
python3.11 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
# Pre-pull the base image
docker pull ubuntu:22.04
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
# or from source:
python cli.py run sample_workflow.yml
Controls
| Key | Action | |-----|--------| | R | Run the current step (or run local equivalent for action steps) | | 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 | | Arrow keys | Navigate step list |
Action Steps (uses:)
PipeStep pauses at action steps instead of silently skipping them. For common actions, it provides local equivalents that you can run with R:
| Action | Local Equivalent |
|--------|-----------------|
| actions/checkout@* | Workspace already mounted via Docker volume |
| actions/setup-node@* | Installs Node.js via apt |
| actions/setup-python@* | Installs Python via apt |
| actions/setup-go@* | Installs Go via apt |
| actions/setup-java@* | Installs Java via apt |
| actions/cache@* | No-op (caching not needed locally) |
For unknown actions, press I to shell into the container and set up manually, or S to skip.
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.
Session Recording
Every debugging session is automatically recorded. When you quit, PipeStep saves a bash script capturing every step you ran, skipped, or shelled into. Use these recordings to reproduce debugging sessions or as the basis for tests.
How It Works
- Parses your GitHub Actions YAML
- Maps
runs-onto a local Docker image (e.g.ubuntu-latest→ubuntu:22.04) - Creates a container and executes each step sequentially
- 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 — best-effort equivalents for common actions, but no full execution - 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_TOKENand GitHub API access are not provided- Runner OS is mapped to stock Docker images (
ubuntu-latest→ubuntu: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
if:conditionals are not evaluated (all steps are presented)- Shell is always
bash(nopwshor custom shells)
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
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
351.4kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
