Skip to content
All projects
SystemsOct 2026Live

GAUNTLET: An IP-Regression Platform Built to Be Read

An IP-Regression Platform Built to Be Read

A miniature chip-design regression platform, small enough to read in an afternoon: DAG-based flow execution, EDA-style log parsing, waivers and run-to-run diffs, plus a local dashboard, CI-native reports and per-step stability tracking. Pure Python with one dependency.

gauntlet-charan.vercel.app
GAUNTLET, the live site
Year
Oct 2026
Timeline
v0.1 Jul 2026 · v0.2 Oct 2026
Type
Systems
Status
Live

67 tests, ~6s

The full suite runs offline on Linux, macOS and Windows in about six seconds. The tool answers the questions a chip team asks after a nightly run: what broke that was working yesterday, and which steps keep breaking?

01

Overview

A nightly IP regression runs dozens of EDA tools across a dependency graph, each writing gigabyte logs, and a tool can exit 0 and still have failed. GAUNTLET rebuilds that loop end to end (flow execution, log parsing, waivers and run-to-run diff) without faking the hard parts. It is pure Python 3.10+ with a single dependency (PyYAML): no network, no services, no Docker. It uses real subprocesses, signals and exit codes, with logs as files on disk.

02

The hard parts

  1. 01

    A tool can exit 0 and still have failed. Exit codes under-report, so the log has to be the source of truth.

  2. 02

    Running a dependency graph of tools in parallel while cascading failures correctly to dependents.

  3. 03

    Killing a timed-out step cleanly when a shell wrapper can die while its child simulator lives on.

  4. 04

    Distinguishing a known, owned failure from a new regression without hiding either.

  5. 05

    Making a run visible to people and to CI without adding a single dependency.

03

The approach

A ready-set scheduler over a ThreadPoolExecutor runs a step only when every dependency is PASS or WAIVED. Failures cascade as SKIPPED to dependents, and --keep-going lets independent branches finish. Logs are streamed line by line against compiled regex rulepacks and never read whole, because real EDA logs run to gigabytes, so a clean exit code with an unwaived ERROR still FAILs. Waivers are rule_id plus substring matches with an owner and a reason, and a waived failure shows as a visible WAIVED status, not a pass. Steps launch in their own process group. On timeout the whole group is signalled, given a grace period, then hard-killed, on every platform. Everything persists to SQLite, so history, reports, diffs and stats work from the database alone, and charts are laid out in Python as plain SVG that renders offline and prints cleanly.

04

Outcome

The diff is the main output. Introduce a flake, run again, and gauntlet diff sorts results into NEW FAILURES, FIXED and STILL FAILING and exits non-zero on regressions, so CI can gate on what changed instead of a single run's pass or fail. Version 0.2 turned it into a platform: gauntlet serve is a local dashboard with run history, a trend chart, any-two-runs diff, per-step stability and a log viewer that highlights the exact lines a rulepack matched. HTML reports draw the flow with its duration-weighted critical path, --junit and --markdown feed CI test tabs and GitHub step summaries, and gauntlet stats reports each step's pass rate, flips and flaky retries across recent runs. GAUNTLET gates its own CI on the delta and proves the gate trips on an injected regression.

05

What I'd do differently

The rule I held to was not faking the parts that make regression infrastructure hard. WAIVED is a distinct status, not a pass, in the terminal, HTML, JUnit and Markdown alike. SKIPPED is not a failure in diffs, because the diff blames the upstream step that failed. Verifiable facts like status are never left to a heuristic. Next I'd give waivers an expiry date so the debt can't hide forever, and schedule only the steps whose inputs changed.

06

Stack

core
Python 3.10–3.13PyYAML (only dependency)
engine
ThreadPoolExecutor DAG schedulersubprocess process groups
storage
SQLite (migrates in place)
outputs
gauntlet serve dashboardHTML reportJUnit XMLGitHub Markdown
quality
pytest (67 tests, offline)CI on Linux, macOS and Windows

Like what you see?

Let's build the next one.

Hiring, or have a problem that needs this kind of engineering? I read every message myself.