Skip to content

v0.3 — Live Update Tracking

Choose a tag to compare

@Kromula Kromula released this 30 Apr 17:44
· 1 commit to master since this release

What's New

Live Progress Tracking

Updates now show real-time progress in the terminal and the progress banner. After triggering an update you'll see:

18:41:48  INFO  UPDATE  Now Assist for code generation queued via app_manager  (tracker: d6f6e8ca)
18:41:53  INFO  STATUS  [d6f6e8ca] running  25%  Installing packages...
18:42:08  INFO  STATUS  [d6f6e8ca] COMPLETE ✓  100%  Installed Successfully

App Manager & sn_cicd Integration

  • Tracker IDs are now correctly extracted from the App Manager response (batchInfo.execution_tracker_id, trackerId, and links.progress.id)
  • Status polling now uses the sn_cicd progress API (/api/sn_cicd/progress/{id}), which is what the App Manager uses internally — with fallback to sys_progress_worker for the custom endpoint
  • Numeric sn_cicd status codes (0–4) are mapped to readable states (pending, running, complete, failed, cancelled)

Version-Polling Fallback

When no tracker ID is available, the dashboard now polls the plugin's installed version directly (via a new /api/snc/plugin_overseer/version/{sys_id} endpoint) and detects completion when version == latest_version. This ensures the row always reaches ✓ Done even without a tracker.

Timestamps

All terminal log lines now include a timestamp (HH:MM:SS) so you can tell exactly when updates start, progress, and complete.

Queued State

When an update is queued behind another install already in progress, the progress banner now shows "Waiting for other installs to complete…" rather than appearing frozen at 0%.

Bug Fixes

  • Fixed tracker ID extraction — the App Manager response nests IDs under batchInfo and links.progress, which the parser now handles
  • Fixed 404 errors on status polling caused by polling sys_progress_worker for sn_cicd tracker IDs
  • "successful" added as a recognised terminal success state (sn_cicd uses this instead of "complete")