MVP-3.2 · Scan-run view + operator-guided per-stage re-run #284

Open
opened 2026-09-20 20:19:42 +00:00 by sharang · 0 comments
Owner

Goal

The first customer runs are walked through by hand (operator-guided mode, decided 2026-09-20), so the operator needs to see what each scan stage did and be able to fix and retry one stage without a full rescan. fetch_scan_runs already exists and is unused. Part of #117.

What to change

  • A scan-run view with progress and history (infrastructure/scans.rs::fetch_scan_runs exists but is unused), showing skipped stages.
  • Operator-guided mode:
    • Re-run a single stage on an existing target — parse, SBOM, CVE, mapping or evidence — without a full rescan.
    • Surface per-stage unsupported / skipped reasons together with the offending file.
    • Re-upload a corrected artifact and re-run in place.

Acceptance

  • The scan-run view shows every stage with its status, duration and skip/unsupported reason.
  • Interrupted runs from a restart are visible as interrupted (MVP-0.6).
  • Each of the five stages can be re-run individually and updates the target's results in place.
  • Re-uploading a corrected artifact re-runs without creating a duplicate target.
  • The unsupported entries recorded by the TIA and Firmwerk importers (MVP-2.2, MVP-2.5, MVP-2.6) are visible here.
  • #117 closed together with MVP-3.1.
## Goal The first customer runs are walked through by hand (operator-guided mode, decided 2026-09-20), so the operator needs to see what each scan stage did and be able to fix and retry one stage without a full rescan. `fetch_scan_runs` already exists and is unused. Part of **#117**. ## What to change - A scan-run view with progress and history (`infrastructure/scans.rs::fetch_scan_runs` exists but is unused), showing skipped stages. - **Operator-guided mode:** - Re-run a single stage on an existing target — parse, SBOM, CVE, mapping or evidence — without a full rescan. - Surface per-stage `unsupported` / `skipped` reasons together with the offending file. - Re-upload a corrected artifact and re-run in place. ## Acceptance - [ ] The scan-run view shows every stage with its status, duration and skip/unsupported reason. - [ ] Interrupted runs from a restart are visible as `interrupted` (MVP-0.6). - [ ] Each of the five stages can be re-run individually and updates the target's results in place. - [ ] Re-uploading a corrected artifact re-runs without creating a duplicate target. - [ ] The `unsupported` entries recorded by the TIA and Firmwerk importers (MVP-2.2, MVP-2.5, MVP-2.6) are visible here. - [ ] #117 closed together with MVP-3.1.
sharang added this to the Production MVP milestone 2026-09-20 20:19:42 +00:00
sharang added the enhancementonboarding labels 2026-09-20 20:19:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#284