chore: fix serverless in rivetkit-core#4719
chore: fix serverless in rivetkit-core#4719NathanFlurry wants to merge 1 commit into04-23-chore_rivetkit_impl_follow_up_reviewfrom
Conversation
|
🚅 Deployed to the rivet-pr-4719 environment in rivet-frontend
|
PR Review: chore: fix serverless in rivetkit-coreOverviewThis PR extracts shared serverless metadata types into a new IssuesSilent serialization failure ( let mut response = serde_json::to_value(payload).unwrap_or_else(|_| json!({}));If Post-processing to inject The if let Some(envoy) = object.get_mut("envoy").and_then(|v| v.as_object_mut()) {
envoy.insert("kind".to_owned(), json!({ "serverless": {} }));
}Similarly, the null
This would eliminate the post-serialization mutation entirely. NAPI build: pre-built artifact detection removed The previous build script skipped the napi build if a pre-built Turbo.json glob inputs may cause excessive cache misses
Positives
Minor Notes
|
Preview packages published to npmInstall with: npm install rivetkit@pr-4719All packages published as Engine binary is shipped via Docker images: docker pull rivetdev/engine:slim-23ea795
docker pull rivetdev/engine:full-23ea795Individual packagesnpm install rivetkit@pr-4719
npm install @rivetkit/react@pr-4719
npm install @rivetkit/rivetkit-napi@pr-4719
npm install @rivetkit/workflow-engine@pr-4719 |
0586791 to
cceeaef
Compare

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: