This repository has been archived on 2026-10-08 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
0f3770f711267a98507bb4b83a3ad7b8d99a9e84
ci / rust (push) Failing after 5m5s
CatalogStore is the TUI's view of the daemons-and-sessions tree, backed by `WS /api/events` on the local daemon. The daemon's WS opens with a Snapshot frame, so that's bootstrap; subsequent frames are deltas. No separate REST round-trip needed. Surface: - `apply_event` — pure, used by tests directly and by the WS loop. - `snapshot()` — cheap O(d+s) read returning sorted Vec views + monotonic version for cheap render staleness checks. - `wait_for_initial_snapshot` / `changed` — render-loop wakeups. - `run_events_loop(ws_url)` — long-running task with exponential backoff (1s → 30s, ±25% jitter). Reconnect re-sends a fresh Snapshot, which reconciles state without server-side replay. 8 unit tests + 1 axum WS round-trip integration test passing.
Description
No description provided
13 MiB
Languages
Rust
62.2%
TypeScript
22.6%
Kotlin
9.7%
CSS
4.4%
Nix
0.5%
Other
0.5%