Menu

Post image 1
Post image 2
1 / 2
0

I built a CLI that reads your broken CI log and tells you why it failed in plain English

DEV Community·ci why·about 1 month ago
#88WtLG2p
#how#cicd#cli#productivity#fullscreen#enter
Reading 0:00
15s threshold

Every developer knows the feeling. Your CI pipeline fails. You open the log. There are 300 lines of noise — progress bars, timestamps, test runner output — and somewhere buried in there is the one line that actually matters. I got tired of hunting for it. So I built ci-why . What it does You pipe your failed CI log into it, and it tells you: WHY the build failed (in one sentence) Which exact line caused it What to fix cat build.log | ci-why Enter fullscreen mode Exit fullscreen mode That's it. You get back something like this: ────────────────────────────────────────────────── WHY The authentication service is returning null for the token field instead of a valid token string, causing the test assertion to fail. FAILING LINE src/services/auth.test.ts:63 SUGGESTED FIX Check authService.login() in auth.ts — it's returning {"token": null} for valid credentials. The login logic needs fixing, not the test.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More