-
[OPIK-6425] Include error code in explain errored/retried BI events (#7333)
发布于
2026-07-03 09:39:02 +00:00 - [OPIK-6425] Include error code in explain errored/retried BI events
opik_explain_errored fired with only the cell kind while failCell already
had the error code in hand, so the ~30% launch error rate can't be split
into timeout vs unavailable vs rate_limited vs upstream in dashboards.
Attach code (falling back to "unknown" for free-form console errors) to
opik_explain_errored, and tag opik_explain_retried with the code the user
is retrying from.Co-Authored-By: Claude Fable 5 noreply@anthropic.com
- [OPIK-6425] Also attach the error message to opik_explain_errored
code alone can't diagnose free-form console errors (code absent or
unknown) — attach the resolved display message too: static copy for known
codes, the raw upstream error text for unknown ones, truncated to 300
chars since upstream text is unbounded.Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Co-authored-by: Claude Fable 5 noreply@anthropic.com
下载附件