Skip to content

Conversation

@eregon
Copy link
Contributor

@eregon eregon commented Jan 7, 2025

No description provided.

@eregon eregon mentioned this pull request Jan 7, 2025
@eregon
Copy link
Contributor Author

eregon commented Jan 7, 2025

CI is green, except musl which cannot be related to this change.

Copy link
Collaborator

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

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

I don't know if it is going to be enough to turn CI for #325 green but it's an improvement regardless. LGTM!

@bnoordhuis bnoordhuis merged commit a268a2c into rubyjs:main Jan 7, 2025
18 of 21 checks passed
eregon added a commit to eregon/mini_racer that referenced this pull request Jan 8, 2025
rubyjs#326)"

* This reverts commit a268a2c.
* Now it's defined in "shared" code like before.
eregon added a commit to eregon/mini_racer that referenced this pull request Jan 9, 2025
rubyjs#326)"

* This reverts commit a268a2c.
* Now it's defined in "shared" code like before.
SamSaffron added a commit that referenced this pull request Jan 9, 2025
* Cleanup code in lib/mini_racer.rb and remove tabs

* Fix the truffleruby backend by restoring the logic which used to be shared in lib/mini_racer.rb

* See #325
* I copied lib/mini_racer.rb from a268a2c (just before that PR)
  and removed the duplicated definitions with what's left on master in lib/mini_racer.rb.
* This brings it down to `5 failures, 6 errors` vs `10 failures, 60 errors` before.

* Revert "Add MiniRacer::Platform.set_flags! for the truffleruby backend (#326)"

* This reverts commit a268a2c.
* Now it's defined in "shared" code like before.

* Move #low_memory_notification and #idle_notification from Isolate to Context

* Adjust to MiniRacer::SnapshotError#initialize changes

* Support overwriting for #attach for the new #test_attach_non_object test

* Pass MiniRacerTest#test_estimated_size_when_disposed on truffleruby

* Skip a failing test which seems hard to fix

* Convert JS Map to Ruby Hash and handle Map Iterator

* Also improve test for clarity.

* Exclude CRuby-only test

* Tweak #test_symbol_support to allow the original behavior

* Until the desired behavior is clarified.

* Extend #test_map and fix behavior for the Map#values() case

* Update test/mini_racer_test.rb

Co-authored-by: Ben Noordhuis <[email protected]>

---------

Co-authored-by: Sam <[email protected]>
Co-authored-by: Ben Noordhuis <[email protected]>
bnoordhuis pushed a commit to bnoordhuis/mini_racer that referenced this pull request Mar 13, 2025
…s#326)

Add MiniRacer::Platform.set_flags! for the truffleruby backend.

Remove macos-12 image from CI. No longer exists on GitHub.
bnoordhuis added a commit to bnoordhuis/mini_racer that referenced this pull request Mar 13, 2025
* Cleanup code in lib/mini_racer.rb and remove tabs

* Fix the truffleruby backend by restoring the logic which used to be shared in lib/mini_racer.rb

* See rubyjs#325
* I copied lib/mini_racer.rb from a268a2c (just before that PR)
  and removed the duplicated definitions with what's left on master in lib/mini_racer.rb.
* This brings it down to `5 failures, 6 errors` vs `10 failures, 60 errors` before.

* Revert "Add MiniRacer::Platform.set_flags! for the truffleruby backend (rubyjs#326)"

* This reverts commit a268a2c.
* Now it's defined in "shared" code like before.

* Move #low_memory_notification and #idle_notification from Isolate to Context

* Adjust to MiniRacer::SnapshotError#initialize changes

* Support overwriting for #attach for the new #test_attach_non_object test

* Pass MiniRacerTest#test_estimated_size_when_disposed on truffleruby

* Skip a failing test which seems hard to fix

* Convert JS Map to Ruby Hash and handle Map Iterator

* Also improve test for clarity.

* Exclude CRuby-only test

* Tweak #test_symbol_support to allow the original behavior

* Until the desired behavior is clarified.

* Extend #test_map and fix behavior for the Map#values() case

* Update test/mini_racer_test.rb

Co-authored-by: Ben Noordhuis <[email protected]>

---------

Co-authored-by: Sam <[email protected]>
Co-authored-by: Ben Noordhuis <[email protected]>
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