Skip to content

sorbet: Update RBI files.#22308

Merged
MikeMcQuaid merged 2 commits into
mainfrom
sorbet-files-update
May 17, 2026
Merged

sorbet: Update RBI files.#22308
MikeMcQuaid merged 2 commits into
mainfrom
sorbet-files-update

Conversation

@BrewTestBot
Copy link
Copy Markdown
Contributor

Autogenerated by the sorbet workflow.

BrewTestBot and others added 2 commits May 17, 2026 01:01
- The DSL compiler iterates over `Cask::Config.defaults` to emit accessor
  methods. On macOS that map omits `appimagedir` because it lives in the
  Linux-only `OS::Linux::Cask::Config::ClassMethods::DEFAULT_DIRS` (moved
  there in 48ac0fb). Running `brew tc --update` on macOS therefore
  deleted `def appimagedir; end` from the RBI, which then broke Sorbet's
  view of `cask/artifact/appimage.rb`.

- Maintain a small list of Linux-only dir names in the compiler and merge
  them into the key set so the generated RBI is OS-independent. Trying
  to retrieve these dynamically failed on macOS because the Linux-only
  defaults are inaccessible.

Co-Authored-By: Copilot (CLI, agent mode, model Claude Opus 3.7)
@MikeMcQuaid MikeMcQuaid enabled auto-merge May 17, 2026 14:29
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue May 17, 2026
Merged via the queue into main with commit c9520f6 May 17, 2026
38 checks passed
@MikeMcQuaid MikeMcQuaid deleted the sorbet-files-update branch May 17, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants