fix(pegboard): wait for actor allocation not creation#2539
Closed
MasterPtato wants to merge 1 commit into06-04-fix_pegboard_increase_signal_timeout_add_check_for_actor_exitfrom
Conversation
This was referenced Jun 4, 2025
Closed
Contributor
Author
There was a problem hiding this comment.
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
Comment on lines
+149
to
+154
| ctx.msg(Allocated { | ||
| client_id: res.client_id, | ||
| }) | ||
| .tag("actor_id", input.actor_id) | ||
| .send() | ||
| .await?; |
There was a problem hiding this comment.
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
This was referenced Jun 4, 2025
60de115 to
779cf53
Compare
a38c8f3 to
100bf59
Compare
100bf59 to
5517494
Compare
779cf53 to
5526790
Compare
This was referenced Jun 5, 2025
Closed
5526790 to
6d98c23
Compare
This was referenced Jun 6, 2025
6d98c23 to
d6aaade
Compare
This was referenced Jun 6, 2025
Contributor
Merge activity
|
graphite-app Bot
pushed a commit
that referenced
this pull request
Jun 9, 2025
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
This was referenced Jun 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Changes