Skip to content

RUBY-3983 Enable Lint/UnreachableLoop cop - #3115

Merged
jamis merged 1 commit into
mongodb:masterfrom
jamis:3983-unreachable-loop
Oct 15, 2026
Merged

jamis merged 1 commit into
mongodb:masterfrom
jamis:3983-unreachable-loop

Conversation

@jamis

@jamis jamis commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Enables the Lint/UnreachableLoop cop by dropping its entry from .rubocop_todo.yml. The two remaining offenses were intentional each+break loops in the specs that exercise partial cursor iteration, so they now carry inline disables with a short reason instead of being rewritten.

The two remaining offenses are intentional each+break loops in the specs
that exercise partial cursor iteration, so they are suppressed inline
rather than rewritten.
@jamis
jamis requested a review from a team as a code owner October 14, 2026 19:51
@jamis
jamis requested a review from comandeo-mongo October 14, 2026 19:51
@jamis
jamis merged commit 24f4efe into mongodb:master Oct 15, 2026
243 of 245 checks passed
@jamis
jamis deleted the 3983-unreachable-loop branch October 15, 2026 20:14
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