Skip to content

Omit forwarding parameter tests on JRuby - #3092

Merged
soutaro merged 1 commit into
masterfrom
claude/rbs-ci-failure-sinnfd
Aug 18, 2026
Merged

Omit forwarding parameter tests on JRuby#3092
soutaro merged 1 commit into
masterfrom
claude/rbs-ci-failure-sinnfd

Conversation

@soutaro

@soutaro soutaro commented Aug 18, 2026

Copy link
Copy Markdown
Member

The JRuby workflow has been failing since #3087 merged (e.g. this run on the merge queue for #3040): the forwarding parameter tests call the private parser entry points with enable_forwarding_params: true, and the WebAssembly parser shim that JRuby loads deliberately rejects the option with NotImplementedError (lib/rbs/wasm/parser.rb). That produced 4 failures and 3 errors on every JRuby run.

This omits the seven affected tests on JRuby with omit_on_jruby!, following the existing pattern for C-extension-only paths (e.g. test/rbs/wasm/serialization_test.rb):

  • test/rbs/method_type_parsing_test.rb: the six tests that parse with the forwarding option enabled. test_forwarding_parameter_syntax_is_not_enabled_by_default and test_forwarding_parameter_is_not_allowed_in_proc_types keep running on JRuby, since they go through the public API, which behaves the same on both parsers.
  • test/rbs/schema_test.rb: the forwarding part of test_method_type_schema moves to its own test case (test_method_type_schema_with_forwarding_parameter) so the default method type schema coverage still runs on JRuby.

Both files pass on CRuby with the extension compiled, and no library code changes.


Generated by Claude Code

The tests added with the forwarding parameter option call the private
parser entry points with the option enabled, but the WebAssembly parser
shim JRuby loads deliberately rejects it with NotImplementedError
(lib/rbs/wasm/parser.rb), so the JRuby suite has been red since the
option merged.

Omit those tests on JRuby with omit_on_jruby!, as the suite already
does for other C-extension-only paths. The schema check for forwarding
parameters moves to its own test case so the default method type schema
coverage still runs on JRuby.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KscuNdoWHSkZx3iLD2XcbZ
@soutaro
soutaro enabled auto-merge August 18, 2026 08:52
@soutaro
soutaro added this pull request to the merge queue Aug 18, 2026
@soutaro
soutaro removed this pull request from the merge queue due to a manual request Aug 18, 2026
@soutaro
soutaro added this pull request to the merge queue Aug 18, 2026
Merged via the queue into master with commit 584b4cf Aug 18, 2026
24 checks passed
@soutaro
soutaro deleted the claude/rbs-ci-failure-sinnfd branch August 18, 2026 21:13
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