Skip to content

fix(console): reset console locks after fork - #20

Merged
PakitoSec merged 1 commit into
mainfrom
fix/console-reset-locks-after-fork-91a774e
Jul 28, 2026
Merged

fix(console): reset console locks after fork#20
PakitoSec merged 1 commit into
mainfrom
fix/console-reset-locks-after-fork-91a774e

Conversation

@PakitoSec

Copy link
Copy Markdown
Owner

Summary

  • register an after_in_child fork hook that rebuilds Rich console locks so forked children do not inherit a permanently locked console state
  • export reset_console_after_fork from the public package API and cover the regression with a fork-specific multiprocessing test
  • bump the package version to 0.9.3 in project metadata and lockfile

Testing

  • updated tests/test_mp.py with a forked-child regression test that verifies logging in the child does not deadlock

@PakitoSec PakitoSec self-assigned this Jul 28, 2026
@PakitoSec
PakitoSec merged commit aa901be into main Jul 28, 2026
5 checks passed
@PakitoSec
PakitoSec deleted the fix/console-reset-locks-after-fork-91a774e branch July 28, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant