Skip to content

[BUG] Scan status badges do not update automatically after long-running scans finish #1041

Description

@kavin553

Summary

Scan status badges may remain stale after a long-running scan completes.

Why this matters

Users may believe scans are still running even after completion.

Reproduction steps

  1. Start a long scan
  2. Keep dashboard open
  3. Wait for scan completion
  4. Observe badge status

Expected behavior

Status should automatically update.

Actual behavior

Badge may remain in previous state until page refresh.

Scope

  • Suggested files or directories:

    • dashboard
    • scan-status components
  • Related route, page, component, or script:

    • scan monitoring page

Evidence

N/A

Environment

  • OS: Windows
  • Browser: Chrome
  • Node Version: 20

Definition of done

  • Status refreshes automatically
  • No manual refresh needed
  • Tests updated

Additional context

Likely polling/state synchronization issue.

Metadata

Metadata

Assignees

Labels

priority:mediumImportant issue with normal urgencytype:bugBug fix work category bonus label

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions