fix(rivetkit): minor rivetkit debug changes#4676
fix(rivetkit): minor rivetkit debug changes#4676jog1t wants to merge 1 commit into04-16-feat_frontend_add_enoys_to_the_runner_tablefrom
Conversation
|
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.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
🚅 Deployed to the rivet-pr-4676 environment in rivet-frontend
|
Code ReviewThis PR makes several useful debug/reliability improvements to the RivetKit TypeScript runtime. Overall the changes are well-scoped. Below are observations by file.
|
| Area | Severity | Note |
|---|---|---|
checkIfEngineAlreadyRunningOnPort hardcoded port 6420 in error strings |
Minor | Misleading when called with managerPort |
Double blank line in mod.ts line 83 |
Trivial | |
process.on vs process.once for signal handlers |
Minor | Pre-existing, new branch adds second registration path |
startEnvoy() still uses biome-ignore suppression |
Minor | Inconsistent with start() improvement in same PR |
The core fixes (child process return, stale port detection, unhandled rejection suppression, error logging) are all sound. Resolving the hardcoded port issue in checkIfEngineAlreadyRunningOnPort would be the most impactful follow-up.
Preview packages published to npmInstall with: npm install rivetkit@pr-4676All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-118d364
docker pull rivetdev/engine:full-118d364Individual packagesnpm install rivetkit@pr-4676
npm install @rivetkit/react@pr-4676
npm install @rivetkit/rivetkit-native@pr-4676
npm install @rivetkit/sqlite-wasm@pr-4676
npm install @rivetkit/workflow-engine@pr-4676 |

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: