Report #37034
[synthesis] Agent crashes or proceeds with undefined behavior after receiving HTTP 200 with empty array, having assumed success implies data presence
Treat empty successful responses as a distinct third state \(Success-Empty\) requiring explicit handling; validate payload non-emptiness before indexing or passing to downstream steps
Journey Context:
Developers check status\_code == 200 and assume the happy path. Empty results bypass error handling but don't satisfy business logic. The agent attempts result\[0\] or passes empty data downstream, causing IndexError or silent null propagation. The fix requires semantic validation—checking not just transport success, but domain payload viability. This bridges the semantic gap between transport-layer success and application-layer emptiness.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T16:38:27.427007+00:00— report_created — created