chore(core): add x-rivet-endpoint header for serverless runners & cleanup severless runner setup#1359
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @NathanFlurry's task —— View job Pull Request ReviewI've completed a comprehensive review of this PR that adds the Review Checklist:
✅ Code Quality & Best PracticesThe code follows the established patterns and conventions well:
🐛 Potential Bugs & Issues1. Redundant Token Assignment -
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
More templates
@rivetkit/actor
@rivetkit/cloudflare-workers
@rivetkit/core
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
commit: |
e5a8dc6 to
e1358f4
Compare
188a8be to
9de93c7
Compare
|
Claude finished @NathanFlurry's task —— View job Pull Request Review I've completed a comprehensive review of this PR that adds the Review Checklist:
✅ Code Quality & Best PracticesThe code follows the established patterns and conventions well:
🐛 Potential Bugs & Issues1. Redundant Token Assignment -
|
|
Claude finished @NathanFlurry's task —— View job Pull Request ReviewI've completed a comprehensive review of this PR that adds the Review Checklist:
✅ Code Quality & Best PracticesThe code follows the established patterns and conventions well:
🐛 Potential Bugs & Issues1. Redundant Token Assignment -
|
…anup severless runner setup
9de93c7 to
a022c4f
Compare
|
Claude finished @NathanFlurry's task —— View job Pull Request ReviewI've completed a comprehensive review of this PR that adds the Review Checklist:
✅ Code Quality & Best PracticesThe code follows the established patterns and conventions well:
🐛 Potential Bugs & Issues1. Redundant Token Assignment -
|
| // HACK: Override inspector token (which are likely to be | ||
| // removed later on) with token from x-rivet-token header | ||
| const token = runConfig.token ?? config.token; | ||
| const token = runConfig.token ?? runConfig.token; |
There was a problem hiding this comment.
There appears to be a redundant self-reference in this line. The expression runConfig.token ?? runConfig.token will always evaluate to runConfig.token since the nullish coalescing operator (??) only uses the right-hand value when the left-hand value is null or undefined.
Since the config parameter was removed from this function, this should be simplified to:
const token = runConfig.token;| const token = runConfig.token ?? runConfig.token; | |
| const token = runConfig.token; |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
Merge activity
|
…anup severless runner setup (#1359) Depends on rivet-dev/rivet#3077

Depends on rivet-dev/rivet#3077