-
Notifications
You must be signed in to change notification settings - Fork 41
feat(drivers/engine): pass inspector to metadata #1184
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
feat(drivers/engine): pass inspector to metadata #1184
Conversation
Claude finished @jog1t's task —— View job Code Review CompletedI've analyzed this PR that adds inspector token metadata to the engine drivers. Here's my review: Todo List:
SummaryThis PR updates the engine driver to pass the inspector token as metadata to the engine runner, enabling proper inspector authentication. The changes include updating to a newer engine-runner version and modifying both the actor and manager drivers. Code Quality & Implementation ✅
Potential Issues
|
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 either label to this PR to merge it via 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. |
More templates
@rivetkit/actor
@rivetkit/core
@rivetkit/db
rivetkit
@rivetkit/cloudflare-workers
@rivetkit/redis
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
commit: |
Merge activity
|
### TL;DR Updated the engine-runner dependency to version 4b0f765 and enhanced actor metadata handling. ### What changed? - Updated `@rivetkit/engine-runner` from version f8860f3 to 4b0f765 - Added inspector token to actor metadata for improved debugging capabilities - Modified the prepopulation of actor names to use an object structure with metadata - Added automatic generation of a random studio token if one doesn't exist - Removed unused imports (`noopNext`, `WSContext`, `InternalError`) ### How to test? 1. Run the application with the updated engine-runner 2. Verify that actors are properly initialized with metadata 3. Check that the inspector token is correctly passed to the engine runner 4. Confirm that reconnection logic works as expected ### Why make this change? This change enhances the actor system by providing better metadata support, which improves debugging capabilities through the inspector token. The updated engine-runner version includes improvements that require these structural changes to the actor initialization process. The automatic token generation ensures that the system always has a valid token for studio operations.
TL;DR
Updated the engine-runner dependency to version 4b0f765 and enhanced actor metadata handling.
What changed?
@rivetkit/engine-runner
from version f8860f3 to 4b0f765noopNext
,WSContext
,InternalError
)How to test?
Why make this change?
This change enhances the actor system by providing better metadata support, which improves debugging capabilities through the inspector token. The updated engine-runner version includes improvements that require these structural changes to the actor initialization process. The automatic token generation ensures that the system always has a valid token for studio operations.