DEV Community

BAOFUFAN profile picture

BAOFUFAN

404 bio not found

Joined Joined on 
Automating AI Agent Memory Write, Expiry, and Recall Consistency Verification with Pytest and Redis

Automating AI Agent Memory Write, Expiry, and Recall Consistency Verification with Pytest and Redis

Comments
1 min read
Qdrant Recall Inconsistency: It Took 300 Test Runs to Discover the Index Wasn't Refreshed

Qdrant Recall Inconsistency: It Took 300 Test Runs to Discover the Index Wasn't Refreshed

Comments
3 min read
Debugging AI Agent Context Pollution with pytest + Redis: 3 Cross-Talk Bugs in 6 Hours

Debugging AI Agent Context Pollution with pytest + Redis: 3 Cross-Talk Bugs in 6 Hours

Comments
2 min read
Regression Testing LLM Memory Storage with pytest & Redis to Prevent Multi-turn Context Loss

Regression Testing LLM Memory Storage with pytest & Redis to Prevent Multi-turn Context Loss

Comments
1 min read
Automated Regression Testing for AI Agent Memory Storage with Pytest & ChromaDB

Automated Regression Testing for AI Agent Memory Storage with Pytest & ChromaDB

Comments
1 min read
AI Agent Memory Storage Pitfalls: One pgvector Index Parameter That Cost Me 4 Hours Late at Night

AI Agent Memory Storage Pitfalls: One pgvector Index Parameter That Cost Me 4 Hours Late at Night

Comments
3 min read
Cutting AI Agent Memory Testing from 40 Minutes to 3 with pytest + Docker

Cutting AI Agent Memory Testing from 40 Minutes to 3 with pytest + Docker

Comments
3 min read
Contract Testing Vector DB Memory Storage with pytest + Allure: 60% Fewer Regression Incidents

Contract Testing Vector DB Memory Storage with pytest + Allure: 60% Fewer Regression Incidents

Comments
3 min read
I Spent a Whole Weekend Fixing LangChain Memory Bugs with Pytest — Here’s What I Learned

I Spent a Whole Weekend Fixing LangChain Memory Bugs with Pytest — Here’s What I Learned

Comments
4 min read
From 2 Hours to 3 Minutes: Automating LLM Memory Testing with Playwright + LangChain

From 2 Hours to 3 Minutes: Automating LLM Memory Testing with Playwright + LangChain

Comments
4 min read
Automating LLM Agent Memory Testing with Playwright: 10x Efficiency Boost

Automating LLM Agent Memory Testing with Playwright: 10x Efficiency Boost

Comments
4 min read
How I Spent 6 Hours Debugging LangChain Memory’s Silent Message Drop

How I Spent 6 Hours Debugging LangChain Memory’s Silent Message Drop

Comments
4 min read
I Let an LLM Write My API Tests—Coverage Jumped from 41% to 98% and Caught a Hidden Bug

I Let an LLM Write My API Tests—Coverage Jumped from 41% to 98% and Caught a Hidden Bug

Comments
3 min read
Automated AI Memory Testing with Pytest & Redis: 10x Faster Validation and 3 Hidden Bugs Squashed

Automated AI Memory Testing with Pytest & Redis: 10x Faster Validation and 3 Hidden Bugs Squashed

Comments
4 min read
Debugging Playwright LocalStorage Persistence: A 3-Hour Puzzle

Debugging Playwright LocalStorage Persistence: A 3-Hour Puzzle

Comments
4 min read
Pytest + Chroma: The 6‑Hour Bug That Erased AI’s Memory

Pytest + Chroma: The 6‑Hour Bug That Erased AI’s Memory

Comments
4 min read
From 3 Hours to 5 Minutes: Automating AI Chatbot Memory Regression with Pytest & Docker

From 3 Hours to 5 Minutes: Automating AI Chatbot Memory Regression with Pytest & Docker

Comments
3 min read
Redis Cache Inconsistency: My 48-Hour Debugging Nightmare & The Automated Test That Saved Me

Redis Cache Inconsistency: My 48-Hour Debugging Nightmare & The Automated Test That Saved Me

Comments
3 min read
From 200s to 15s: 13x Faster Tests with Pytest + Redis Memory Store

From 200s to 15s: 13x Faster Tests with Pytest + Redis Memory Store

Comments
4 min read
Debugging an LLM Long-Term Memory Disaster: 2000 Misplaced Memories in 3 Hours

Debugging an LLM Long-Term Memory Disaster: 2000 Misplaced Memories in 3 Hours

Comments
4 min read
LangChain Memory in Production: 10 Edge Cases We Hit and the Automated Tests That Saved Us

LangChain Memory in Production: 10 Edge Cases We Hit and the Automated Tests That Saved Us

Comments
3 min read
How a Redis Config Mistake Deleted 3,000 Records at 3 AM — and the Automated Tests That Saved Me

How a Redis Config Mistake Deleted 3,000 Records at 3 AM — and the Automated Tests That Saved Me

Comments
3 min read
Automating LLM Memory Tests with pytest: 400% More Bugs Found

Automating LLM Memory Tests with pytest: 400% More Bugs Found

Comments
4 min read
From Manual to Playwright+Pytest: Boosting AI Memory Test Coverage from 20% to 96%, Slashing Regression Time by 90%

From Manual to Playwright+Pytest: Boosting AI Memory Test Coverage from 20% to 96%, Slashing Regression Time by 90%

Comments
3 min read
No More 3 AM Alerts: Automating Memory Store Tests with Pytest + Docker

No More 3 AM Alerts: Automating Memory Store Tests with Pytest + Docker

Comments
4 min read
I Spent 4 Hours Debugging a Redis Race Condition. Here's What I Learned.

I Spent 4 Hours Debugging a Redis Race Condition. Here's What I Learned.

Comments
4 min read
Moving Agent Memory to Redis: From 30% to 95% Integration Test Coverage

Moving Agent Memory to Redis: From 30% to 95% Integration Test Coverage

Comments
4 min read
How We Cut AI Memory Regression Testing from 30 Minutes to 2 Minutes

How We Cut AI Memory Regression Testing from 30 Minutes to 2 Minutes

Comments
3 min read
Slashing Visual Regression False Positives by 90% with Playwright

Slashing Visual Regression False Positives by 90% with Playwright

Comments
3 min read
LLM Chat Memory Loss: How 300 Playwright Tests Caught the Real Culprit

LLM Chat Memory Loss: How 300 Playwright Tests Caught the Real Culprit

Comments
3 min read
The Ghost Conversation: A 6-Hour Debugging Journey into LangChain Memory Storage Tests

The Ghost Conversation: A 6-Hour Debugging Journey into LangChain Memory Storage Tests

Comments
4 min read
AI Agent Memory Storage Testing Pitfalls: A 4-Hour Debugging Nightmare Caused by Redis Serialization

AI Agent Memory Storage Testing Pitfalls: A 4-Hour Debugging Nightmare Caused by Redis Serialization

Comments
3 min read
How I Slashed Chatbot Context Loss from 12% to 0 by Adding Pytest to the LLM Pipeline

How I Slashed Chatbot Context Loss from 12% to 0 by Adding Pytest to the LLM Pipeline

Comments
3 min read
LangChain Memory Testing Pitfalls: The Two Bugs That Cost Me 4 Hours

LangChain Memory Testing Pitfalls: The Two Bugs That Cost Me 4 Hours

Comments
3 min read
The 6-Hour Bug: Async Timing in AI Memory Testing with Playwright

The 6-Hour Bug: Async Timing in AI Memory Testing with Playwright

Comments 1
3 min read
Automating AI Memory Tests with pytest: 11 Hidden Bugs in 2 Days

Automating AI Memory Tests with pytest: 11 Hidden Bugs in 2 Days

Comments
4 min read
From 3 Hours to 3 Minutes: How We 60x’d AI Chat Memory Regression Testing

From 3 Hours to 3 Minutes: How We 60x’d AI Chat Memory Regression Testing

Comments
7 min read
Automating AI Memory Regression Testing: From 2 Hours to 6 Minutes with pgvector

Automating AI Memory Regression Testing: From 2 Hours to 6 Minutes with pgvector

Comments
4 min read
LLM Memory Storage: 3 Days of Manual Testing Missed 8 Bugs – Automation Caught Them in 1 Hour

LLM Memory Storage: 3 Days of Manual Testing Missed 8 Bugs – Automation Caught Them in 1 Hour

Comments
3 min read
How I Spent 5 Hours Fixing Flaky LLM Memory Recall — and Locked It Down with pytest

How I Spent 5 Hours Fixing Flaky LLM Memory Recall — and Locked It Down with pytest

Comments
6 min read
20x Faster RAG Memory Testing: Trade Postman for Playwright + Chroma

20x Faster RAG Memory Testing: Trade Postman for Playwright + Chroma

Comments
3 min read
After 3 Years of Redis, I Finally Learned How to Test Cache Consistency

After 3 Years of Redis, I Finally Learned How to Test Cache Consistency

Comments
4 min read
Redis Persistence Horror: I Thought AOF Saved Me — Until It Didn’t

Redis Persistence Horror: I Thought AOF Saved Me — Until It Didn’t

Comments 1
3 min read
From 30-Minute Manual Regression to 2-Minute Automation: Uncovering 3 Hidden LLM Memory Bugs

From 30-Minute Manual Regression to 2-Minute Automation: Uncovering 3 Hidden LLM Memory Bugs

Comments
3 min read
After 2 Years with LangChain, I Realized I’ve Been Testing Memory the Wrong Way

After 2 Years with LangChain, I Realized I’ve Been Testing Memory the Wrong Way

Comments
4 min read
How I Spent 48 Hours Debugging a LangChain Agent Memory Race Condition — And How Playwright Solved It

How I Spent 48 Hours Debugging a LangChain Agent Memory Race Condition — And How Playwright Solved It

Comments
4 min read
Automating LLM Memory Validation with Pytest & Redis: 45x Faster Regression Testing

Automating LLM Memory Validation with Pytest & Redis: 45x Faster Regression Testing

Comments
5 min read
Replacing Manual Storage Regression Testing with Playwright + GitHub Actions Slashed Production Bugs by 80%

Replacing Manual Storage Regression Testing with Playwright + GitHub Actions Slashed Production Bugs by 80%

Comments
3 min read
200x Speedup: LLM Memory Regression Testing from 3 Days to 15 Minutes

200x Speedup: LLM Memory Regression Testing from 3 Days to 15 Minutes

Comments
4 min read
API Regression Testing Nightmare: A 48-Hour Debugging Journey with LangChain + Chroma Memory

API Regression Testing Nightmare: A 48-Hour Debugging Journey with LangChain + Chroma Memory

Comments
3 min read
How Playwright’s Clock API Turned a 4-Hour Memory Decay Test into 10 Minutes

How Playwright’s Clock API Turned a 4-Hour Memory Decay Test into 10 Minutes

Comments 1
4 min read
End the Guesswork: Automated AI Memory Testing Cuts Debug Time by 10

End the Guesswork: Automated AI Memory Testing Cuts Debug Time by 10

Comments
3 min read
From 40% to 0: Automating LLM Memory Regression with Playwright+VCR

From 40% to 0: Automating LLM Memory Regression with Playwright+VCR

Comments
4 min read
How We Cut Memory Hallucination Debugging from 6 Hours to 30 Minutes with Playwright + pytest

How We Cut Memory Hallucination Debugging from 6 Hours to 30 Minutes with Playwright + pytest

Comments
4 min read
From Manual to Automated: 10x Faster LLM Memory Bug Detection (with 3 Pitfalls)

From Manual to Automated: 10x Faster LLM Memory Bug Detection (with 3 Pitfalls)

Comments
3 min read
Agent Memory Testing with SQLite Snapshots: 10x Debugging Efficiency

Agent Memory Testing with SQLite Snapshots: 10x Debugging Efficiency

Comments
3 min read
One Missed Test Case Cost Me 8 Hours — How I Built a Zero-Regression Memory Test Suite with Pytest + Docker

One Missed Test Case Cost Me 8 Hours — How I Built a Zero-Regression Memory Test Suite with Pytest + Docker

Comments
3 min read
Taking Over LLM Memory Store Testing with Pytest: 90% Fewer State Inconsistencies

Taking Over LLM Memory Store Testing with Pytest: 90% Fewer State Inconsistencies

Comments
3 min read
LLM Memory Consistency Testing: 3 Pitfalls with Playwright + pytest (And 8 Hours of Debugging)

LLM Memory Consistency Testing: 3 Pitfalls with Playwright + pytest (And 8 Hours of Debugging)

Comments
3 min read
Debugging LLM Conversation Memory: A 3-Day Race Condition Nightmare

Debugging LLM Conversation Memory: A 3-Day Race Condition Nightmare

Comments
4 min read
loading...