refactor(#2441): live-log header shows the streaming node's agent, not the DAG's

Review (iris/argus): the dashboard rebuild live-log header labels one
specific node's log stream (liveNode, keyed by its build_log_id), so it
should show that node's own agent — entryAgents(running) listed every
agent in the DAG, which would mislabel a single agent's log once DAGs
span multiple. The other entryAgents() sites (row label, cancel-confirm,
fingerprint) are correct whole-DAG summaries and unchanged.
This commit is contained in:
atlas 2026-07-14 21:56:02 +02:00 committed by mara
commit de69a9f02c

View file

@ -425,7 +425,11 @@ function renderRebuildLiveLog(queue) {
const header = el('div', { class: 'rebuild-live-log-header' },
toggle, ' ',
el('span', { class: 'rebuild-live-log-title' }, 'live build log — '),
el('code', { class: 'rqe-agent' }, entryAgents(running)),
// This header labels one specific node's log stream (`liveNode`), not
// the DAG as a whole — so it's the node's own agent, not the DAG's
// full agent set (which would mislabel a single agent's log with every
// agent once DAGs span multiple).
el('code', { class: 'rqe-agent' }, liveNode.agent),
' ', el('span', { class: 'rqe-kind' },
(running.kind || 'rebuild') + ' · ' + (NODE_KIND_LABEL[liveNode.kind] || liveNode.kind)),
' ', badge, ' ',