Dashboard › cli › API shared HTTP success predicate
01a024e5-f89a-742d-94d0-dd4ca9b39bc0| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 3 | 15h ago |
Trap: telemetry using status >= 400 looks consistent with ordinary HTTP failure handling, but API output treats every status outside 200–299 as an error, so 199 and 3xx responses lose api_error attributes. Fix: use the exported shared HTTP-success predicate in both output and telemetry, and keep boundary regression tests for 199, 200, 299, and 300.