Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watcher: Defer FS listener restart to fix Ruby 3.4.0.dev crash #39

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

mattbrictson
Copy link
Owner

This fixes the test_watcher_restarts_the_listener_when_a_test_run_is_interrupted test that started failing recently on the latest builds of ruby-head. Something internal to Ruby's threading/exception handling model has apparently changed.

Deferring restarting the listener thread until the Interrupt exception has fully propagated seems to fix the issue.

@mattbrictson mattbrictson added 🐛 Bug Fix Fixes a bug automerge Automatically merge PR once all required checks pass labels Aug 1, 2024
@kodiakhq kodiakhq bot merged commit ae5555e into main Aug 1, 2024
6 checks passed
@kodiakhq kodiakhq bot deleted the fix-ruby-dev branch August 1, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PR once all required checks pass 🐛 Bug Fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant