cd /news/developer-tools/logsnip-cut-ci-noise-keep-the-stack-… · home topics developer-tools article
[ARTICLE · art-68543] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=· neutral

logsnip: cut CI noise, keep the stack traces

A developer released logsnip, a zero-dependency Python CLI that extracts failure regions from CI logs and collapses the rest, aiming to cut through the noise of package install lines. The tool supports built-in patterns for common error formats and offers options like --check for CI gating and --json for machine parsing.

read1 min views1 publishedJul 22, 2026

Cut the noise. Keep the stack traces.

CI logs are mostly package installs. The failure is a few dozen lines buried under thousands of Down…

lines. Scrolling for the real stack trace is a tax paid on every red build.

logsnip is a zero-dependency Python CLI that extracts those failure regions and collapses the rest.

pip install git+https://github.com/SybilGambleyyu/logsnip.git
curl -fsSL https://raw.githubusercontent.com/SybilGambleyyu/devkit/main/install.sh | bash
gh run view --log-failed | logsnip --last

logsnip ci-full.log --summary

gh run view --log-failed | logsnip --last | redactx

Built-in patterns cover pytest E

lines and AssertionError

, npm ERR!

, rustc error[E…]

, TypeScript error TS…

, GitHub Actions ##[error]

, make failures, and common exit-code messages. Stack frames after a hit are pulled in automatically.

--check

exits 1 when error-like lines appear (CI gate)--json

for machines; --summary

for humans in a hurrySource: github.com/SybilGambleyyu/logsnip · MIT

── more in #developer-tools 4 stories · sorted by recency
── more on @logsnip 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/logsnip-cut-ci-noise…] indexed:0 read:1min 2026-07-22 ·