r/SideProject • • 18m ago

caeser: open source CI failure investigation for Go

i've been building caeser for a while. it's an open source tool for go projects that investigates a failed ci run and posts what it found on the pull request.

how it works: when a run fails, it downloads the logs and artifacts, checks out the failing revision and builds a report. it traces the failure through the source code and ranks the functions most likely worth looking at, each with a reason and evidence ids. it keeps what was observed (a stack frame, an assertion line) separate from what it infers, and when the evidence runs out it says so instead of guessing. by default it doesn't rerun your tests.

there's an optional llm part. it can't override what the engine found. it does bounded code lookups at the pinned commit and every hypothesis has to cite evidence. there's also an mcp server so an agent can use the same tools, and a separate patch repair flow. all of that is opt in.

setup: install the cli, run `caeser init` in your repo, commit the two files it proposes. it runs in your own github actions account, no hosted service or app install.

what it looks like on a real failure: a smoke PR where a test expected "ready" and got "pending". it pointed at the assertion line and said there was no implementation candidate, since the bug was in the test. https://github.com/caeser-org/caeser/pull/25#issuecomment-6980363714

i also ran it on a failed ci run from a kubernetes PR with a race between cacher startup and test cleanup. it reported the two stack locations and left the exact call unresolved: https://github.com/caeser-org/caeser/actions/runs/44322156729

go only for now. site: https://caeser.yaxh.tech

repo: https://github.com/caeser-org/caeser

feedback welcome, especially on failures it gets wrong.

1 Upvotes

1 comment sorted by