mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-18 21:00:49 +00:00
Add runner versioning to RivetKit registry
Uses Date.now() so each process start gets a unique version. This ensures Rivet Cloud migrates actors to the new runner on deploy instead of routing requests to stale runners. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6f8dc26111
commit
cfa0c9cfe2
1 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,9 @@ export const registry = setup({
|
||||||
serverless: {
|
serverless: {
|
||||||
basePath: "/v1/rivet",
|
basePath: "/v1/rivet",
|
||||||
},
|
},
|
||||||
|
runner: {
|
||||||
|
version: Date.now(),
|
||||||
|
},
|
||||||
use: {
|
use: {
|
||||||
workspace,
|
workspace,
|
||||||
project,
|
project,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue