-
Notifications
You must be signed in to change notification settings - Fork 328
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
Encapsulating State access by moving nodes to runtime.state package #12314
base: develop
Are you sure you want to change the base?
Conversation
main = | ||
x_0 = 6 | ||
x_1 = 7 | ||
x_2 = (v "${aa}")*(v "${bb}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unblocking from libs side.
value_for_uuid id = instrumentor_builtin "uuid" id | ||
instrumentor_builtin op args = @Builtin_Method "Meta.instrumentor_builtin" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we not need these in the full distribution too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The whole concept of micro distribution is flawed
- it is just a random selection of stuff from
Standard.Base
to make sure some unit tests work - ideally we have
Standard.Prelude
needed asmain = 6 * 7
no longer works #8852 - the prelude would be a subset of
Standard.Base
- the micro distribution is deleted and prelude is used instead
Until that happens, we just have to update micro-distribution to be on par with builtins used by Standard.Base
.
5c4a006
to
d379995
Compare
new Runtime$Api$MethodPointer(moduleName, moduleName, "main"), | ||
Option.empty(), | ||
ScalaConversions.<String>nil().toVector())))); | ||
var reply = context.receiveN(5, 3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't override the timeout. Otherwise, it may randomly fail on CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not overriding timeout, but Java doesn't support default Scala arguments. I have to specify one.
* new Java instead of in Scala. | ||
*/ | ||
final class RuntimeServerTesting { | ||
static void accessRuntimeCache(TestContext context) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd just make a new Junit test suite
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That wouldn't inherit the infrastructure of RuntimeServerTest
setup and teardown.
Pull Request Description
Refactoring to fix #12294.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,