Skip to content

feat(rivetkit): download Engine and Services binaries on demand - #5906

Draft
NathanFlurry wants to merge 1 commit into
mainfrom
stack/feat-rivetkit-download-engine-and-services-binaries-on-demand-pvstznlv
Draft

NathanFlurry wants to merge 1 commit into
mainfrom
stack/feat-rivetkit-download-engine-and-services-binaries-on-demand-pvstznlv

Conversation

@NathanFlurry

@NathanFlurry NathanFlurry commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

No description provided.

@NathanFlurry

Copy link
Copy Markdown
Member Author

Stack for rivet-dev/rivet

Get stack: forklift get 5906
Push local edits: forklift submit
Merge when ready: forklift merge 5906

change pvstznlv

@NathanFlurry
NathanFlurry marked this pull request as draft October 20, 2026 15:06
@railway-app

railway-app Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the rivet-pr-5906 environment in rivet-frontend

Service Status Web Updated
kitchen-sink 😴 Sleeping (View Logs) Web Oct 21, 2026 at 3:49 am UTC
frontend-inspector 😴 Sleeping (View Logs) Web Oct 21, 2026 at 3:49 am UTC
website ❌ Build Failed (View Logs) Web Oct 21, 2026 at 3:40 am UTC
mcp-hub ⏭️ Skipped (View Logs) Web Oct 21, 2026 at 3:40 am UTC
ladle ✅ Success (View Logs) Web Oct 20, 2026 at 3:22 pm UTC
2 services not affected by this PR
  • sentry-tunnel
  • mcp-hub

@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

📟 Pip-Boy · 3c936b1

📦 Packages · fresh npm install resolve, no lockfile · this PR vs base

package (linux-x64-gnu) @latest base this PR Δ vs base packages
@rivet-dev/workflow-world 359.2 MB 359.5 MB 127.1 MB −232.4 MB (−64.6%) 99 (−4 (−3.9%))
@rivetkit/cloudflare-workers 357.8 MB 358.0 MB 125.6 MB −232.4 MB (−64.9%) 94 (−4 (−4.1%))
@rivetkit/effect 407.2 MB 407.4 MB 175.0 MB −232.4 MB (−57.0%) 95 (−4 (−4.0%))
@rivetkit/framework-base 357.9 MB 358.1 MB 125.7 MB −232.4 MB (−64.9%) 96 (−4 (−4.0%))
@rivetkit/next-js 365.9 MB 366.1 MB 133.8 MB −232.4 MB (−63.5%) 103 (−4 (−3.7%))
@rivetkit/react 365.9 MB 366.1 MB 133.7 MB −232.4 MB (−63.5%) 102 (−4 (−3.8%))
rivetkit 357.7 MB 357.9 MB 125.6 MB −232.4 MB (−64.9%) 93 (−4 (−4.1%))
`@rivet-dev/workflow-world` details
platform base this PR Δ
linux-x64-gnu 359.5 MB 127.1 MB −232.4 MB (−64.6%)
linux-arm64-gnu 330.8 MB 124.7 MB −206.1 MB (−62.3%)
darwin-arm64 188.7 MB 78.7 MB −109.9 MB (−58.3%)
darwin-x64 202.2 MB 80.7 MB −121.5 MB (−60.1%)
win32-x64 170.6 MB 38.9 MB −131.8 MB (−77.2%)

Removed dependencies

package size via
@rivet-dev/services-linux-x64-gnu@0.2.3 138.5 MB @rivet-dev/workflow-world › rivetkit › @rivet-dev/services › @rivet-dev/services-linux-x64-gnu
@rivetkit/engine-cli-linux-x64-musl@2.3.30 93.9 MB @rivet-dev/workflow-world › rivetkit › @rivetkit/engine-cli › @rivetkit/engine-cli-linux-x64-musl
@rivetkit/engine-cli@2.3.30 6.1 KB @rivet-dev/workflow-world › rivetkit › @rivetkit/engine-cli
@rivet-dev/services@0.2.3 3.7 KB @rivet-dev/workflow-world › rivetkit › @rivet-dev/services
`@rivetkit/cloudflare-workers` details
platform base this PR Δ
linux-x64-gnu 358.0 MB 125.6 MB −232.4 MB (−64.9%)
linux-arm64-gnu 329.3 MB 123.2 MB −206.1 MB (−62.6%)
darwin-arm64 187.2 MB 77.3 MB −109.9 MB (−58.7%)
darwin-x64 200.7 MB 79.2 MB −121.5 MB (−60.5%)
win32-x64 169.2 MB 37.4 MB −131.8 MB (−77.9%)

