From 65480ffab134b82e70496814d17ca5c058cdf46b Mon Sep 17 00:00:00 2001 From: Dotta Date: Fri, 10 Apr 2026 22:40:49 -0500 Subject: [PATCH] fix: restore inbox optimistic run fixture --- ui/src/lib/optimistic-issue-runs.test.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/ui/src/lib/optimistic-issue-runs.test.ts b/ui/src/lib/optimistic-issue-runs.test.ts index bd7c4225..8af06b85 100644 --- a/ui/src/lib/optimistic-issue-runs.test.ts +++ b/ui/src/lib/optimistic-issue-runs.test.ts @@ -31,7 +31,30 @@ function createActiveRun(overrides: Partial = {}): ActiveRunF status: "running", startedAt: new Date("2026-04-08T21:00:00.000Z"), finishedAt: null, + error: null, + wakeupRequestId: null, + exitCode: null, + signal: null, + usageJson: { inputTokens: 1 }, + resultJson: { summary: "partial" }, + sessionIdBefore: null, + sessionIdAfter: null, + logStore: null, + logRef: null, + logBytes: null, + logSha256: null, + logCompressed: false, + stdoutExcerpt: null, + stderrExcerpt: null, + errorCode: null, + externalRunId: null, + processPid: null, + processStartedAt: null, + retryOfRunId: null, + processLossRetryCount: 0, + contextSnapshot: null, createdAt: new Date("2026-04-08T21:00:00.000Z"), + updatedAt: new Date("2026-04-08T21:00:00.000Z"), ...overrides, }; }