Skip to content
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

fix(hydro_lang): avoid crashes and miscompilations with unused locations #1641

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

shadaj
Copy link
Member

@shadaj shadaj commented Jan 14, 2025

Previously, if a location was not used in the graph, we would crash or use faulty IDs in the generated code. This also changes semantics slightly so that if there is a cluster with no assigned computation, it will be treated as an empty cluster at runtime (the list of cluster IDs will be an empty slice).

Copy link

cloudflare-workers-and-pages bot commented Jan 14, 2025

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: 90b32e0
Status: ✅  Deploy successful!
Preview URL: https://61ac3a6f.hydroflow.pages.dev
Branch Preview URL: https://pr1641.hydroflow.pages.dev

View logs

@shadaj shadaj requested a review from MingweiSamuel January 14, 2025 00:27
Previously, if a location was not used in the graph, we would crash or use faulty IDs in the generated code. This also changes semantics slightly so that if there is a cluster with no assigned computation, it will be treated as an empty cluster at runtime (the list of cluster IDs will be an empty slice).
@shadaj shadaj merged commit 9fdb770 into main Jan 14, 2025
31 checks passed
@shadaj shadaj deleted the pr1641 branch January 14, 2025 02:03
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