Stop console tailer before SSH execution to prevent log duplication

This commit is contained in:
Till Wegmueller 2026-04-07 21:39:20 +02:00
parent 3e90f9566a
commit 0c3fb84d62

View file

@ -265,6 +265,10 @@ impl<H: Hypervisor + 'static> Scheduler<H> {
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