fix(dashboard): target page reloads findings, SBOM and CRA status when a scan finishes #530

Merged
sharang merged 2 commits from fix/b-target-refresh into main 2026-10-08 21:50:23 +00:00
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 48f3606b75 docs(scanning): the target page updates its cards when a scan finishes
CI / Check (push) Skipped
CI / Check (pull_request) Successful in 12m34s
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-08 23:36:33 +02:00
Sharang ParnerkarandClaude Opus 5.5 5fe9562536 fix(dashboard): target page reloads findings, SBOM and CRA status when a scan finishes
CI / Deploy MCP (pull_request) Skipped
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Check (pull_request) Successful in 13m14s
The scan history on the target page already polled while a run was
running, but the cards above it (offene Befunde, SBOM components and known
vulnerabilities, CRA status, detected facts) were loaded once and stayed
at their old values until a manual reload.

ScanRunList now reports a run it saw running that has finished
(on_finished), and the target page reloads those resources then. The
transition is a pure function with a unit test. A poll no longer
re-expects an already expected started scan, so the list stops polling
right after the run finishes instead of up to a minute later.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-10-08 23:21:37 +02:00