Skip to content

chore(deps): pin agentOS 0.4.9-rc.1 - #42

Draft
eersnington wants to merge 7 commits into
mainfrom
rc/agentos-perf
Draft

eersnington wants to merge 7 commits into
mainfrom
rc/agentos-perf

Conversation

@eersnington

Copy link
Copy Markdown
Member

Pins @rivet-dev/agentos-core to 0.4.9-rc.1 (npm tag rc), built from rivet-dev/agentos#2109, for an Open Orange 1.0.4-rc.1.

Package Before This PR
@rivet-dev/agentos-core (root and packages/runtime-node) 0.4.8 0.4.9-rc.1

The 1.0.4-rc.1 release runs from this branch with pnpm release --version 1.0.4-rc.1. A -rc. version publishes under the npm tag rc, so latest stays 1.0.3 and main does not change.

- Size each network mode's VM pool to recent demand (POOL_SIZE..POOL_MAX), shrink back after the idle timeout
- Refill with up to 4 parallel prewarms as soon as no Worker is loading, instead of one at a time 250 ms later
- Boot on demand at once when the pool is empty; never queue a burst behind one prewarm
- Test pool growth, idle shrink, parallel boots, and per-Worker VM isolation through orange dev
… every VM

- Wait in a bounded FIFO queue for a slot instead of failing at once; refuse past the deadline or queue limit with a typed WorkerLoaderLimitError that the runtime answers with 503 and Retry-After
- Bound running, pooled, booting, and stopping VMs with one VM budget; prewarmed VMs stop first
- Keep refilling the pool under a steady stream of loads, at the rate the stream needs
- Export slot, queue, pool, VM, memory, and refusal metrics; document autoscaling
…atch its frames

- Send entrypoint calls right behind `start` with Cap'n Web pipelining; a Worker that fails to load still fails them with its startup error
- Batch the parent's stdin frames per event-loop turn and the child's stdout frames per microtask checkpoint
- Test: calls made while a Worker loads, beside a 3 MiB body, each get their own result
…ule snapshot

- Read WebAssembly on use, not at module load, in the VM runtime bundle
- Move child startup into startChild() behind a thin worker-loader-child-main.mjs entry
- Pass snapshotEntrypoints for that entry when the agentOS client supports it (0.4.8 does not)
- Check runtime module state, cloudflare:workers env, and randomness per pooled Worker
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

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