backups: P7-S6 per-dataset export 500s live — WithPackager is never wired and no route serves the archive ref #1430
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1430
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Control-panel UI pass (Ben, 2026-09-10 → 09-12, commit
078cd5b3onfounding-ui-two-colour-rail-ceremony, merged to main 2026-09-12). Filed from the end-of-pass review (#1399 sweep): every place the shipped UI shows or implies something the product does not do yet. Browser harness:cd dashboard && pnpm harness→http://localhost:5198/panel.html?scenario=steady&tab=<tab>.Symptom
The existing per-dataset export (
BackupExportClient,dashboard/src/lib/backups.ts~:615, openapi/backups/.../export~:524-558,internal/controlapi/backups.go:162-168) cannot succeed on a live gateway:internal/backup/export.go:123returnsErrNoPackager—WithPackageris only ever called in tests;whole_composition.go:410-413wires policy / offsite / oplog and no packager. Every export 500s.dashboard/src/lib/api/backupsClient.ts:145-150fetchesarchive.refagainst the origin and no route serves it — not in openapi, not in controlapi. A success would 404.Governing: ADR 0079, ADR 0080, ADR 0104, DDR 0084 §4. Unit test
dashboard/tests/unit/backupExport.test.tspasses against the fake only.What to do
GET /backups/exports/{ref}(openapi + handler) that streams the archive with the right content type, 404 after expiry; the export response'srefis that path.backupExport.test.ts's live leg (or add one undertests/unit/*Live*) so the fetch ofarchive.refis asserted against the real server, not the fake.Acceptance criteria
export_expired.dialogstate, the Overview's device/System/service/members rows, the sidebar chrome — unit debt from Ben's 2026-09-10/11 UI pass #1399swarm-claim host=bens-mac-04 run=22593
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1430 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
stack-config+community-dataendpoints, andstackExportwired in production #1429stack-config+community-dataendpoints, andstackExportwired in production #1429