I run tests on CI. They fail.

Claude suggests retrying because they might be flaky.

I retry. They fail. Again.

Claude thinks they’re deterministic. Starts investigating.

My paranoid ass thinks they’re actually flaky. I’m just unlucky.

I retry for 3rd time. They fail again.

Claude is now adamant there’s a genuine issue. Spends 2 hours and millions of tokens. Otherwise three flaky tests in a row have the probability of 0.0037% which is impossible.

Are my Senior SWE instincts a joke to you??? You shouldn’t underestimate my autistic stubbornness.

I retry again. 4th time.

They pass.

They were indeed flaky.

Oct 21, 2026 · 10:36 AM UTC

65
4
533
32,571
RepliesRelevant
Replying to @ChShersh
@ChShersh so, my conclusion is to remove tests
1
0
26
2,059
Replying to @rydgel
@rydgel If I do this, they’ll remove me next
2
0
36
1,942
Replying to @ChShersh
@ChShersh flaky tests ARE a real issue.
2
0
17
1,862
Replying to @kerckhove_ts
0
0
4
1,692
Make pro music with zero skills
308
272
14,958
26,719,771
Replying to @ChShersh
@ChShersh Did you mark them as “flaky” or left this treasure to another fortune hunter?
1
0
3
1,175
Replying to @dilorias
@dilorias Asked in the team chat, they were fixed within minutes
0
0
6
1,079
Replying to @ChShersh
@ChShersh Tests are flacky when they fail occasionally. When they work occasionally they should be called different
0
0
1
132
Replying to @ChShersh
@ChShersh flaky tests are also broken and need fixing -.-
0
0
0
24
Replying to @ChShersh
@ChShersh But what if the code is flaky
0
0
0
60
Replying to @ChShersh
@ChShersh Eventual consistency?
0
0
0
14
Replying to @ChShersh
@ChShersh Tests are supposed to help...
0
0
1
16
i'm sorry, Explee can WHAT?

it can take your website link, find people who need your product, email them and book the calls?

since when?? i've been doing this by hand for a YEAR.

ok. testing it: $30 free 👇
55
29
308
1,224,601
Replying to @ChShersh
@ChShersh Many such cases:
Do I like Zig? No.
Do I like Rust? Also no.
Do I like AI? Also no.
Do I like working in OSS? Also no.

But it's a great video that I highly recommend watching.

* Not a paid partnership
* Not made with AI
0
0
0
119
Replying to @ChShersh
@ChShersh Maybe they use the counter variable as tls private key, and 4th time was compatible with #eMudhra certificate
0
0
0
51
Replying to @ChShersh
@ChShersh You need to make the tests non-flaky. That's real work though. And depending on the reason, may require far more effort than seems reasonable.
0
0
0
59
Replying to @ChShersh
@ChShersh This’ll be a nice 5 pointer ticket to fix ci. Maybe two, take your time do it right
0
0
0
269
Replying to @ChShersh
@ChShersh Out of joke bro, some tests uses random gen to define the test and I would say those fails “maybe” are your luck to find real issues. I had opposite paranoid and my tests pass I run again and again till it fails and that is my luck before shipping to production
0
0
1
310
Replying to @ChShersh
@ChShersh Do not get a bigger hammer, force it.
0
0
0
62
Replying to @ChShersh
@ChShersh what does flaky mean, in this context, like what really is the issue?
1
0
1
61
Replying to @ChShersh
@ChShersh Delete the tests!
0
0
0
71
Replying to @ChShersh
@ChShersh Claude 说“可能是 flaky,再跑一次”,我耳朵自动屏蔽,先去看测试日志里的第一行报错。
0
0
0
54
Happy Friday! Small batch of New Arrivals just hit the site. Highlights: Pickle Car, Reddick ATL Wreck Win, and more!
0
6
32
31,240
Replying to @ChShersh
@ChShersh ```
return $(head -c 1 /dev/random | xxd -p -d)
```
0
0
0
112
Replying to @ChShersh
@ChShersh Lol the 4th retry passing is the most tester thing ever. Still worth finding out why its flaky tho
0
0
0
34
Replying to @ChShersh
@ChShersh Perhaps the code really is broken and the flakiness causes the tests to occasionally pass.
0
0
1
190
Replying to @ChShersh
@ChShersh Classic flaky test gaslighting right there.
0
0
0
220
Replying to @ChShersh
@ChShersh But is the test flaky because the testing part has issues, or is it because production code is unstable?
0
0
0
259
Replying to @ChShersh
@ChShersh sounds like a classic case of CI roulette, flaky tests can be a nightmare to track down
0
0
0
150
Replying to @ChShersh
@ChShersh Well…did you fix the flakey tests?
0
0
0
126
Your new favorite everyday suede shoe
0
6
82
1,100,815
Replying to @ChShersh
@ChShersh That probability only works in perfect conditions, CI are not that as there is a bunch of hidden variables which would change the probabilities.
0
0
0
163
Replying to @ChShersh
@ChShersh Happening to me pretty often with AI generated tests :D

It is always either unsuitable combination of business logic from faker factories or some time comparison issues.
0
0
0
280
Replying to @ChShersh
@ChShersh I would say the job now is to make your test stable now understanding why this test is flaky
0
0
0
198
Replying to @ChShersh
@ChShersh the 2 hours is the part that hurts. i built a way to talk to claude code while it runs, so at minute 5 you just say "wait stop stop stop, they're flaky" and it actually stops. would've saved you a few million tokens: github.com/CakeCrusher/fu…
0
0
1
95
Replying to @ChShersh
@ChShersh Yea an LLM number mixer just isn't going to beat a human with hundreds of thousands of circuits dedicated to simulating and modeling everything.

I've been putting together a series on why LLMs have these failures and how they could be corrected.

youtube.com/watch?v=dRajUw…
0
0
0
16
Replying to @ChShersh
@ChShersh The tests were flaky. Claude was deterministic about it.
0
0
0
1
Replying to @ChShersh
@ChShersh Howany in real money this tokens cost?
0
0
0
2
Replying to @ChShersh
@ChShersh i once wrote some tests around concurrency that were guaranteed to prove correctness for something only to discover that the kubernetes runners in ci didn't like it (limited resources iirc) and decided to fail the tests for ??? reasons
0
0
3
163
Can't find an actress willing to kiss you because you're ugly? Fear not.

This is why Hollywood is using Seedance 2.5 Part 11.
Generated with Topview Ai (link in bio)
36
18
468
20,461