Shopify/packwerk

[Bug Report] Disable sorbet when using spring

gmcgibbon opened this issue · 0 comments

Description
Packwerk does not disable sorbet when using Spring. This slows down checks.

To Reproduce

  • bin/packwerk check says Packwerk couldn't disable Sorbet. Please ensure it isn't being used before Packwerk is loaded.

Expected Behaviour

Sorbet is successfully disabled, but only for packwerk.

bin/rails runner "puts ::T::Private::RuntimeLevels.default_checked_level" should be "always", but packwerk should not print the error.

Screenshots
If applicable, add screenshots to help explain your problem.

Version Information

  • Packwerk: 3.0
  • Ruby 3.2.1

Additional Context

#326