Skip to content

Fix CI#358

Merged
kzkn merged 3 commits into
masterfrom
exclude-flaky-memoized-helpers-spec
May 28, 2026
Merged

Fix CI#358
kzkn merged 3 commits into
masterfrom
exclude-flaky-memoized-helpers-spec

Conversation

@kzkn
Copy link
Copy Markdown
Member

@kzkn kzkn commented May 28, 2026

Fix three CI failures that surfaced after the dev-dependency bump in 3629816.

  • Exclude flaky memoized_helpers_spec.rb from sample-code verification (45d7f36) — ThreadOrder::CannotResume is a timing flake in rspec-core's threadsafety test, not a rufo regression.
  • Drop bundler from Gemfile (cbbf063) — bundler >= 2.5.23 is unsatisfiable with the bundler shipped on Ruby 3.0/3.1/3.2/3.3. The entry isn't needed.
  • Fix RuboCop 1.86 offenses (2976140) — Lint/AmbiguousRange x4 and Lint/UselessConstantScoping x1.

🤖 Generated with Claude Code

kzkn and others added 3 commits May 28, 2026 19:55
The threadsafety test in memoized_helpers_spec.rb intermittently fails
with ThreadOrder::CannotResume due to thread scheduling timing, not
because of rufo's formatting.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bundler is the tool that loads the Gemfile itself, so pinning it as
a gem dependency is unnecessary. With Gemfile requiring bundler
>= 2.5.23, CI failed on Ruby 3.0/3.1/3.2/3.3 where the system-shipped
bundler is older. Removing the entry lets each Ruby version use
its bundled bundler.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Lint/AmbiguousRange (formatter.rb x4): wrap the lhs of complex range
  expressions in parens, e.g. (line + 1..@line) -> ((line + 1)..@line).
- Lint/UselessConstantScoping (erb_formatter.rb): mark
  CODE_BLOCK_KEYWORDS with private_constant so its visibility matches
  the surrounding private section.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kzkn kzkn changed the title Exclude flaky memoized_helpers_spec.rb from sample-code verification Fix CI May 28, 2026
@kzkn kzkn merged commit 8a497c9 into master May 28, 2026
6 checks passed
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.

1 participant