Skip to content

v0.2 — Update Tracking, Dependencies & Logging

Choose a tag to compare

@Kromula Kromula released this 30 Apr 17:00
· 2 commits to master since this release

What's New

Update Progress & Feedback

  • Progress banner — a bar slides up from the bottom of the screen when a batch update is triggered, showing live % progress and status messages from ServiceNow
  • Completion toast — green confirmation appears when an update finishes; red on failure
  • Per-row status — individual plugin rows now show live state (Queued…, 42%, ✓ Done, ✕ Failed) during and after updates
  • Queued state — when ServiceNow is busy with another install, the banner now shows "Waiting for other installs to complete…" instead of appearing frozen

Update Reliability

  • Three-tier fallback chain — update attempts now try in order:
    1. Native App Manager API (/api/sn_appclient/v1/appmanager/product/install)
    2. Custom Plugin Overseer Scripted REST API
    3. Generated background script (manual fallback via modal)
  • Batch tracking fixed — selecting multiple plugins and clicking Update Selected now correctly tracks all chosen plugins and marks each row done on completion
  • Script fallback modal improved — includes numbered steps and a direct link to the ServiceNow background scripts page on your instance

Plugin Dependencies

  • Requires section — expanding a plugin row now shows which other plugins it depends on
  • Dependency warning — if a required plugin also has an update available, its chip turns amber with a ⚠ indicator
  • Dependency badge — plugins that were auto-installed as a dependency of another plugin are labelled in the status column

Logging

  • Werkzeug's raw HTTP access log suppressed; replaced with descriptive per-action log lines
  • Update log clearly distinguishes between queued via API and fallback to background script
  • Status polling only logs on meaningful state changes (progress or terminal state), not every poll tick
  • Completion logged once with COMPLETE ✓ or warning for errors

Bug Fixes

  • Batch and Update All buttons now poll the tracker and update rows — previously fire-and-forget with no feedback
  • Script fallback warning (WARNING) no longer logged as ERROR