From 0d588ff22fe660fb0c3ec6a829d15056941d1226 Mon Sep 17 00:00:00 2001 From: PJ Date: Sun, 16 Aug 2026 01:21:30 +0530 Subject: [PATCH] refactor(runner): name the settle predicate for what it means --- internal/runner/runner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/runner/runner.go b/internal/runner/runner.go index dfde026..478907c 100644 --- a/internal/runner/runner.go +++ b/internal/runner/runner.go @@ -407,9 +407,9 @@ func Run(ctx context.Context, options Options) (Summary, error) { // measured over (an action and a settle); looping straight back into it // would compare two reads of a composing screen closer together still, // so the screen that most needs to settle is the one given least room. - applied := nextErr == nil && !applySkipped && + mutated := nextErr == nil && !applySkipped && nextAction.Kind != verifier.ActionKindWait - if held || applied { + if held || mutated { idleCtx, idleCancel := context.WithTimeout(ctx, options.IdleTimeout) idleErr := options.Driver.WaitForIdle(idleCtx, options.IdleTimeout) if idleErr != nil && idleCtx.Err() == nil {