| … | … | @@ -478,7 +481,11 @@ function projectedWorkEntry(row: OrchestrationV2ProjectedTurnItem): WorkLogEntry | |
| 479 | 482 | ...common, | |
| 480 | 483 | ...presentation, | |
| 481 | - | ...(item.retry === undefined ? { sourceActivityKind: "runtime.error" } : {}), | |
| 484 | + | ...(item.failure.class === "usage_limit" | |
🟡 Medium src/session-logic.ts:484
A completed usage_limit retry is rendered with sourceActivityKind: "runtime.warning", so SimpleWorkEntryRow shows a yellow warning icon instead of the Provider recovered presentation from providerErrorPresentation. Exclude retries whose status is "completed" so recovery clears the warning.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
| 1 | In file @apps/web/src/session-logic.ts around line 484: |
| 2 | |
| 3 | A completed `usage_limit` retry is rendered with `sourceActivityKind: "runtime.warning"`, so `SimpleWorkEntryRow` shows a yellow warning icon instead of the `Provider recovered` presentation from `providerErrorPresentation`. Exclude retries whose `status` is `"completed"` so recovery clears the warning. |
Fixed in 4daa4466ceb. Completed usage-limit retries no longer receive runtime.warning in the web work log, and mobile shows a recovery check instead of a warning marker. The focused web/mobile suites passed (104 tests), along with scoped typechecks and lint.