palkan / anyway_config

Configuration library for Ruby gems and applications
MIT License
778 stars 52 forks source link

Upgrading from 2.1.0 to 2.2.0 causes rspec to hang #88

Closed iuri-gg closed 3 years ago

iuri-gg commented 3 years ago

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.

palkan commented 3 years ago

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.

palkan commented 3 years ago

Seems relevant to #89.

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

iuri-gg commented 3 years ago

2.2.2 fixed the issue 👍