# red-proof R678-no-rescan-at-done: mutate internal/stacks/update.go
# - '\tif err := m.ScanStacks(); err != nil {\n\t\tm.logger.Printf("[WARN] [stacks] update %s: rescan after the update failed'
# + '\tif err := error(nil); err != nil {\n\t\tm.logger.Printf("[WARN] [stacks] update %s: rescan after the update failed'
# run: go test ./internal/stacks/ -run ^TestR678_StepsLeftFreshAtDone$ -v -count=1  (rc=1)

=== RUN   TestR678_StepsLeftFreshAtDone
2026/09/24 21:55:51 [DEBUG] [stacks] SaveAppConfig: saving /tmp/TestR678_StepsLeftFreshAtDone3045165117/001/stacks/nextcloud — 0 env vars, 0 encrypted, 0 sensitive fields
2026/09/24 21:55:51 [INFO] [stacks] SaveAppConfig: saved config for nextcloud
    unattended_test.go:153: steps left read 2 right after the step ended done, want 1
--- FAIL: TestR678_StepsLeftFreshAtDone (0.01s)
FAIL
FAIL	gitea.dooplex.hu/admin/felhom-controller/internal/stacks	0.014s
FAIL
