-
Couldn't load subscription status.
- Fork 130
fix(pegboard): wait for actor allocation not creation #2539
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
Conversation
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
Modifies actor lifecycle management to wait for allocation instead of creation, improving reliability and state tracking.
- Changed
actors.rsto wait forAllocatedsignal instead ofCreateCompletebefore proceeding - Added new
Allocatedmessage type inmod.rswithclient_idfor better lifecycle tracking - Implemented allocation check before entering main state loop in actor workflow
- Ensures proper actor resource allocation before continuing with other operations
2 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
| ctx.msg(Allocated { | ||
| client_id: res.client_id, | ||
| }) | ||
| .tag("actor_id", input.actor_id) | ||
| .send() | ||
| .await?; |
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.
logic: Sending Allocated message before state loop could lead to false positives if actor fails to initialize in state loop
Deploying rivet-studio with
|
| Latest commit: |
d6aaade
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://48cf04dc.rivet-studio.pages.dev |
| Branch Preview URL: | https://06-04-fix-pegboard-wait-for.rivet-studio.pages.dev |
Deploying rivet-hub with
|
| Latest commit: |
d6aaade
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://fc47a2d3.rivet-hub-7jb.pages.dev |
| Branch Preview URL: | https://06-04-fix-pegboard-wait-for.rivet-hub-7jb.pages.dev |
Deploying rivet with
|
| Latest commit: |
d6aaade
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://18db9cc4.rivet.pages.dev |
| Branch Preview URL: | https://06-04-fix-pegboard-wait-for.rivet.pages.dev |
4f69969 to
a38c8f3
Compare
c0249ae to
60de115
Compare
60de115 to
779cf53
Compare
a38c8f3 to
100bf59
Compare
100bf59 to
5517494
Compare
779cf53 to
5526790
Compare
5526790 to
6d98c23
Compare
6d98c23 to
d6aaade
Compare
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