Removed dependencies

package size via
@rivet-dev/services-linux-x64-gnu@0.2.3 138.5 MB @rivetkit/cloudflare-workers › rivetkit › @rivet-dev/services › @rivet-dev/services-linux-x64-gnu
@rivetkit/engine-cli-linux-x64-musl@2.3.30 93.9 MB @rivetkit/cloudflare-workers › rivetkit › @rivetkit/engine-cli › @rivetkit/engine-cli-linux-x64-musl
@rivetkit/engine-cli@2.3.30 6.1 KB @rivetkit/cloudflare-workers › rivetkit › @rivetkit/engine-cli
@rivet-dev/services@0.2.3 3.7 KB @rivetkit/cloudflare-workers › rivetkit › @rivet-dev/services
`@rivetkit/effect` details
platform base this PR Δ
linux-x64-gnu 407.4 MB 175.0 MB −232.4 MB (−57.0%)
linux-arm64-gnu 378.8 MB 172.7 MB −206.1 MB (−54.4%)
darwin-arm64 236.6 MB 126.7 MB −109.9 MB (−46.5%)
darwin-x64 250.1 MB 128.6 MB −121.5 MB (−48.6%)
win32-x64 218.6 MB 86.8 MB −131.8 MB (−60.3%)

Removed dependencies

package size via
@rivet-dev/services-linux-x64-gnu@0.2.3 138.5 MB @rivetkit/effect › rivetkit › @rivet-dev/services › @rivet-dev/services-linux-x64-gnu
@rivetkit/engine-cli-linux-x64-musl@2.3.30 93.9 MB @rivetkit/effect › rivetkit › @rivetkit/engine-cli › @rivetkit/engine-cli-linux-x64-musl
@rivetkit/engine-cli@2.3.30 6.1 KB @rivetkit/effect › rivetkit › @rivetkit/engine-cli
@rivet-dev/services@0.2.3 3.7 KB @rivetkit/effect › rivetkit › @rivet-dev/services
`@rivetkit/framework-base` details
platform base this PR Δ
linux-x64-gnu 358.1 MB 125.7 MB −232.4 MB (−64.9%)
linux-arm64-gnu 329.5 MB 123.3 MB −206.1 MB (−62.6%)
darwin-arm64 187.3 MB 77.4 MB −109.9 MB (−58.7%)
darwin-x64 200.8 MB 79.3 MB −121.5 MB (−60.5%)
win32-x64 169.3 MB 37.5 MB −131.8 MB (−77.8%)

Removed dependencies

package size via
@rivet-dev/services-linux-x64-gnu@0.2.3 138.5 MB @rivetkit/framework-base › rivetkit › @rivet-dev/services › @rivet-dev/services-linux-x64-gnu
@rivetkit/engine-cli-linux-x64-musl@2.3.30 93.9 MB @rivetkit/framework-base › rivetkit › @rivetkit/engine-cli › @rivetkit/engine-cli-linux-x64-musl
@rivetkit/engine-cli@2.3.30 6.1 KB @rivetkit/framework-base › rivetkit › @rivetkit/engine-cli
@rivet-dev/services@0.2.3 3.7 KB @rivetkit/framework-base › rivetkit › @rivet-dev/services
`@rivetkit/next-js` details
platform base this PR Δ
linux-x64-gnu 366.1 MB 133.8 MB −232.4 MB (−63.5%)
linux-arm64-gnu 337.5 MB 131.4 MB −206.1 MB (−61.1%)
darwin-arm64 195.3 MB 85.4 MB −109.9 MB (−56.3%)
darwin-x64 208.9 MB 87.4 MB −121.5 MB (−58.2%)
win32-x64 177.3 MB 45.6 MB −131.8 MB (−74.3%)

Removed dependencies

package size via
@rivet-dev/services-linux-x64-gnu@0.2.3 138.5 MB @rivetkit/next-js › rivetkit › @rivet-dev/services › @rivet-dev/services-linux-x64-gnu
@rivetkit/engine-cli-linux-x64-musl@2.3.30 93.9 MB @rivetkit/next-js › rivetkit › @rivetkit/engine-cli › @rivetkit/engine-cli-linux-x64-musl
@rivetkit/engine-cli@2.3.30 6.1 KB @rivetkit/next-js › rivetkit › @rivetkit/engine-cli
@rivet-dev/services@0.2.3 3.7 KB @rivetkit/next-js › rivetkit › @rivet-dev/services
`@rivetkit/react` details
platform base this PR Δ
linux-x64-gnu 366.1 MB 133.7 MB −232.4 MB (−63.5%)
linux-arm64-gnu 337.5 MB 131.4 MB −206.1 MB (−61.1%)
darwin-arm64 195.3 MB 85.4 MB −109.9 MB (−56.3%)
darwin-x64 208.8 MB 87.3 MB −121.5 MB (−58.2%)
win32-x64 177.3 MB 45.5 MB −131.8 MB (−74.3%)

Removed dependencies

package size via
@rivet-dev/services-linux-x64-gnu@0.2.3 138.5 MB @rivetkit/react › rivetkit › @rivet-dev/services › @rivet-dev/services-linux-x64-gnu
@rivetkit/engine-cli-linux-x64-musl@2.3.30 93.9 MB @rivetkit/react › rivetkit › @rivetkit/engine-cli › @rivetkit/engine-cli-linux-x64-musl
@rivetkit/engine-cli@2.3.30 6.1 KB @rivetkit/react › rivetkit › @rivetkit/engine-cli
@rivet-dev/services@0.2.3 3.7 KB @rivetkit/react › rivetkit › @rivet-dev/services
`rivetkit` details
platform base this PR Δ
linux-x64-gnu 357.9 MB 125.6 MB −232.4 MB (−64.9%)
linux-arm64-gnu 329.3 MB 123.2 MB −206.1 MB (−62.6%)
darwin-arm64 187.1 MB 77.2 MB −109.9 MB (−58.7%)
darwin-x64 200.6 MB 79.2 MB −121.5 MB (−60.5%)
win32-x64 169.1 MB 37.4 MB −131.8 MB (−77.9%)

Removed dependencies

package size via
@rivet-dev/services-linux-x64-gnu@0.2.3 138.5 MB rivetkit › @rivet-dev/services › @rivet-dev/services-linux-x64-gnu
@rivetkit/engine-cli-linux-x64-musl@2.3.30 93.9 MB rivetkit › @rivetkit/engine-cli › @rivetkit/engine-cli-linux-x64-musl
@rivetkit/engine-cli@2.3.30 6.1 KB rivetkit › @rivetkit/engine-cli
@rivet-dev/services@0.2.3 3.7 KB rivetkit › @rivet-dev/services
All 17 packages · linux-x64-gnu
package (linux-x64-gnu) @latest base this PR Δ vs base packages
@rivet-dev/workflow-world 359.2 MB 359.5 MB 127.1 MB −232.4 MB (−64.6%) 99 (−4 (−3.9%))
@rivetkit/cloudflare-workers 357.8 MB 358.0 MB 125.6 MB −232.4 MB (−64.9%) 94 (−4 (−4.1%))
@rivetkit/effect 407.2 MB 407.4 MB 175.0 MB −232.4 MB (−57.0%) 95 (−4 (−4.0%))
@rivetkit/engine-api-full 3.6 MB 3.6 MB 3.6 MB 0 44 (0)
@rivetkit/engine-envoy-protocol 234.9 KB 245.9 KB 245.9 KB 0 2 (0)
@rivetkit/engine-runner 2.2 MB 2.3 MB 2.3 MB 0 19 (0)
@rivetkit/engine-runner-protocol 166.3 KB 177.3 KB 177.3 KB 0 2 (0)
@rivetkit/engine-test-runner 3.7 MB 3.8 MB 3.8 MB 0 22 (0)
@rivetkit/framework-base 357.9 MB 358.1 MB 125.7 MB −232.4 MB (−64.9%) 96 (−4 (−4.0%))
@rivetkit/next-js 365.9 MB 366.1 MB 133.8 MB −232.4 MB (−63.5%) 103 (−4 (−3.7%))
@rivetkit/react 365.9 MB 366.1 MB 133.7 MB −232.4 MB (−63.5%) 102 (−4 (−3.8%))
@rivetkit/sql-loader 13.5 KB 24.5 KB 24.5 KB 0 1 (0)
@rivetkit/supabase 9.7 MB 9.7 MB 9.7 MB −1.8 KB (−0.0%) 20 (0)
@rivetkit/traces 2.6 MB 2.6 MB 2.6 MB 0 9 (0)
@rivetkit/virtual-websocket 30.9 KB 42.0 KB 42.0 KB 0 1 (0)
@rivetkit/workflow-engine 4.3 MB 4.3 MB 4.3 MB 0 22 (0)
rivetkit 357.7 MB 357.9 MB 125.6 MB −232.4 MB (−64.9%) 93 (−4 (−4.1%))

🧹 Rust dependencies · cargo deny + cargo shear

