Skip to content

[Bug Report] Disable sorbet when using spring #327

Description

@gmcgibbon

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions