Skip to content

Add JRuby 10.0/10.1 to CI test matrix - #53

Open
eitoball wants to merge 1 commit into
masterfrom
add_jruby_to_test_matrix
Open

eitoball wants to merge 1 commit into
masterfrom
add_jruby_to_test_matrix

Conversation

@eitoball

Copy link
Copy Markdown
Owner

What

Adds JRuby 10.0 and 10.1 to the GitHub Actions test matrix.

Why

JRuby support wasn't covered by CI. JRuby 10.0 (Ruby 3.4 compat) and 10.1 (Ruby 4.0 compat, latest) are the currently maintained series and mirror the newest MRI versions already in the matrix.

Changes

  • .github/workflows/test.yml: add jruby-10.1 and jruby-10.0 to the ruby matrix
  • net-ping.gemspec / Gemfile: move pry-byebug out of the gemspec's development dependencies and into the Gemfile, guarded to skip on JRuby, since byebug's C extension doesn't build there and would break bundle install
  • README.md: note that JRuby 10.0/10.1 are covered by CI

Copilot AI lite review requested due to automatic review settings September 20, 2026 12:09

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.

Copilot review overview

🟡 Changes recommended

Exclude JRuby jobs from Windows before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Adds JRuby 10.0 and 10.1 to CI coverage and avoids installing pry-byebug on JRuby.

Changes:

  • Expands the GitHub Actions Ruby matrix.
  • Moves pry-byebug into a JRuby-excluded Gemfile dependency.
  • Documents JRuby CI coverage.
File Summary
README.md Documents JRuby 10.0/10.1 CI coverage.
net-ping.gemspec Removes pry-byebug from development dependencies.
Gemfile Skips pry-byebug on JRuby.
.github/​workflows/​test.yml Adds JRuby versions, but currently creates unsupported Windows JRuby jobs.

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

Comment thread .github/workflows/test.yml
@eitoball
eitoball force-pushed the add_jruby_to_test_matrix branch 4 times, most recently from d2929a4 to ecd9da5 Compare September 20, 2026 22:10
@eitoball
eitoball requested a lite review from Copilot September 21, 2026 01:44

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.

Copilot review overview

🟡 Changes recommended

Four moderate review findings remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 3 Medium severity

Open (3)
Resolved since last review (1)

Comment thread lib/net/ping/tcp.rb Outdated
Comment thread lib/net/ping/udp.rb Outdated
Comment thread net-ping.gemspec

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.

Copilot review overview

🔵 Needs a closer look

UDP timeout calculations should use a monotonic clock to enforce reliable elapsed-time limits.

Review effort: Lite
Findings: None

Resolved since last review (3)

byebug's C extension does not build on JRuby, so pry-byebug is moved
out of the gemspec's development dependencies and into the Gemfile,
guarded to skip installation on JRuby.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings September 22, 2026 02:12
@eitoball
eitoball force-pushed the add_jruby_to_test_matrix branch from 4979247 to e4f6c90 Compare September 22, 2026 02:12

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.

Copilot review overview

🔵 Needs a closer look

Unresolved moderate issues remain in UDP cleanup and timeout handling, plus TCP error-path test coverage.

Review effort: Lite
Findings: None

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