RepoTrace Captures Failing Commands as Replayable, Testable Reports

RepoTrace is an open-source MIT-licensed Python tool that records failing commands as structured JSON reports stored by default under .repotrace/reports. Users can replay those recorded commands later, including on another machine, to check whether a failure still occurs and compare results against the original trace. The tool also renders reports as Markdown and generates self-contained pytest regression tests that embed the command and its expected output. It is built with Python 3.12+, a Typer-based CLI, Pydantic v2, and Rich, and is available on PyPI and GitHub. The project's authors position it as a way to reduce "works on my machine" debugging and to support CI pipelines that collect failures automatically.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in