{failed[0].name}
>
)}
>
);
break;
case "timed-out":
caption = (
<>
Stopped
{timedOut && duration(timedOut.durationMs) && <> after {duration(timedOut.durationMs)}>}
{timedOut && (
<>
{" "}
· {timedOut.name}
>
)}
>
);
break;
case "infrastructure-error":
caption = "The checks didn't start.";
break;
}
return (
);
}
export function ReceiptDetails({
review,
project,
owner,
load,
}: {
review: Review;
project: string;
owner: boolean;
load?: (review: string) => Promise
{review.packet} · {review.sha.slice(0, 7)}
{check.name} · {check.tier}
Digest
Loading receipt logs…
)} {error && ({error}
)} {logs !== undefined && ( <>
{(all ? lines : lines.slice(-200)).join("\n")}
{!all && lines.length > 200 && (
)}
>
)}
>
) : (
No receipt
)}