Skip to content

Bump RuboCop to 1.86.1#449

Merged
Morriar merged 1 commit intomainfrom
at/bump-rubocop
May 1, 2026
Merged

Bump RuboCop to 1.86.1#449
Morriar merged 1 commit intomainfrom
at/bump-rubocop

Conversation

@Morriar
Copy link
Copy Markdown
Contributor

@Morriar Morriar commented Apr 28, 2026

Summary

  • Bump rubocop (1.64.1 -> 1.86.1), rubocop-ast (1.31.3 -> 1.49.1), prism (0.27.0 -> 1.9.0), rbi (0.1.12 -> 0.3.10), and tapioca (0.15.1 -> 0.18.0)
  • Replace require "parser/ast/node" and require "parser/source/map" with require "parser" to fix AST constant load order with parser 3.3.11.1
  • Use Prism::Translation::Parser::Builder as base class for TolerateInvalidUtf8Builder when available (prism >= 1.5), fixing deprecation warnings
  • RuboCop 1.76+ recognizes #| continuation lines in RBS inline annotations when AllowRBSInlineAnnotation is enabled
  • Cap parallel to < 2, rbi to < 0.3.11, and sorbet-static-and-runtime to < 0.6 to preserve Ruby 3.2 compatibility

@Morriar Morriar requested a review from a team as a code owner April 28, 2026 19:29
@Morriar Morriar force-pushed the at/bump-rubocop branch 2 times, most recently from 73f786e to 60827ee Compare April 28, 2026 19:36
@Morriar Morriar changed the base branch from main to at/bump-minitest April 28, 2026 19:37
@Morriar Morriar force-pushed the at/bump-minitest branch from da9998c to 96abaaf Compare May 1, 2026 16:19
@Morriar Morriar force-pushed the at/bump-rubocop branch from 5fa5a4e to b9362fd Compare May 1, 2026 16:19
@Morriar Morriar changed the title Bump RuboCop to 1.69.0 Bump RuboCop to 1.86.1 May 1, 2026
@Morriar Morriar force-pushed the at/bump-rubocop branch 3 times, most recently from 8f13ede to 2ee8a84 Compare May 1, 2026 18:59
Bump rubocop (1.64.1 -> 1.86.1), rubocop-ast (1.31.3 -> 1.49.1),
prism (0.27.0 -> 1.9.0), rbi (0.1.12 -> 0.3.10),
and tapioca (0.15.1 -> 0.18.0).

Replace `require "parser/ast/node"` and `require "parser/source/map"`
with `require "parser"` to fix AST constant load order with parser
3.3.11.1.

Use `Prism::Translation::Parser::Builder` as the base class for
`TolerateInvalidUtf8Builder` when available (prism >= 1.5), fixing
deprecation warnings from newer Prism versions that pollute stderr
captures in tests.

RuboCop 1.76+ recognizes `#|` continuation lines in RBS inline
annotations when `AllowRBSInlineAnnotation` is enabled.

Cap `parallel` to `< 2`, `rbi` to `< 0.3.11`, and
`sorbet-static-and-runtime` to `< 0.6` to preserve Ruby 3.2
compatibility and avoid unrelated Sorbet strictness changes.
@Morriar Morriar force-pushed the at/bump-rubocop branch from 2ee8a84 to 076bcdc Compare May 1, 2026 19:03
Comment thread Gemfile
gem("m")
gem("rake")
gem("sorbet-static-and-runtime")
gem("sorbet-static-and-runtime", "< 0.6") # Sorbet 0.6+ has stricter type checking, bumped separately
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread Gemfile
gem("rubocop-sorbet", require: false)
gem("mocha", require: false)
gem("rubocop-shopify", require: false)
gem("rbi", "< 0.3.11", require: false) # rbi 0.3.11+ requires Ruby >= 3.3
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Base automatically changed from at/bump-minitest to at/fix-prism-warnings May 1, 2026 19:44
Base automatically changed from at/fix-prism-warnings to main May 1, 2026 19:45
@Morriar Morriar merged commit 6111509 into main May 1, 2026
9 checks passed
@Morriar Morriar deleted the at/bump-rubocop branch May 1, 2026 19:46
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.

2 participants