Audit excluded tests on JRuby and address differences
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by running the listed JRuby-excluded tests under JRuby and compare their behavior with the C extension; inspect the conditionals and omissions in test/json/json_generator_test.rb, test/json/json_minefield_parser_test.rb, test/json/json_parser_test.rb, and test/json/resumable_parser_test.rb. Use #1122 as the example of a latent bug. Done means fixing the applicable Java extension differences and restoring the corresponding tests, while identifying exclusions that remain valid.
索引モデルが issue の本文から書いたものです。
説明
Several tests still explicitly exclude JRuby and do not run against the Java extension. We should reexamine these and fix as many differences with the C extension as possible.
$ git grep -e "RUBY_ENGINE == [\"']jruby" test
test/json/json_generator_test.rb: if RUBY_ENGINE == "jruby"
test/json/json_minefield_parser_test.rb: if RUBY_ENGINE == 'jruby'
test/json/json_parser_test.rb: unless RUBY_ENGINE == 'jruby'
test/json/json_parser_test.rb: omit "JRuby errors don't contain positions" if RUBY_ENGINE == "jruby"
test/json/json_parser_test.rb: omit "JRuby errors don't contain positions" if RUBY_ENGINE == "jruby"
test/json/json_parser_test.rb: omit "JRuby string decoding errors don't contain positions" if RUBY_ENGINE == "jruby"
test/json/resumable_parser_test.rb: omit "JRuby not supported" if RUBY_ENGINE == "jruby"
Some of these may be valid but most involve changes made to the C extension that were never ported to the Java extension. That last one excludes all of the ResumableParser tests because that entire feature is missing from the Java extension.
See #1122 for one example of a latent bug hidden by these masks.
- 主要言語
- Ruby
- スター
- 785
- フォーク
- 389
- 平均マージ
- 6時間 32分
- マージ済み PR(30日)
- 22
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ruby/json のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
メンテナーはふだん 1 日以内に返信
-
Output formatting differences between jRuby 10.0.0.1 and Ruby 3.4 when converting Float to JSON.再び着手できるかも @headius が 443 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンjruby
ruby/json#817 · コメント 3 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Don't cache JRuby runtime in static fields再び着手できるかも @headius が 720 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンjruby
ruby/json#707 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
new feature
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
Websockify heartbeat for vnc_container対応中かも @robinkar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
needs verification
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 7 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
shakacode/react_on_rails#5345 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
akitaonrails/ai-book-2026#13 ·