This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Commit 5c1019f
committed
feat(drivers/engine): pass inspector to metadata (#1184)
### 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.1 parent 50b5e30 commit 5c1019f
File tree
4 files changed
+44
-27
lines changed- packages/core
- src/drivers/engine
4 files changed
+44
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
88 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
89 | 96 | | |
90 | 97 | | |
91 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments