All
Articles 161,071Blog Posts 155,570Tech Tutorials 42,485Research Papers 31,730News 21,029
⚡ AI Lessons

Dev.to · Deva
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
StaticFiles html=True at / will silently eat every API route you have
Zero API routes reachable. That was the state of my dashboard the moment the static directory...

Dev.to · Deva
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
Adding a Live Generate Button: Why Synchronous Beat a Job Queue
The dashboard could display drafts. It could not create them. You watched the queue and waited for a...

Dev.to · Deva
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
I Broke My SPA Fallback by Renaming a FastAPI Parameter to Satisfy a Linter
The dashboard SPA fallback was returning 422 on every route that was not an API route. FastAPI kept...

Dev.to · Deva
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
My test had a comment that said 'in memory fallback'. It wasn't.
The test test_warmup_eval_no_flag_subprocess_exits_0 was running the real warmup eval command, no ,...

Dev.to · Deva
🔧 Backend Engineering
⚡ AI Lesson
1mo ago
The warmup engine that worked perfectly and did nothing
The bug that broke my warmup engine was not a missing save call. That is the obvious culprit when...

Dev.to · Deva
🔧 Backend Engineering
1mo ago
Your subprocess test is running against production state
The comment in the test said "in memory fallback." That was wrong. The test was running the real...

Dev.to · Deva
🔧 Backend Engineering
1mo ago
43 Tests for a Write Warmup State Machine
43 tests. That is what it took to be confident in a state machine that decides whether a posting...

Dev.to · Deva
🔧 Backend Engineering
⚡ AI Lesson
2mo ago
Three Test Levels for One CLI Subcommand
7 out of 7 tests pass. That number is boring and exactly correct. Adding a CLI subcommand sounds...

Dev.to · Deva
🔧 Backend Engineering
⚡ AI Lesson
2mo ago
Your feature flag defaults are backwards in tests
Most test suites get feature flag isolation backwards. The instinct is to opt in to a feature when a...

Dev.to · Deva
🔧 Backend Engineering
⚡ AI Lesson
2mo ago
Phase 0 means zero writes. Make sure your code agrees.
The phase spec said "Curve A." The code had _DEFAULT_PHASES. They were not the same thing. That gap...

Dev.to · Deva
🔧 Backend Engineering
⚡ AI Lesson
2mo ago
226 Is Not 344: Why pause_writes Needed a Code Field
226. That is the HTTP status code that stamps a 14 day penalty on write volume. Before P4,...
DeepCamp AI