Skip to content

Commit 7ed9bd1

Browse files
MarcoDotIOclaude
andcommitted
test(web): a retry limit of one reads 1/1 retry
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 798865b commit 7ed9bd1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎apps/web/src/session-logic.test.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,14 @@ describe("V2 session presentation", () => {
214214
retry: { ...firstRetry, attempt: 1, maxAttempts: 10 },
215215
}),
216216
).toMatchObject({ label: "Provider recovered (1/10 retries)" });
217+
expect(
218+
providerErrorPresentation({
219+
...retryItem,
220+
status: "failed",
221+
completedAt: now,
222+
retry: { ...firstRetry, attempt: 1, maxAttempts: 1 },
223+
}),
224+
).toMatchObject({ label: "Provider error after 1/1 retry" });
217225
});
218226

219227
it("assigns run rollback to the turn-start message instead of a later steer", () => {

0 commit comments

Comments
 (0)