Skip to content
This repository was archived by the owner on Sep 11, 2026. It is now read-only.

feat: live processing log in UMS overlay - #100

Merged
teal-bauer merged 3 commits into
mainfrom
feat/ums-live-log
Mar 12, 2026
Merged

teal-bauer merged 3 commits into
mainfrom
feat/ums-live-log

Conversation

@teal-bauer

Copy link
Copy Markdown
Member

Summary

  • UmsLogCubit polls usb:log Redis list at 500ms while status is processing, emits chronological entries with timestamps stripped for display
  • step field added to UsbData, synced from usb.step hash field
  • UMS overlay updated to show current step and last 4 log entries during processing
  • lrange added to MDBRepository interface and RedisMDBRepository
  • Session log cleared when status transitions from idle to non-idle
  • Polling stops automatically when status returns to idle

Pairs with ums-service feat/live-log.

Test plan

  • Trigger UMS processing, verify step subtitle updates (settings, wireguard, etc.)
  • Verify last 4 log entries appear below step, updating as processing proceeds
  • Verify log area is empty at start of new session
  • Verify overlay falls back gracefully when usb:log is empty or Redis is unreachable
  • Verify no log entries shown during preparing or active states

Add step field to UsbData and poll usb:log Redis list during UMS
processing state, showing current step and last log entries in the
overlay. Introduces UmsLogCubit for periodic log polling and extends
MDBRepository with lrange support.
@teal-bauer
teal-bauer merged commit 6e3779b into main Mar 12, 2026
3 checks passed
@teal-bauer
teal-bauer deleted the feat/ums-live-log branch March 12, 2026 18:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant