The SW4RM tab's container card was reading container state straight from the snapshot — when a rebuild was in flight and the container was momentarily stopped between teardown and bring-up, the card showed "stopped" while the SYST3M tab's rebuild queue showed the operation running. The two surfaces disagreed. Mara: *should show as building in container page as well*. Cross-reference: build a `inFlightOpsByAgent()` map from `rebuildQueueState` (kinds: rebuild / meta_update / destroy; states: queued / running — skip `spawn` since transients already drive that case). When rendering each container row, prefer the operator-initiated transient if set; otherwise fall back to the in-flight queue entry as a synthetic pending kind: `rebuilding` / `meta-updating` / `destroying` (or `… queued` when still waiting on the worker). The existing `pending-state` spinner badge surfaces it visually — no new CSS rule needed. Also wire `applyRebuildQueueChanged` to re-render containers so the badge lights up the moment a rebuild lands in the queue and clears the moment it finishes — no manual refresh. |
||
|---|---|---|
| .. | ||
| app.js | ||
| dashboard.css | ||
| flow.html | ||
| index.html | ||