Pilot · Live scan progress: stage stepper, elapsed time, auto-refresh, findings revealed at the end #371

Closed
opened 2026-09-25 07:59:05 +00:00 by sharang · 0 comments
Owner

Part of #338.

Goal

Make scans visibly alive for the customer. This is a dashboard-only first version; real per-stage findings follow in a separate issue.

Today

ScanRunList asks for the runs every 5 s and shows only the current phase name (compliance-dashboard/src/components/scan_runs.rs:14,27-45,85-88). phases_completed is recorded (orchestrator.rs:1457-1476) but never shown. The targets badge and the findings page do not refresh on their own (pages/targets.rs:147, pages/findings.rs:34).

Decision (2026-09-25)

Stepper now, real live findings later.

Done when

  • The planned stages (from the scan plan, pipeline/plan.rs:133-140) are shown as a stepper: done, current (with a spinner) and skipped (with the reason). An elapsed-time counter starts from started_at.
  • The targets list and the findings page refresh while a run is running.
  • When a run finishes, its new findings (by scan_run_id) appear one by one with a short animation, and the count rises.
  • DE/EN texts; no layout jumps.
Part of #338. ## Goal Make scans visibly alive for the customer. This is a dashboard-only first version; real per-stage findings follow in a separate issue. ## Today `ScanRunList` asks for the runs every 5 s and shows only the current phase name (`compliance-dashboard/src/components/scan_runs.rs:14,27-45,85-88`). `phases_completed` is recorded (`orchestrator.rs:1457-1476`) but never shown. The targets badge and the findings page do not refresh on their own (`pages/targets.rs:147`, `pages/findings.rs:34`). ## Decision (2026-09-25) Stepper now, real live findings later. ## Done when - The planned stages (from the scan plan, `pipeline/plan.rs:133-140`) are shown as a stepper: done, current (with a spinner) and skipped (with the reason). An elapsed-time counter starts from `started_at`. - The targets list and the findings page refresh while a run is running. - When a run finishes, its new findings (by `scan_run_id`) appear one by one with a short animation, and the count rises. - DE/EN texts; no layout jumps.
sharang added this to the Production MVP milestone 2026-09-25 07:59:05 +00:00
sharang added the enhancementonboarding labels 2026-09-25 07:59:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#371