Skip to content

feat: run RivetKit apps as always-on envoys on Rivet v3 - #307

Draft
NathanFlurry wants to merge 1 commit into
mainfrom
feat/rivet-v3-envoys
Draft

NathanFlurry wants to merge 1 commit into
mainfrom
feat/rivet-v3-envoys

Conversation

@NathanFlurry

Copy link
Copy Markdown
Member
  • Move to RivetKit and Rivet Engine 3.0.2 and remove the serverless path (runner configs, Engine callbacks, RIVETKIT_RUNTIME_MODE=serverless).
  • Run each app's active RivetKit release as an always-on envoy in an agentOS VM, owned by the app's private actor. The guest exits are restarted with backoff.
  • Roll out new releases by starting the new envoy at a higher node version, waiting for it to connect, then draining the previous one.
  • Add a recovery loop on every host that wakes RivetKit apps once a minute, so an app whose host process died restarts its envoy elsewhere.
  • Add startDynamicAppsHost() for hosts to call at boot, and use it in the examples.
  • Retry the Engine's structured overloaded refusals during namespace and pool provisioning.
  • RivetKit apps must now export registry and no longer mount registry.handler(); update the skill, examples, README, and docs.
  • Extend the end-to-end test with guest crash recovery, a redeploy rollout, and a host failover scenario (pnpm test:e2e:failover).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@railway-app

railway-app Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

🚅 Environment dynamic-apps-pr-307 in rivet-frontend has no services deployed.

3 services not affected by this PR
  • kitchen-sink
  • mcp-hub
  • sentry-tunnel

🚅 Deployed to the dynamic-apps-pr-307 environment in secure-exec

Service Status Web Updated
secure-exec ❌ Build Failed (View Logs) Web Nov 5, 2026 at 6:56 am UTC

This branch had an error being deployed

1 failed deployment
secure-exec / dynamic-apps-pr-307 — e6b77ec8 Deployed Nov 5, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant