-
Notifications
You must be signed in to change notification settings - Fork 35
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
feat(hydroflow_plus, stageleft)!: allow cluster self ID to be referenced as a global constant #1574
Conversation
Deploying hydroflow with Cloudflare Pages
|
478cc9e
to
6e6e804
Compare
001d39e
to
a0aa75a
Compare
…ced as a global constant This eliminates the need to store `cluster.self_id()` in a local variable first, instead you can directly reference `CLUSTER_SELF_ID`.
Guide for review. The first big change is to stageleft, where we create a richer version of In Hydroflow+, the context for UDFs is the location for the stream, so this allows us to have a general global |
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.
Is CLUSTER_SELF_ID
just a magic name? In the future probably best to namespace it to something, ctx.CLUSTER_SELF_ID
, if/when we add other magic names
Ah no, it's actually defined as a |
This eliminates the need to store
cluster.self_id()
in a local variable first, instead you can directly referenceCLUSTER_SELF_ID
.Stack created with Sapling. Best reviewed with ReviewStack.