fix(frontend): submit Vercel drain grace period - #5517
Open
abcxff wants to merge 2 commits into
Open
Conversation
|
🚅 Deployed to the rivet-pr-5517 environment in rivet-frontend
|
Contributor
ReviewFocused, well-scoped fix. Traced the root cause through Strengths
Minor / non-blocking
No correctness, security, or performance concerns beyond the above. This is client-side form/schema configuration only, with no new injection or trust-boundary surface. |
railway-app
Bot
requested a deployment
to
rivet-frontend / rivet-pr-5517
August 13, 2026 20:53
In progress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
drainGracePeriodwhen creating serverless runner configs through the legacy-compatible payload branchRoot cause
New runner configs have no existing
protocolVersion, so the frontend selected the legacy-compatible payload branch. That branch omitteddrainGracePeriod, causing the API to apply its 1800-second fallback, which is invalid for Vercel's 295-second request lifespan.Verification
pnpm --filter @rivetkit/engine-frontend check-typespnpm --filter @rivetkit/engine-frontend test(31 tests)pnpm --filter @rivetkit/engine-frontend buildgit diff --check