Skip to content

[Bug Report] Disable sorbet when using spring #327

@gmcgibbon

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

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