From de69a9f02c61bccb2ebfba26ff5fcb5bcfc7cd41 Mon Sep 17 00:00:00 2001 From: atlas Date: Tue, 14 Jul 2026 21:56:02 +0200 Subject: [PATCH] refactor(#2441): live-log header shows the streaming node's agent, not the DAG's MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- frontend/packages/dashboard/src/builds.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/packages/dashboard/src/builds.js b/frontend/packages/dashboard/src/builds.js index ac01cca2..99381a07 100644 --- a/frontend/packages/dashboard/src/builds.js +++ b/frontend/packages/dashboard/src/builds.js @@ -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, ' ',