refactor(runner): name the settle predicate for what it means

This commit is contained in:
pj committed 2026-08-16 01:21:30 +05:30
1 parent 127234b58c
commit 0d588ff22f
1 file changed
+2 -2
+2 -2
View File
@@ -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 {