-
Notifications
You must be signed in to change notification settings - Fork 281
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
Deprecate Rhino JavaScript engine #2049
Comments
I switched all of my tests from Rhino to GraalJS. |
I have installed Maestro 1.39.0 on macOS 15.0.1 (24A348) using Homebrew. When I run any script using the GraalJS engine, I encounter the following exception immediately:
It's possible that the version of GraalJS used by Maestro is incompatible with OpenJDK 23, which Homebrew installs automatically as a dependency. I was able to work around the issue by manually installing OpenJDK 21 on my Mac. The exception was also reported here: oracle/graaljs#825. |
@bartekpacia Should I create a separate issue for this problem? |
That's always a good idea:) and link to this one |
Does it mean that Maestro could potentially support different engines? (Like python or others) |
TL;DR
We will deprecate Rhino JavaScript engine, thus making GraalJS the only choice.
To prepare for this, explicitly set
jsEngine: graaljs
in front-matter of every flow that uses JavaScript:Plan
Let's do it in phases, to spare our users sudden breakages.
Phase 1 - communicate
#announcements
channelPhase 2 - soft warning
jsEngine: graaljs
is not set, orMAESTRO_USE_GRAALJS
env var is not set).Phase 3 - change default
jsEngine: rhinojs
)Phase 4 - remove RhinoJS
RhinoJS
completely from Maestro codebasejsEngine
orMAESTRO_USE_GRAALJS
are set - say that "these config options don't have any effect anymore"Notes
The text was updated successfully, but these errors were encountered: