Skip to content

tests/clean_test.py hangs in git mktree when stdin is an open socket #46

Closed

Description

@kikashy

Seen while building #45 (not caused by it): on main, tests/clean_test.py hangs in git mktree when the test runner's stdin is an open socket (an agent harness); with < /dev/null the tests pass. The test (or the kit's clean code when it shells out) should not inherit stdin: pass stdin=subprocess.DEVNULL to the git calls that do not read stdin, and feed git mktree its input explicitly. Add a test that runs the suite with a socket on stdin, or at least a timeout on each git call.

Activity

  1. added this to the v0.9.0 milestone on Oct 28, 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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions