Menu

The kill switch answered 500. The chat couldn't reach the assistant. Both fixed live — the second one twice.
📰

The kill switch answered 500. The chat couldn't reach the assistant. Both fixed live — the second one twice.

DEV Community: azure·Matthew Douglas·about 7 hours ago
#qgKNdgqx
#devtoazure#devto#dev#live#setting
Long article (793 words) — no AI summary yet.
Reading 0:00
15s threshold

This morning we ran live verification on the next generation of our product — six AI agents plus a closer core — and it came back mixed. The good part first: the test tenant provisioned through onboarding was visible to the sales path, which means the split-store defect that failed the parity gate is fixed live. The bad part: two paths failed. The kill switch answered 500 on every flip, on and off. And the sales chat answered every question with "I can't reach the assistant right now."

Two failures, two different causes, one deploy — and a setting that didn't stick the first time.

The kill switch was the subtler bug. The database answers a write with a 201 and an empty body — that's its default, return minimal. Our adapter called .json() on that empty body. The parse threw "Unexpected end of JSON input" — after the upsert had already applied server-side. So the write landed, the in-memory switch never flipped, and the handler had no try/catch, so the caller got an empty 500.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.