pub(crate) fn current_column(host: &HostStatusEntry) -> StringExpand description
CURRENT-column rendering with a context-aware fallback chain. The
agent’s post-activation closure observation (current_closure_hash)
is the canonical value, but it’s None between rollout-open and
ActivationCompleted (the switch-in-progress window). During that
window the host is demonstrably executing
pending_closure_hash — the closure the agent reported running
when it acked the dispatch — and the operator wants to see it.
Fallback order:
current_closure_hash— post-activation observed closure.pending_closure_hashrendered with a trailing arrow — mid-rollout: agent has acked, switch in progress, host still on this closure.<unseen>— no closure observation. The STATUS column already conveys in-flight state via its→ in progress/→ activatinglabels; CURRENT staying<unseen>is honest about the lack of closure data.