Skip to content

v1.7.73 - Compliance Scan Progress Fix

Choose a tag to compare

@MacJediWizard MacJediWizard released this 07 Jan 22:08
· 10 commits to main since this release

Bug Fixes

Compliance Scan Progress Bar Not Updating (PatchMon#179)

Fixed an issue where the compliance scan progress bar would remain stuck even after the scan completed successfully.

Root Cause: The SSE (Server-Sent Events) handler received the "completed" event from the agent but only cleared the progress display - it did not set the scan state to complete. The UI relied on polling every 10 seconds to detect completion.

Fix: When SSE receives "completed" or "failed" phase:

  • Immediately sets scan as no longer in progress
  • Shows success/error message from the agent
  • Auto-refetches latest scan data and history
  • Switches to results tab on completion
  • Clears messages after 10 seconds

Test Suite Fixes

  • Fixed failing backend compliance route tests (missing Prisma mocks)
  • Fixed failing frontend Compliance dashboard tests (missing providers and mocks)

Full Changelog: v1.7.72...v1.7.73