Skip to content

soak: churn.sh probably has the sleep-in-background / PID / wait pattern that orphaned a sleep in restart-watch.sh #1419

Closed

Description

@bpalermo

PR #1417 removed the background sleep from e2e/soak/restart-watch.sh after finding two windows in which a TERM left the sleep running (before SLEEP_PID=$!, and just before wait). The soak README describes TERM reaching churn.sh's "in-flight sleep", which suggests the same pattern there. Not inspected or tested.

Fix: read churn.sh; if it has the pattern, replace it with the read -t on a private fifo that the watchdog now uses, and extend //e2e/soak:harness_test's TERM sweep to it. A churn driver that leaves a multi-hour sleep behind also defeats the "refuse to start a second driver" check.

Reported by the soak harness work (PR #1417), not changed there.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

  1. added
    bug
    minor
    soak
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugminorsoak

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions