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:
Nathan Flurry 2026-03-12 23:00:37 -07:00
parent 6f8dc26111
commit cfa0c9cfe2

View file

@ -12,6 +12,9 @@ export const registry = setup({
serverless: {
basePath: "/v1/rivet",
},
runner: {
version: Date.now(),
},
use: {
workspace,
project,