Skip to content

greenproof 0.3.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 06:18
· 71 commits to main since this release

Install: uvx greenproof@0.3.1 --version or pipx install greenproof==0.3.1 (PyPI).

Fixed

  • An interrupted check no longer waits forever for the process it killed. When SIGINT or
    SIGTERM arrives while a policy command or the smoke start command runs, greenproof's handler
    raises inside Popen.wait or Popen.poll, and that leaves the Popen's internal lock held
    about once in a hundred signals: 95 of 8,576 timed waits on CPython 3.11, 62 of 6,847 on 3.12
    and 67 of 6,781 on 3.14. After that no wait on the process returns, so the unbounded wait
    after SIGKILL hung. It is now bounded at two seconds (also when the git cat-file reader is
    killed), and the process is reaped when greenproof exits. CI showed it as a 30-second timeout in
    test_sigint_removes_the_worktree_and_kills_the_command.

Changed

  • CI, the release workflow, the GitHub Action and the workflow that greenproof init --ci github
    writes use astral-sh/setup-uv 10.3.3.

Full changelog: v0.3.0...v0.3.1