The Silent Failure Is the Most Dangerous One: Fail-Closed in CommitBrief
On a partial config, one CommitBrief command silently turned off secret scanning. Silent failures I closed July to October, and the rule: fail closed.
Tag
Building applications and tools in Go: concurrency, error handling and the standard library, covered in posts with practical examples.
There are 24 posts with this tag.
On a partial config, one CommitBrief command silently turned off secret scanning. Silent failures I closed July to October, and the rule: fail closed.
In CommitBrief, what counts as the 'same' finding moved from the title to a rule ID; baseline, policy and PR threads were built on that decision.
I measured CommitBrief's default models for the first time: Gemini cleared the threshold, while the OpenAI default raised too many false alarms.
My subscription limits fill up every week, but I didn't know which project burned how many tokens. So I built a desktop app to measure it.
RAG or fine-tuning gets answered everywhere. The three questions left after it — the key, the model choice, the budget — get answered nowhere.
Two phases of the same run measured the same service three times apart. What caught the wrong one was not a better statistic but a second method.
Writing a Go CLI is half the work; versioning it, cross-compiling it and distributing it so others can install it effortlessly is the other half.
Architecture decisions rot in the code. One architecture.json lets archlint enforce Go, TypeScript and Python boundaries in CI on every commit, no model.
I added a deterministic flaky-test filter to CommitBrief: it catches hard-coded sleeps and unseeded randomness at commit time, with no model.
Two new commands: summary briefs a change and its history, and remote pr reviews a PR from the terminal, leaving comments before the human does.
Not the 'why' but the 'how much': which workflow layers the tool plugs into, the bug patterns it keeps catching, and where it hits its limits.
One afternoon I hit the limits of self-review, so I wrote a tool that audits my own diff without leaving the terminal: CommitBrief.