Skip to content

CI against Ruby v3.4 and v4.0 - #313

Open
meganemura wants to merge 2 commits into
github:mainfrom
meganemura:ci/add-ruby-3.4-4.0
Open

CI against Ruby v3.4 and v4.0#313
meganemura wants to merge 2 commits into
github:mainfrom
meganemura:ci/add-ruby-3.4-4.0

Conversation

@meganemura

Copy link
Copy Markdown

Ruby 3.4 and 4.0 are out, so this adds both to the CI matrix.

Ruby 3.4 also changed backtrace quoting (in 'block', previously in `block'), so the mismatch backtrace test now accepts both styles.

Ruby 3.4+ renders backtrace locations with a plain quote (in 'block...')
instead of the older backtick+apostrophe style (in `block...'), which
broke this assertion when testing against newer Rubies.
Copilot AI balanced review requested due to automatic review settings August 30, 2026 15:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused compatibility changes are correct and introduce no unresolved issues.

Pull request overview

Adds CI coverage for Ruby 3.4 and 4.0 while accommodating Ruby’s updated backtrace quoting.

Changes:

  • Adds Ruby 3.4 and 4.0 to the CI matrix.
  • Accepts legacy and current backtrace quote styles.
File summaries
File Description
.github/workflows/ci.yml Expands tested Ruby versions.
test/scientist/experiment_test.rb Updates backtrace assertion compatibility.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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