GRI-1968: live rollout view (applied/downloading/offline) over SSE #188
No reviewers
Labels
No labels
Area/Backend
Area/Database
Area/Docs
Area/Frontend
Area/Infra
Area/Security
Area/Tests
Area/Tooling
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Lang/Python
Lang/Rust
Lang/Shell
Lang/SQL
Lang/TypeScript
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Routing
Auto
Routing
Hold
Routing
Human
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage!188
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/GRI-1968-rollout-status-view"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Closes #160: live rollout status view (applied / downloading / offline) per device, pushed over SSE.
DeviceConnectionsnow tracks each live connection's last-reportedplaying_itemand in-flight transfer progress, plus a small pub/sub hub (subscribe_rollout_status/publish_rollout_status, deduped on no-change).rollout_status.rscomputes the four-state status (offline/pending/applied/downloading) from that live snapshot plus the device's current assignment.ws.rsrecomputes on connect/heartbeat/transfer-accept/transfer-complete/disconnect;playlists::handlers::push_to_devicerecomputes on every assignment push, so reassignment while connected is covered.GET /api/v1/devices/rollout-status/stream(axum SSE), campus-scoped likelist_devices.#[ignore]marks fromrollout_status_acceptance_integration.rs(tests landed in #184).Test plan
cargo test -p server --test rollout_status_acceptance_integration— 9/9 pass against local Postgres./scripts/local-gates.sh --rust-only— every gate passed (fmt, clippy -D warnings, cargo-deny, full workspace test suite)