sontek (@sontek) header
sontek (@sontek) profile picture

Building the best AI Code Review and CI Agent: https://www.nitter.cf/t.co/EbK1SfHwtM

Puerto Rico
Joined May 2007
Photo by sontek (@sontek)Photo by sontek (@sontek)Photo by sontek (@sontek)Photo by sontek (@sontek)Photo by sontek (@sontek)Photo by sontek (@sontek)Photo by sontek (@sontek)Photo by sontek (@sontek)Photo by sontek (@sontek)Photo by sontek (@sontek)
Almost no scan comes back with zero CVEs, so the count can't tell you what to do. Three questions can: does it affect you, can you fix it today, and which is due first?
1
23
The worst cost of a flaky test is the habit. Once a red build is usually noise, people and agents rerun failures instead of reading them, real ones included.
1
1
27
A coverage gate that checks one percentage will pass a PR that deletes the only test on your most critical code, as long as the new code is well tested. The number goes up, and the lines that matter go untested.
1
39
The bugs that worry me most in agent PRs aren't in the diff. An agent changes a return value, and a caller three files away breaks. Big PRs hide more of these, and once a reviewer misses one, the next agent copies it.
1
41
That's the problem I've been working on with Drape. I also built a public benchmark to track this kind of bug: sontek.github.io/codereview-… Longer write-up: drape.io/blog/ai-reviewer-mi…
23
Replying to @ibuildthecloud
@ibuildthecloud discobot seems to be the only session manager that takes sandboxing somewhat seriously
2
1
96
Working with humans instead of agents is rough. Asked claude to analyze the last month of PRs for code review comments to find patterns I could write skills on. "Diagnosis: The cursor-bot caught correctness issues, human reviewers caught taste/hygiene issues" The humans are focusing on the wrong thing!
1
1
110
Just had to do actual computer science. 🤮 I'm self taught, I'm not supposed to need those things. Needed a sparse data structure to represent test status with retries across commit/time.
2
104
The way people retry CI actions is wrong. You don't want your test runner to retry. Let the pipeline fail and track the failure. Then automate the retry as a new run. Track how often its failing and get the logs for it. Don't use things like pytest-retry or nick-fields/retry.
1
149
DX isn’t just pretty docs and fast builds. It’s trust. Flaky tests break that trust. You lose all the speed when you are debugging and retrying tests. Why are all the Developer Experience teams building stuff that doesn't improve the daily life of the people they are serving?
1
1
131
I'm building a side project to solve flaky tests / non-deterministic tests and Claude just implemented my oauth for integrating with Github. What a time to be alive. Now I have to code review this to make sure it isn't going to get me a CVE
1
1
2
211
I'm excited for the future where the LLMs have access to test history/logs/etc. I've already been seeing things like the playwright MCP server that get us closer to that future.
AGI will be achieved when there are no flaky tests.
3
452
I took a 1-week vacation next week to try and launch a side project. I doubt a week is enough time but it'll be fun to take a break from work to do some work
76
Most problems can be solved with Postgres and Redis.
126
Here is your annual reminder to get in the holiday spirit with github.com/sontek/snowmachin…
3
187
This is your annual reminder that you can bring holiday cheer to your terminal with github.com/sontek/snowmachin…!
1
3
275
Replying to @puerco
@puerco and @gracenng are awesome
1
1
4
940
It is weird that everyone at #KubeCon is pronouncing kubectl wrong. I've heard "kube C T L", "kube cuddle", etc. The correct pronunciation is "Kub Ecktul". Hopefully that helps!
2
1
2
407
Heading to check-in for first day of #kubecon! Excited to talk to everyone about running stateful services on kubernetes and running your own control plane as god intended!
1
216
I understand kubernetes is complex but as an SRE from the 1900s, I don’t have it in me to go through another wave of innovation. Let’s stop here!
3
257
I wrote up my steps for completing the EKS Cluster Games CTF in case anyone wants to see: sontek.net/blog/2023/eks_clu… Lots of spoilers so don't check it out if you're still working through the problems.
179