Recover incomplete session exports through durable runtime jobs
This commit is contained in:
@@ -31,6 +31,11 @@ Audit additions (2026-10-20): **partial** — explicit run Report format selecto
|
||||
empty/failed/partial explanations. Unit-tested; browser captures missing under
|
||||
the audit's no-live-runs constraint. Existing captured states below are unchanged.
|
||||
|
||||
Automatic session export recovery additionally shows pending/running/complete/
|
||||
exhausted job status and its bounded attempt count in the visit pane. Backend
|
||||
recovery is fixture-tested; this new status line remains **partial**, without a
|
||||
browser capture (no live runs were authorized).
|
||||
|
||||
## Transport and connection
|
||||
| # | Feature (Android counterpart) | Protocol | Status |
|
||||
| --- | --- | --- | --- |
|
||||
|
||||
@@ -1294,6 +1294,8 @@ function artifactAction(kind, label, disabled, onclick) {
|
||||
function renderSessionExport(step) {
|
||||
const file = sessionExportArtifact(step);
|
||||
const wrap = h("div", { class: "session-export" });
|
||||
const recovery = step?.session_export_recovery;
|
||||
if (recovery) wrap.append(h("div", { class: "muted", text: `Automatic export recovery: ${recovery.status} · ${recovery.attempts}/3 attempts. ${recovery.diagnostic || ""}` }));
|
||||
for (const repair of step?.session_export_repairs || []) {
|
||||
const row = h("div", { class: "session-export-repair" });
|
||||
row.append(h("span", { text: `Repair: ${repair.status || "partial"} · ${repair.messages || 0} messages. ${repair.diagnostic || ""}` }));
|
||||
|
||||
Reference in New Issue
Block a user