From e2a91e883e01ba0a00b9456571cb2cbbda62bd2a Mon Sep 17 00:00:00 2001 From: Dai Ha Date: Fri, 11 Sep 2026 07:18:51 +0700 Subject: [PATCH] fleetd #480 Unit E correction: retire "injectable" wording from the log lines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both waitUntilAtTurnBoundary guard messages still said "never went idle" / "did not become injectable" — the old mental model the rename was meant to retire. Made both say what the code now actually waits for: a turn boundary (IDLE or DONE). --- .../main/java/dev/ltms/fleet/lead/LeadRollover.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/fleetd/src/main/java/dev/ltms/fleet/lead/LeadRollover.java b/fleetd/src/main/java/dev/ltms/fleet/lead/LeadRollover.java index f6ae86e..c22ee8e 100644 --- a/fleetd/src/main/java/dev/ltms/fleet/lead/LeadRollover.java +++ b/fleetd/src/main/java/dev/ltms/fleet/lead/LeadRollover.java @@ -283,9 +283,10 @@ public final class LeadRollover { String lead = p.leadTerminal(); boolean turnSettled = waitUntilAtTurnBoundary(lead, cfg.turnSettleSeconds()); if (!turnSettled) { - log.warn("lead-rollover: pane {} never went idle within {}s after confirm() — refusing " - + "to send /clear at all; the calling lead's own turn is still live and " - + "clearing it now would destroy live context (token={})", + log.warn("lead-rollover: pane {} did not reach a turn boundary (IDLE or DONE) within {}s " + + "after confirm() — refusing to send /clear at all; the calling lead's " + + "own turn is still live and clearing it now would destroy live context " + + "(token={})", lead, cfg.turnSettleSeconds(), p.token()); return; } @@ -296,8 +297,8 @@ public final class LeadRollover { agents.send(lead, "/clear"); boolean clearSettled = waitUntilAtTurnBoundary(lead, cfg.clearSettleSeconds()); if (!clearSettled) { - log.warn("lead-rollover: pane {} did not become injectable within {}s after /clear — " - + "NOT sending bootstrapText (token={})", + log.warn("lead-rollover: pane {} did not reach a turn boundary (IDLE or DONE) within {}s " + + "after /clear — NOT sending bootstrapText (token={})", lead, cfg.clearSettleSeconds(), p.token()); return; }