check new in this PR fixed existing on base
advisories ✅ 0 0 38
licenses ✅ 0 0 0
sources ✅ 0 0 0
bans ✅ 0 0 0
unused 🟡 2 1 291
new finding via
39 unlinked files in 'rivetkit-core' ``
unused dependency 'tempfile' rivetkit-rust/packages/engine-process/Cargo.toml

🦀 Binaries · publish Dockerfiles, --release

Base: main@a7f753c, the merge base.

artifact npm @latest base this PR Δ vs base
engine darwin-arm64 89.0 MB 89.0 MB 89.0 MB 0
engine darwin-x64 100.1 MB 100.1 MB 100.1 MB 0
engine linux-arm64-musl 78.9 MB 78.9 MB 78.9 MB 0
engine linux-x64-musl 93.9 MB 93.9 MB 93.9 MB 0
engine windows-x64 107.1 MB 107.1 MB 107.1 MB 0
rivetkit-napi darwin-arm64 39.9 MB 39.9 MB 40.0 MB +182.4 KB (+0.4%)
rivetkit-napi darwin-x64 41.9 MB 41.9 MB 42.0 MB +162.8 KB (+0.4%)
rivetkit-napi linux-arm64-gnu 42.9 MB 42.9 MB 43.0 MB +84.7 KB (+0.2%)
rivetkit-napi linux-arm64-musl 42.8 MB 42.8 MB 43.0 MB +157.9 KB (+0.4%)
rivetkit-napi linux-x64-gnu 44.1 MB 44.1 MB 44.2 MB +178.6 KB (+0.4%)
rivetkit-napi linux-x64-musl 44.2 MB 44.2 MB 44.3 MB +172.5 KB (+0.4%)

⏱ Timing

job wall time slowest step
changes 19s checkout · 15s
zizmor 11s Set up job · 2s
hygiene 45s checkout · 12s
footprint 2m58s Pack this commit · 1m15s
native · rivetkit-napi · darwin-x64 5m44s Build with the publish Dockerfile · 5m29s
native · engine · linux-arm64-musl 13m34s Build with the publish Dockerfile · 13m21s
native · engine · linux-x64-musl 12m54s Build with the publish Dockerfile · 12m39s
native · engine · darwin-arm64 13m56s Build with the publish Dockerfile · 13m42s
native · rivetkit-napi · linux-arm64-musl 5m55s Build with the publish Dockerfile · 5m41s
native · rivetkit-napi · linux-x64-musl 5m48s Build with the publish Dockerfile · 5m33s
native · rivetkit-napi · linux-x64-gnu 5m19s Build with the publish Dockerfile · 5m03s
native · rivetkit-napi · linux-arm64-gnu 5m33s Build with the publish Dockerfile · 5m19s
native · engine · darwin-x64 12m50s Build with the publish Dockerfile · 12m36s
native · engine · windows-x64 13m01s Build with the publish Dockerfile · 12m46s
native · rivetkit-napi · darwin-arm64 5m59s Build with the publish Dockerfile · 5m45s
⏭ self-test — skipped
report 19s Write the comment and run summary · 6s
🔭 Full CI trace for this commit

One OpenTelemetry trace of Rust CI, frontend, and Pip-Boy for 3c936b1: every job and step, with the sizes above attached. Run after CI finishes.

pnpm install --frozen-lockfile --filter 'pipboy...'
pnpm --filter pipboy pipboy trace --sha 3c936b159b647a35fc0e1842e0a9fe6b0f1ac831

Add --otlp <url> to send it to any OTLP/HTTP collector.

Agent instruction: From a rivet-dev/rivet checkout, run the commands above, then read the trace file the last command prints. List the slowest jobs and steps and explain where CI time went.

@NathanFlurry
NathanFlurry force-pushed the stack/feat-rivetkit-download-engine-and-services-binaries-on-demand-pvstznlv branch 2 times, most recently from 68b7b0f to 9e9bc13 Compare October 20, 2026 22:24
@NathanFlurry
NathanFlurry force-pushed the stack/feat-rivetkit-download-engine-and-services-binaries-on-demand-pvstznlv branch from 9e9bc13 to d9c379b Compare October 20, 2026 22:25
@NathanFlurry
NathanFlurry force-pushed the stack/feat-rivetkit-download-engine-and-services-binaries-on-demand-pvstznlv branch from d9c379b to 0a698d3 Compare October 20, 2026 22:43
@NathanFlurry
NathanFlurry force-pushed the stack/feat-rivetkit-download-engine-and-services-binaries-on-demand-pvstznlv branch from 0a698d3 to 3c936b1 Compare October 21, 2026 03:40

This branch had an error being deployed

1 failed deployment
rivet-frontend / rivet-pr-5906 — 3c936b15 Deployed Oct 21, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant