chore: rivetkit core/napi/typescript follow up review#4702
Conversation
|
🚅 Deployed to the rivet-pr-4702 environment in rivet-frontend
|
|
PR 4702 Code Review — Adversarial Review Synthesis The full adversarial review findings (F1-F42) with challenger verdicts are in this comment. The per-diff code review is in the comment below. Key findings verified as REAL in this PR:
|
689feea to
527f1d2
Compare
f102f4d to
8264cd3
Compare
527f1d2 to
ef109dd
Compare
a639b2e to
d7cd40d
Compare
PR Review: chore: rivetkit core/napi/typescript follow up reviewThis PR addresses follow-up items from the adversarial review of rivetkit-core/napi/typescript. Below are findings from a fresh pass over the diff. Issues to address before merge1. Test-only probe compiled into production (
Both the struct and the function should be gated with 2. Null hazard in the incoming-size limit path ( In the new size-limit block: const inFlight = this.#takeActionInFlight(actionId);
// ...
logger().warn({ ..., actionName: inFlight.name, ... });
inFlight.reject(error);If const inFlight = this.#takeActionInFlight(actionId);
if (!inFlight) return; // action already settled3. The 65,536-byte client-side limit is hardcoded and not derived from the server config. A user who sets a larger 4.
Correct changes worth noting
Summary: the core lifecycle fix (F3) and structured-error improvements are solid. Issues 1-4 above — production test code in |
Preview packages published to npmInstall with: npm install rivetkit@pr-4702All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-d108c6a
docker pull rivetdev/engine:full-d108c6aIndividual packagesnpm install rivetkit@pr-4702
npm install @rivetkit/react@pr-4702
npm install @rivetkit/rivetkit-napi@pr-4702
npm install @rivetkit/workflow-engine@pr-4702 |
1 similar comment
Preview packages published to npmInstall with: npm install rivetkit@pr-4702All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-d108c6a
docker pull rivetdev/engine:full-d108c6aIndividual packagesnpm install rivetkit@pr-4702
npm install @rivetkit/react@pr-4702
npm install @rivetkit/rivetkit-napi@pr-4702
npm install @rivetkit/workflow-engine@pr-4702 |

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: