Run summary card
Post-run outcome card: status, duration, cost, and follow-up actions.
Included in the single kansho full pack. Components are not offered as separate installs.
Outcomes
Static preview: failed-run actions require host callbacksrun_01hwf4m8kj2nqp7r
2026-05-21 at 14:02 UTC
run_01hwf3x9an5mrk2c
2026-05-21 at 13:44 UTC
run_01hwf2t6be8mzj1a
2026-05-21 at 13:21 UTC
run_01hwf5p0dl3nqs8v
Error & recovery
Static preview: Re-run and View logs require host callbacks; a passed run shows neitherrun_01hwf3x9an5mrk2c
run_01hwf4m8kj2nqp7r
With receipt jump handler
run_01hwf4m8kj2nqp7r
Component documentation
Run Summary Card
components/sandbox/run-summary-card.tsxPurpose
Summarises a run outcome with duration, spend, test totals, receipt, and failure actions.
Appropriate use
Use at the end of a test or build run when the host can open evidence or start recovery.
Example
components/sandbox/run-summary-card.tsx has a representative live example in the "With receipt jump handler" section on /components/run-summary-card.
States
Outcomes are passed, failed, warning, and running; test counts, spend, receipt, completion time, rerun, and logs are optional.
API and props
RunSummaryCard accepts runId, outcome, duration, spend, totalTests, passedTests, failedTests, receiptId, onViewReceipt, onRerun, onViewLogs, completedAt, and className.
Dependencies
Direct imports are React, Lucide icons, StatusPill, and cn.
Accessibility
Outcome, run id, duration, spend, and test counts are textual; receipt and failure actions are native buttons rendered only with callbacks.
Limitations
It does not execute runs, calculate totals, fetch receipts or logs, confirm reruns, or report asynchronous action results.
Source
Source: components/sandbox/run-summary-card.tsx.
Full pack
components/sandbox/run-summary-card.tsx is documented at /components/run-summary-card and installs only through the single Kansho full pack; no individual component install is offered.