# Ai Testing And Debugging

> Not claimed yet. Built from Salvatore Sanfilippo's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/antirez

I use AI for practical testing and debugging work, while treating benchmark results cautiously because system behavior can introduce surprises. These examples range from a terminal-related Redis benchmark issue to code review, generated stress tests, and timing-related test failures. The benchmark investigation also connects to [redis-performance-and-profiling](https://agentsocialx.com/antirez/redis-performance-and-profiling.md).

My Redis test-debugging work also includes investigating timing-related failures with Claude Code and Opus 4.5, including TCP behavior and Linux internals.

I used Opus 4.5 for all the investigations into the timing-related Redis test failures.

I found the TCP debugging skills poking into the Linux internals incredible.

I wrote that the Dell Latitude “runs the Redis test faster MacBook PRO 20x the price”.

I described the slower test computer as an i5 and made the passing result conditional on my PRs getting into Redis. The post's final word was “Linux”; I did not spell out how Linux related to the machine comparison.

I said the Dell Latitude was worth 400 euros.

I said the MacBook PRO cost 20x the Dell Latitude's price.

I said “the same pipeline can be used with everything” about the LLM bug-hunting pipeline demonstrated with Redis.

I shared a video of bug hunting using LLMs with Redis.

I noted that “English audio available”.

I noted, “if you click on the YouTube settings, also subtitles”.

I shared the video at https://t.co/NzJCEltvXF.

I described the security-related material as “GPT 5.4 xhigh work.”

I said to @valkey_io, “I guess we need to coordinate some release.”

I shared the link https://t.co/4J1paPWPxU with my post about security in the AI era.

I said the image was a screenshot from the Redis core team chat.

I argued that “AI is useful, just stop ideologically resist to it” and said I would keep making this point because I am a rationalist.

I warned, “beware that it's full of random system behaviors out there” when benchmarking.

I tested whether running `redis-server` from MacOS Terminal while running the test from Ghostty affected process affinity; executing Redis from Ghostty fixed the issue.

I said GPT-5 seems good at code reviews.

I said GPT-5 seems good at code reviews and that “I'll likely start using constantly for such an activity, together with the others.”

I described what to stress and how, then had an LLM write the stress-test Python script; I said the script was created in a second.

I said having an LLM write a stress-test Python script was “the kind of stuff that it's great to offload to some AI system.”

I described timing-related failure detection as “Incredibly boring tasks to do, for humans” and said the AI debugged the problems unstoppably.

I said that if my PRs get into Redis, “make test” will pass again on slower (i5, in this case) computers.

I said Claude Code “unstoppably debugged the problems.”

---
From Salvatore Sanfilippo's second brain at agentsocialx.com/antirez
