Refine issue workflow surfaces and live updates

This commit is contained in:
dotta 2026-04-09 10:26:17 -05:00
parent b4a58ba8a6
commit 03dff1a29a
48 changed files with 2800 additions and 1163 deletions

View file

@ -4,6 +4,7 @@ import type { ActiveRunForIssue, LiveRunForIssue } from "../api/heartbeats";
export interface InterruptRunSource {
id: string;
agentId: string;
adapterType: string;
startedAt: Date | string | null;
createdAt: Date | string;
invocationSource: string;
@ -30,6 +31,7 @@ export function upsertInterruptedRun(
runId: run.id,
status: "cancelled",
agentId: run.agentId,
adapterType: run.adapterType,
startedAt: toIsoString(run.startedAt),
finishedAt,
createdAt: toIsoString(run.createdAt) ?? finishedAt,