Commit ec0e91c
fix(seer): Return the resolver response on continue, not a blanket 400
Continue ignored resolve_seer_run_state_id's error response and flattened
every unresolved id to 400 Invalid run_id, inconsistent with GET on the
same id. Return the resolver's response instead, so a not-found run is a
404 and a malformed id stays a 400.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent d8f5847 commit ec0e91c
2 files changed
Lines changed: 15 additions & 2 deletions
File tree
- src/sentry/seer/endpoints
- tests/sentry/seer/endpoints
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
265 | 278 | | |
266 | 279 | | |
267 | 280 | | |
| |||
0 commit comments