-
Notifications
You must be signed in to change notification settings - Fork 71
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(cluster): create new cluster server wf with stateful loop #1940
fix(cluster): create new cluster server wf with stateful loop #1940
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
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.
PR Summary
This PR introduces significant changes to the cluster service's server management system, primarily focusing on implementing stateful loops for better workflow control.
- Introduces new
server::Workflow2
with structured state management viaState
struct in/packages/services/cluster/src/workflows/server/mod.rs
- Removes
ServerCreate
signal from datacenter workflow in/packages/services/cluster/src/workflows/datacenter/mod.rs
, indicating a shift in server provisioning approach - Modifies scale workflow to handle version-specific server workflows with conditional dispatching in
/packages/services/cluster/src/workflows/datacenter/scale.rs
- Comments out critical integration tests for server provisioning and GC functionality, which needs to be addressed to maintain testing coverage
- Implements version-aware workflow dispatching using
ctx.check_version(2)
for backward compatibility during migration
6 file(s) reviewed, 6 comment(s)
Edit PR Review Bot Settings | Greptile
Deploying rivet with Cloudflare Pages
|
Merge activity
|
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
Changes