palkan/anyway_config

Upgrading from 2.1.0 to 2.2.0 causes rspec to hang

iuri-gg opened this issue · 3 comments

What did you do?

Upgraded anyway_config from 2.1.0 to 2.2.0

What did you expect to happen?

Everything continues to work

What actually happened?

rspec uses 100% cpu and hangs indefinitely. have to kill with SIG9 to stop it

Additional context

anyway_config is used by anycable_core and sniffer gems. All my gems are up to date except anyway_config.

Environment

Ruby Version:
3.0.1p64

Framework Version (Rails, whatever):
Rails 6.1.4.1

Anyway Config Version:
2.1.0 works, 2.2.0 and 2.2.1 have the issue.

Thanks for the report!
Does this happen only during a test run or when loading an application in development (like, rails s)?

It would be great if you can capture a stack trace when RSpec hangs, for example, using rbspy.

Seems relevant to #89.

Could you please try upgrading to 2.2.2 to see whether the issue has been resolved?

2.2.2 fixed the issue 👍