From 0c3fb84d62331fb7839b99eb8e9e533f6a3d512e194c8650dd085fbfb164613e Mon Sep 17 00:00:00 2001 From: Till Wegmueller Date: Tue, 7 Apr 2026 21:39:20 +0200 Subject: [PATCH] Stop console tailer before SSH execution to prevent log duplication --- crates/orchestrator/src/scheduler.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/orchestrator/src/scheduler.rs b/crates/orchestrator/src/scheduler.rs index c59a4c6..a42fc5b 100644 --- a/crates/orchestrator/src/scheduler.rs +++ b/crates/orchestrator/src/scheduler.rs @@ -265,6 +265,10 @@ impl Scheduler { Duration::from_secs(exec_cfg.ssh_connect_timeout_secs), ).await { Ok(sess) => { + // Stop console tailer — SSH is connected, runner output + // will be captured via SSH stdout/stderr, not serial console. + let _ = console_stop_tx.send(true); + // Upload runner binary let runner_path = if is_illumos_label(&item.spec.label) { &exec_cfg.runner_illumos_path