backups: s3-inline-retry — per-target retry on the runs screen's failed row (#88 ruling) #145

Closed
opened 2026-07-26 23:02:08 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #20 (backups). Filed by the 2026-07-26 wireframe-vs-built rulings (origin ticket #88). Ruling: the wireframe wins — build the inline retry.

The p7-s3 wireframe puts retry tōtara's copy inline on the failed run row (data-action="retry-target-totara", beside per-target detail); its comment states the contract: "run rows carry per-target outcomes with an inline retry (DDR 0083 §2)". The built BackupRunsScreen.vue carries only open-run-failed — retry lives one click deeper on S3x (BackupRunFailedScreen.vue), where it is fully wired and tested.

What to build

Inline per-target retry actions on S3's failed run rows, re-using S3x's tested retry client: what failed is named and retryable on the row. Retry outcome refreshes the row per DDR 0083 §2 (what verified stays kept and counted). S3x's per-target detail path is unchanged.

Acceptance criteria

  • Given a run with a failed target, when S3 renders the run row, then each failed target carries an inline retry action alongside per-target detail.
  • Given an inline retry succeeds, then the row reflects the target caught up (kept & counted per DDR 0083 §2) without leaving S3.
  • Given an inline retry fails, then the fault stands (published as state; monitoring classifies — ADR 0081), never a silent red row.
  • S3x's retry behaviour is unchanged.

Blocked by

None — the per-target retry seam and client are closed and tested.

Task manifest

task: backups:s3-inline-retry
implements_flow: p7-backups
implements_edge: "S3 failed run row: inline per-target retry (DDR 0083 §2)"
wireframe: docs/ux/wireframes/p7-backups/p7-s3-runs-and-verification.html
interface: "inline retry actions on BackupRunsScreen's run rows over the existing retry client"
seam: "component tests against the wireframe's data-action contract; retry re-reads run state through the seam"
acceptance: "#88's 'named and retryable' clause becomes true on the S3 row itself"
depends_on: []
out_of_scope: [the retry seam (closed), S3x (built), fault→monitoring wiring (#117, closed)]
needs_human_decision: []
## Parent Feature spec: #20 (backups). Filed by the 2026-07-26 wireframe-vs-built rulings (origin ticket #88). Ruling: the wireframe wins — **build the inline retry**. The p7-s3 wireframe puts `retry tōtara's copy` inline on the failed run row (`data-action="retry-target-totara"`, beside `per-target detail`); its comment states the contract: "run rows carry per-target outcomes with an inline retry (DDR 0083 §2)". The built `BackupRunsScreen.vue` carries only `open-run-failed` — retry lives one click deeper on S3x (`BackupRunFailedScreen.vue`), where it is fully wired and tested. ## What to build Inline per-target retry actions on S3's failed run rows, re-using S3x's tested retry client: what failed is named **and retryable** on the row. Retry outcome refreshes the row per DDR 0083 §2 (what verified stays kept and counted). S3x's per-target detail path is unchanged. ## Acceptance criteria - [ ] Given a run with a failed target, when S3 renders the run row, then each failed target carries an inline retry action alongside per-target detail. - [ ] Given an inline retry succeeds, then the row reflects the target caught up (kept & counted per DDR 0083 §2) without leaving S3. - [ ] Given an inline retry fails, then the fault stands (published as state; monitoring classifies — ADR 0081), never a silent red row. - [ ] S3x's retry behaviour is unchanged. ## Blocked by None — the per-target retry seam and client are closed and tested. ## Task manifest ```yaml task: backups:s3-inline-retry implements_flow: p7-backups implements_edge: "S3 failed run row: inline per-target retry (DDR 0083 §2)" wireframe: docs/ux/wireframes/p7-backups/p7-s3-runs-and-verification.html interface: "inline retry actions on BackupRunsScreen's run rows over the existing retry client" seam: "component tests against the wireframe's data-action contract; retry re-reads run state through the seam" acceptance: "#88's 'named and retryable' clause becomes true on the S3 row itself" depends_on: [] out_of_scope: [the retry seam (closed), S3x (built), fault→monitoring wiring (#117, closed)] needs_human_decision: [] ```
Author
Owner

Done in 680687d (on origin/main). Inline per-target retry now lives on the P7-S3 failed run row per the p7-s3 wireframe (DDR 0083 §2):

  • Seam: narrow TargetRetryClient (the retryTarget verb alone) added to dashboard/src/lib/backups.ts; BackupRunFailedClient extends it, so S3x's tested retry client is reused verbatim. Partial RunRows now carry targetOutcomes (the same TargetOutcomeRow shape S3x renders).
  • Screen: BackupRunsScreen.vue renders a data-action="retry-target-<field>" button per failed-and-retryable target beside the open-run-failed per-target-detail drill. Retry acts through the seam and re-reads the runs projection — the target catches up (kept & counted) or the fault stands (published as state, monitoring classifies — ADR 0081), never a silent red row, never leaving S3.
  • Composition: BackupsSurface.vue passes its runFailedClient as S3's retry client. S3x's detail/retry path is unchanged.

Acceptance: all four clauses covered by 4 new P7-S3 component tests in dashboard/tests/unit/backupRuns.test.ts (inline retry rendered beside detail; re-read whole on success without leaving S3; fault stands & stays named/retryable on failure; drill fallback when no retry client). 437 dashboard tests green, vue-tsc + eslint clean.

Done in 680687d (on origin/main). Inline per-target retry now lives on the P7-S3 failed run row per the p7-s3 wireframe (DDR 0083 §2): - **Seam:** narrow `TargetRetryClient` (the `retryTarget` verb alone) added to `dashboard/src/lib/backups.ts`; `BackupRunFailedClient extends` it, so S3x's tested retry client is reused verbatim. Partial `RunRow`s now carry `targetOutcomes` (the same `TargetOutcomeRow` shape S3x renders). - **Screen:** `BackupRunsScreen.vue` renders a `data-action="retry-target-<field>"` button per failed-and-retryable target beside the `open-run-failed` per-target-detail drill. Retry acts through the seam and re-reads the runs projection — the target catches up (kept & counted) or the fault stands (published as state, monitoring classifies — ADR 0081), never a silent red row, never leaving S3. - **Composition:** `BackupsSurface.vue` passes its `runFailedClient` as S3's retry client. S3x's detail/retry path is unchanged. Acceptance: all four clauses covered by 4 new P7-S3 component tests in `dashboard/tests/unit/backupRuns.test.ts` (inline retry rendered beside detail; re-read whole on success without leaving S3; fault stands & stays named/retryable on failure; drill fallback when no retry client). 437 dashboard tests green, vue-tsc + eslint clean.
ben closed this issue 2026-07-27 08:11:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#145
No description provided.