Hallucinated model name sat in codebase for months, caught 6 days before a deprecated model shutdown

Trout_dev · reddit · 2026-10-11

A developer caught a completely made-up model name (gemini-3.6-flash) in their gateway code just 6 days before the entire model family's Oct 16 shutdown. It passed all 130 tests and built cleanly in Docker, because model names are just strings — no type checking or import-time validation, nothing fails until a real API call in production.

Other postmortems in the thread:

Takeaway: the gap between "passes all tests" and "works when strangers rely on it" keeps being wider than expected.

Original post →

More from coding & agent

coding & agent channel →