-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test with TruffleRuby in CI #402
Conversation
@hsbt Could you review and merge this PR? |
I'm negative to merge this. Because we didn't support TruffleRuby officially yet. At first, we should decide before merging this. |
Who can decide that? JSON is part of the standard library and widely used, it is critical that it works on all major Ruby implementations, that is MRI, JRuby and TruffleRuby. Supporting TruffleRuby currently requires 0 changes in the gem (unlike JRuby which needs a completely different extension). I think it doesn't make sense to support JRuby but not TruffleRuby in that context. I want to clarify that merging this PR doesn't mean the new TravisCI TruffleRuby job must prevent merging changes. |
@hsbt How can we progress on this PR? What should we wait for? I'm not asking for official support of TruffleRuby in JSON, just adding it in CI. FWIW, I'm happy to fix any issue coming with TruffleRuby in JSON. Given that, can we just merge this PR? |
In general who can decide this is flori. |
@flori Could you review and merge this PR? It would be great to have other maintainers for such a critical part of the Ruby standard library. Maybe transferring the project to https://github.com/ruby/json would help to clarify this is a Ruby community-maintained gem. Most other gems in the standard library are under https://github.com/ruby, so I think it would be consistent. @flori What do you think of that? Of course, we can move this discussion to an issue or somewhere else if you prefer. EDIT: moved to #412 |
See PR #406 which add Actions CI for all platforms. TruffleRuby is passing on both Ubuntu & macOS, along with all MRI Rubies 2.2 thru head, on all three platforms... |
@flori This PR has been open for 2 months, could you please take a look at it? |
I would merge if I had push rights, but I do not. |
@eregon Can you also add the truffleruby to
It's your convenience, not maintainer's one. I was always tired to maintain CI matrix for no responsible platform. |
@hsbt Done. I think it's not much effort for the potential PR breaking TruffleRuby to add it in |
@eregon Thanks! |
Thanks for merging! @flori Could you reply to #402 (comment) once you see this? |
The latest release of JSON (2.3.0) unfortunately broke TruffleRuby 19.3.0, as it used
rb_gc_register_mark_object
which was not yet supported by TruffleRuby: oracle/truffleruby#1856The TruffleRuby 19.3.1 release fixes it.
It would be useful to test TruffleRuby in CI to notice when it breaks, and if possible avoid breaking it.
I checked and it fails as expected when using a not-yet-implemented C API function.