-
Notifications
You must be signed in to change notification settings - Fork 85
fix(hub): logs are not streamed when opening newly created actor #2015
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(hub): logs are not streamed when opening newly created actor #2015
Conversation
Deploying rivet-hub with
|
Latest commit: |
0640508
|
Status: | ✅ Deploy successful! |
Preview URL: | https://90b8bddb.rivet-hub-7jb.pages.dev |
Branch Preview URL: | https://graphite-base-2016.rivet-hub-7jb.pages.dev |
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 modifies the watch query mechanism in the Hub application, focusing on log streaming functionality for newly created actors.
- Added redundant
await query.promise
in/frontend/apps/hub/src/queries/watch.ts
that could cause infinite loops by repeatedly awaiting the same promise - Potential race condition in watch loop where query state isn't properly updated between iterations
- Missing mechanism to refresh/update the promise reference between watch loop iterations
- Watch query state checking logic may prevent proper streaming initialization for new actors
The changes introduce potential performance and reliability issues in the actor log streaming implementation that should be addressed before merging.
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Deploying rivet with
|
Latest commit: |
0640508
|
Status: | ✅ Deploy successful! |
Preview URL: | https://43968e04.rivet.pages.dev |
Branch Preview URL: | https://graphite-base-2016.rivet.pages.dev |
f9b1104
to
0640508
Compare
82134dc
to
63ec0e4
Compare
Merge activity
|
<!-- Please make sure there is an issue that this PR is correlated to. --> Closes FRONT-620 ## Changes <!-- If there are frontend changes, please include screenshots. -->
Closes FRONT-620
Changes