Repository navigation
feat(microvm-worker): default the slot count per tier, not from the library (#305) - #313
Conversation
…ibrary (rossoctl#305) Task 1.2 of the throughput campaign: decide the shipped default. It is now a per-tier default -- `microvmDefaultConcurrency` = 16 for the microVM worker, with `session.DefaultConcurrency` left at 4 for the container worker. MaxConcurrent sizes a fixed pool of goroutines, one per slot, so a worker left at 4 serves 4 Execs at once however many are dispatched. 16 slots measured 172.88 Exec/s against 62.99 at 4 on the same 72-core host -- 2.74x. Why the default belongs per tier rather than in the shared constant: the per-slot cost that makes slots expensive is 2 x exec.BufferCap (8 MiB) of stream buffer, and it is the CONTAINER worker that pays it against a hard pod limit. worker-deployment.yaml allows 256Mi for 4 slots' 64 MiB worst case; at 16 slots that worst case IS 256 MiB, which would restore exactly the "OOMKill the relay could trigger at will" the manifest records fixing -- and `Exec.streaming` is relay-supplied, so the worst case needs no privilege. The microVM worker has no pod limit, its memory is gated by the MANDATORY SH_MAX_COMMITTED_MB over 256 MiB guests, and 256 MiB of worst-case buffers is negligible against that budget. Why 16 and not higher: it is the largest slot count actually measured. Beyond it is extrapolation, and finding where slots stop paying is its own sweep (Task 1.3), so the default does not wander past the evidence. A test pins the constant to 16 with that reasoning, so raising it has to be a deliberate act with its own measurement. Also fixes a silent fallback found while making this testable. The inline form if v, e := envInt64(get, "WORKER_MAX_CONCURRENT", ...); e == nil { maxConcurrent = int(v) } DISCARDED the error, so `WORKER_MAX_CONCURRENT=abc` ran silently at the default slot count -- the same fallback e11-density.sh now refuses, and worse here, because the slot count is the number that set every throughput figure this project has published. A malformed value is now fatal, matching RELAY_TLS's posture: a value the operator clearly meant to set, and that the worker cannot honour, stops the unit. Resolution moved into `workerMaxConcurrent`, a pure function of the environment, for the same reason the E11 driver grew `worker_max_concurrent_for`: the inline form is unreachable by any test, which is how both defects survived. Deliberately NOT changed, and still correct as written: - `cmd/worker` (the container worker), `session.DefaultConcurrency`, and `worker-deployment.yaml`'s 256Mi limit. This change does not touch that tier's memory envelope, so the manifest needs no edit. - `remote-worker/DESIGN.md`, which documents the container reference worker only -- it does not mention `microvm-worker` anywhere, so its "default 4" stays accurate. - `cmd/worker`'s tolerance of a malformed `WORKER_MAX_CONCURRENT` (it reads through a different helper, `envInt`, and an existing test pins that tolerance). One finding for the record, because it corrects the premise this task was filed under: `Hello.capacity_max` is advertised and then ignored. `relay.ts` says so -- "not yet consulted for leasing -- select-sandbox still leases against its own opts.cap" -- and the harness leases against `KAGENTI_SANDBOX_CAP`, default 20, enforced as concurrent holders per sandbox. So production already dispatches up to 20 concurrent holders at a worker serving 4, and raising the worker's slots moves those two numbers toward each other rather than breaking a contract anything reads. Verified: `go build ./...`, `go vet ./...` and `go test ./...` (9 packages) all exit 0; red-green confirmed (the three new tests fail to compile before the change, then pass). `make lint` exit 0. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
The slot sweep confirms 16 — it is the peak, not just the edge of the evidenceThis PR parks
32 slots is measurably worse than 16 (120.49 vs 170.92, p95 730 ms vs 166 ms), and 64 is back to Nothing here changes the PR. Recording it because the constant's justification is stronger than |
Correction to my comment above: the sweep that "confirmed" 16 is confoundedMy previous comment claimed the sweep showed 16 slots is the peak. Withdraw that. Every What this means for this PR: the justification reverts to exactly what the commit message and the The test that pins the constant to 16 is doing more work than I credited: it would have caught an |
pdettori
left a comment
There was a problem hiding this comment.
Automated review of b20bf0c (2 files, +101). I read every hunk plus the surrounding call chain (session/loop.go, vmpool/budget.go, vmpool/pool.go, exec/runner.go), the shipped systemd unit, the e11 driver, and the harness/relay side to check the PR's central claim. go vet and go test ./cmd/microvm-worker/... ./internal/session/... are green at this commit.
Two load-bearing claims in the PR body check out:
Hello.capacity_maxreally is recorded and never consulted (relay.ts:78->pool-records.ts:7; leasing usesKAGENTI_SANDBOX_CAPatlease-timings.ts:42).- The microVM unit carries no
MemoryMax, so the container tier's OOMKill vector genuinely does not transfer.
The WORKER_MAX_CONCURRENT error-discarding fix is a real bug fix and correct as written.
5 findings: 3 inline below, plus two that fall outside the diff hunks.
remote-worker/cmd/microvm-worker/main.go:632 -- low -- the resolved slot count is absent from the startup banner, so the 4x default change leaves no record in the journal.
The banner logs relay= sandbox_id= tls= vmm= D= guest= budget= but not maxConcurrent. The sibling container worker does log it: cmd/worker/main.go:147 prints capacity=%d from cfg.MaxConcurrent. The only other exposure is /stats, gated behind the opt-in SH_DIAG_STATS_ADDR (main.go:585).
deploy/microvm/microvm-worker.service sets no WORKER_MAX_CONCURRENT, so after this upgrade the shipped unit silently moves from 4 dispatch slots to 16 with nothing in journalctl naming the number -- and this PR's own thesis is that "a run whose slots came from a typo must not look like a run that chose them." Adding slots=%d to this Printf makes the default change self-documenting and matches cmd/worker.
docs/specs/2026-09-09-p4-microvm-sandbox-design.md:76 -- low -- the microVM design doc still records this tier's dispatch pool as "default 4". (File not in this PR.)
The PR body explains why remote-worker/DESIGN.md correctly stays at 4 -- it documents the container worker only. But §2.1's table row Dispatch pool WORKER_MAX_CONCURRENT, default 4 sits in the microVM design doc, enumerating what this worker inherits from the wire contract, and is now wrong for it. A reader sizing SH_MAX_COMMITTED_MB from this table (see the inline finding on main.go:87) budgets for 4 slots against a binary that runs 16. docs/specs/2026-08-26-st4-go-reference-worker-design.md:274 is the container spec and correctly stays at 4.
| // Why 16 and not higher: 16 is the largest slot count actually measured -- 172.88 Exec/s | ||
| // against 62.99 at 4 slots on the same 72-core host, 2.74x. Beyond it is extrapolation, and | ||
| // where slots stop paying is its own sweep. The default must not wander past the evidence. | ||
| const microvmDefaultConcurrency = 16 |
There was a problem hiding this comment.
medium -- the new default is never reconciled with the pool's admission budget, and overflow surfaces as failed Execs, not back-pressure.
The rationale above reasons only about 2 x exec.BufferCap of stream buffer, but the slot count also multiplies VM commitment. committedLocked() sums ready + inFlight + warming across runs, and StandbyDepth is per run key, so 16 in-flight Execs carrying distinct workspace_keys commit up to 16 x (1 + D) VMs -- 48 at the shipped SH_STANDBY_DEPTH=2, ~13.5 GiB at PerVMBytes = 256 MiB guest + 32 MiB overhead -- against 12 VMs / ~3.4 GiB at 4 slots.
admitLocked returns RefuseMemoryBudget rather than blocking, and budget.go's own note says there is no "busy" frame on the wire so a refusal "reaches the harness as a failed exec rather than as back-pressure."
Concretely: an operator following METAL-RUNBOOK.md:155 ("size SH_MAX_COMMITTED_MB to this host") on a 4 GiB dev box sets SH_MAX_COMMITTED_MB=2048 -- 7 VMs of budget. Before this change 4 slots never reached the gate; now 16 concurrent Execs admit 7 and return RefuseMemoryBudget for the rest as hard exec errors.
Nothing at startup checks maxConcurrent x (1 + StandbyDepth) x perVMBytes against MaxCommittedBytes - MemoryReserveBytes, nor warns. The shipped microvm-worker.service (24576 MiB) is safely clear, so this bites operator-sized hosts only -- but poolConfig's stated posture is "fail the unit at start", and this cross-field relation is the one it does not check.
There was a problem hiding this comment.
Confirmed and addressed in cfb72e7. Verified the arithmetic: PerVMBytes is GuestRAMBytes + VMOverheadBytes (32 MiB), so 288 MiB per VM — 16 slots × (1+2) = 48 VMs = 13824 MiB against 2048 MiB of operator budget (7 VMs). committedLocked does sum ready+inFlight+warming across run pools with StandbyDepth per run key, as you describe.
slotBudgetWarning now fires at startup naming both figures and the remedy. Warn, not fail — reasoning: N × (1+D) needs N distinct workspace keys, and a single session holds one key and commits 1 × (1+D) however many slots exist, so refusing would stop deployments that work today and whose worst case never materialises. The runtime gate still refuses, so the exposure is degraded service, not silent corruption. Escalating to a startup refusal is a policy call — say the word and I'll make it fatal.
One thing your finding surfaced that I'd have missed: Normalize is what fills VMOverheadBytes and it runs inside vmpool.New on New's own copy, so main's cfg can carry a zero there. The helper normalizes a copy first, or the commitment would be understated by 32 MiB per VM.
| // the default slot count, which is the single number that set every throughput figure this | ||
| // project has published. A run whose slots came from a typo must not look like a run that | ||
| // chose them. | ||
| func workerMaxConcurrent(get func(string) string) (int, error) { |
There was a problem hiding this comment.
low -- workerMaxConcurrent refuses malformed values but accepts absurd ones, and the value sizes an unbounded goroutine fan-out.
envInt64 only rejects non-integers and n <= 0, so any positive int64 passes through int(v) unbounded. session.Serve then does for i := 0; i < s.cfg.MaxConcurrent; i++ { go ... } (internal/session/loop.go:440) with no ceiling.
WORKER_MAX_CONCURRENT=1000000 therefore starts the unit, passes the snapshot verify and Probe, opens Attach, and then tries to spawn a million goroutines per connection -- the process thrashes or is OOM-killed instead of refusing at start, and Restart=on-failure retries it.
The behaviour is carried over from the inline form rather than introduced by this PR, but it now lives in the function whose documented job is to refuse a value "the worker cannot honour". A sanity ceiling (the memory-budget arithmetic in the main.go:87 finding is the natural one) belongs here.
There was a problem hiding this comment.
Confirmed. envInt64 rejects only non-integers and n <= 0, so int(v) is unbounded and session.Serve's for i := 0; i < s.cfg.MaxConcurrent; i++ { go ... } has no ceiling.
Covered by the same slotBudgetWarning: 1000000 slots commit astronomically more than any budget, so it now warns loudly at startup. I did not add a hard ceiling, because picking the number is the same policy call as the main.go:87 finding — the budget arithmetic is the natural bound, and I have made it advisory rather than fatal for the distinct-workspace-keys reason in that thread. If you want either made fatal, that is one change covering both.
| t.Fatalf("default slots = %d, want the microVM tier default %d", got, microvmDefaultConcurrency) | ||
| } | ||
| // The point of the change: this tier must NOT inherit the container tier's 4. | ||
| if got == session.DefaultConcurrency { |
There was a problem hiding this comment.
low -- this assertion fails spuriously, with a message that would then be false.
got is already pinned to microvmDefaultConcurrency on line 300, and microvmDefaultConcurrency is pinned to 16 on line 310. So this check can only ever fire when the container tier's constant changes.
Concretely: a future PR that raises session.DefaultConcurrency from 4 to 16 (the PR body itself sketches the precondition -- raising worker-deployment.yaml's memory limit) breaks this test with "the tier default is not in force", which would be untrue -- the per-tier default is in force and merely numerically equal.
Asserting session.DefaultConcurrency == 4 at the top, or dropping this check as subsumed by line 300, keeps the intent without coupling the microVM test to the container constant.
There was a problem hiding this comment.
Confirmed — the check is unreachable, and its message would be false precisely when it fired. got is pinned to microvmDefaultConcurrency on line 300 and that to 16 below, so only a change to the container constant could trip it, and the per-tier default would still be in force.
Replaced with an explicit session.DefaultConcurrency == 4 precondition whose failure message says what needs re-deriving if that tier moves (the 256Mi limit funding only 4 slots' stream buffers is the premise the whole per-tier argument rests on), rather than coupling the microVM test to the container constant's value.
…he budget (rossoctl#313 review) Four review findings, all verified against the code first. **The slot count now reconciles with the admission budget.** The default's rationale reasons only about `2 x exec.BufferCap` of stream buffer, but the slot count also multiplies VM commitment: `committedLocked` sums ready+inFlight+warming across run pools and `StandbyDepth` is per RUN KEY, so N slots carrying distinct workspace keys commit up to N x (1 + D) VMs -- 48 at 16 slots and the shipped D=2, ~13.5 GiB at a 256 MiB guest, against 12 VMs / ~3.4 GiB at 4. Verified: `PerVMBytes` is GuestRAMBytes + VMOverheadBytes (32 MiB), so a 2048 MiB operator-sized budget funds 7 VMs where 16 slots can want 48. Overflow does not arrive as back-pressure -- `admitLocked` returns RefuseMemoryBudget, and `budget.go` records that with no "busy" frame on the wire it "reaches the harness as a failed exec". So an operator who sized SH_MAX_COMMITTED_MB for 4 slots would meet the default change as hard exec errors under concurrency. `slotBudgetWarning` WARNS rather than failing the unit, deliberately: N x (1 + D) is a worst case needing N distinct workspace keys, and a single session holds one key and commits 1 x (1 + D) however many slots exist. Refusing would stop deployments that work today and whose worst case never materialises, and the runtime gate still refuses, so the exposure is degraded service rather than silent corruption. Escalating it to a startup refusal is a policy call and is left open. It normalizes a COPY of the config, because `Normalize` is what fills VMOverheadBytes and it runs inside `vmpool.New` on New's own copy -- main's cfg can still carry a zero there. **The banner now names the resolved slot count.** `microvm-worker.service` sets no WORKER_MAX_CONCURRENT, so this PR moves the shipped unit from 4 dispatch slots to 16 with nothing in `journalctl` naming the number, and `/stats` is gated behind the opt-in SH_DIAG_STATS_ADDR. `cmd/worker` already logs the same thing as `capacity=%d`. This PR's own thesis is that a run whose slots came from a typo must not look like a run that chose them -- which applies to the default just as much. **The microVM design doc's dispatch-pool row said "default 4".** §2.1 enumerates what this worker inherits from the wire contract, so it is now wrong for this tier, and a reader sizing SH_MAX_COMMITTED_MB from that table budgets for 4 slots against a binary that runs 16. `remote-worker/DESIGN.md` and the ST4 container spec correctly stay at 4. **One test assertion could only ever fail for the wrong reason.** `got != session.DefaultConcurrency` is unreachable given `got` is already pinned to `microvmDefaultConcurrency` and that to 16, so it could only fire when the CONTAINER constant changes -- and would then report "the tier default is not in force", which would be false. Replaced with an explicit `session.DefaultConcurrency == 4` precondition that says what re-deriving is needed if that tier moves. The absurd-value finding (`WORKER_MAX_CONCURRENT=1000000` spawning a goroutine fan-out per connection) is covered by the same warning, which fires on any value whose commitment outruns the budget. A hard ceiling is the same policy call as above. Verified: `go test ./...` 9 packages exit 0; `go vet`, `gofmt`, `make lint` clean. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
… model fit and three ratios All ten findings from @huang195, @mrsabath and @aslom were checked against `main` and all were correct. The cold-rate finding resolves better than the reviews assumed. Both tables already used `coldAcquireRateTrue`, diffed from the worker's vmpool.Stats counters, not the `coldAcquireRate` latency proxy #306 discredits. The records show why that matters: across these rungs the proxy reads a saturated 1.000 everywhere, carrying no information, while the true metric tracks the ladder 0.142 -> 0.698. Now labelled, and #306 reconciled rather than hedged: its ">99% warm at c=16, the restore was never on the hot path" was measured under the 4-slot cap where demand was four slots' worth. Past 64 slots demand outruns replenishment and the true cold rate reaches 0.698, so the restore is on the hot path in this regime and was not in that one. Both readings are right about their own configuration. The "each then paying a full restore" phrasing is replaced with the measured share, and the note now says the argument stands on `Acquire` growing 65x regardless of how coldness is counted. Corrected arithmetic: - "within ~4%" was wrong and wrong at the peak: the model over-predicts by 6.4% at 64 slots, 4.2% at 128, 2.9% at 256. Stated with the table. - Two per-Exec totals were in use without the difference being named. The column is summed instrumented sub-phases (104.11 ms); wall-clock per slot is slots/throughput (110.81 ms). The 2.8-6.0% residual is uninstrumented time, and by this document's own rule about unexplained zeros it is now flagged as a lower bound rather than passed over. Resume+Destroy is given against both denominators: 90.0% of summed, 84.6% of wall-clock. - "roughly 90x" on memory did not follow from any figure present. Replaced with the divisions shown: 144x worst observed VM, 320x mean, 58x budget against host memory used. 144x is the one to quote. - The gains table explained its own non-composition with "each was measured against the tree that preceded it", which is the reason they *would* compose. Real cause named: each was measured at the slot count and configuration current when it landed. Composed they give 56x against an actual 9.2x. - 577.55 and 580.60 are now labelled as separate sessions, with the 0.5% spread placed inside the measured 2.9% drift. Also: the tier's shipped default is 16 (rossoctl#313), deliberately 4x below the measured peak, and reaching 64 needs WORKER_MAX_CONCURRENT set — the capacity section said "raised" without saying from what. The self-describing rung record is rossoctl#312's work; rossoctl#313 never touched the driver. `session.MaxConcurrent` is not a symbol; the constant is `session.DefaultConcurrency = 4`. In the dead-ends note: `microvm-worker` does have a pprof endpoint on `main` since rossoctl#308, so the "it had none" lesson is marked as acted on rather than left to be re-added; and the pointer into EXPERIMENTS.md section E11 now directs readers to rossoctl#305 and PR rossoctl#300, since the section still carries the pre-correction banner until rossoctl#300 merges. Refs rossoctl#305 #306 rossoctl#308 rossoctl#312 rossoctl#313 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
…separations table Addresses the three must-fixes and three suggestions from review of rossoctl#301. Docs only; no measurement is changed or removed. must-fix 1 -- the correction block duplicated already-merged prose. docs/notes/2026-09-22-exec-throughput-campaign-results.md is on main with a section written specifically to correct this experiment's interpretation, and this block independently narrated the same tables, the same 580.60/580.58 anchor and the same guidance. It now names that document CANONICAL, links to it, and keeps only what a reader of this document must know before acting on it. The two duplicated tables are gone; the figures that remain are this document's own 123.57 and the two comparisons that overturn its conclusion. Not removed: the overlap EVIDENCE. The canonical doc proves overlap from matching per-worker coresBusy inside its 2x32 arm; this document proves it from processCount 24 against the control's 12, hostCpuFraction 0.105, and an independent 3s /proc/stat sampler at 1.91x. Different measurements, same corollary, and the corollary -- coresBusy must not be summed -- is what made the later comparison auditable. The block now says which is which. must-fix 2 and 3 -- the runbook's separations table was short by three and one omission silently corrupts the measurement. It taught four rows while the results doc beside it discovered a fifth and main's campaign doc put the count at seven. One list now, nine variables, with the two later additions marked as the silent kind: - SH_E11_STATS_ADDR (new here). Defaults to a fixed 127.0.0.1:6061 (e11-density.sh:219), is scraped by the driver (:708) and passed to the worker as SH_DIAG_STATS_ADDR (:1791). Left at the default, both drivers scrape worker 1's counters and attribute plausible numbers to the wrong process -- the run completes and the data looks fine. - SH_PARENT_CGROUP (found by this experiment). Also recorded: it must be slice-relative, because jailer refuses an absolute --parent-cgroup, and outside systemd an absent path is a warning rather than fatal, so the sweep no-ops. The separation is still required -- the failure it prevents is the sweep firing CORRECTLY against a path the live worker shares. - SH_CHROOT_BASE must pre-exist; SH_MAX_COMMITTED_MB is divided rather than separated, and the budget paragraph now matches the values in the block. Added a copy-ready per-worker env block, since the shared block an operator would copy contained none of these. The count is reconciled in all three places rather than replaced by a fourth number: the table carries nine, and a note explains that the campaign doc's seven is the same list drawn at the worker-facing boundary (it omits RESULTS and SH_E11_NULL_RESPONDER_PORT, which are the driver's own). suggestions: - The shipped default is no longer 4. Since rossoctl#313 this tier defaults to microvmDefaultConcurrency = 16, deliberately 4x below the measured peak, with main_test.go pinning session.DefaultConcurrency != 4 as a tripwire. Recorded, along with the fact that reaching 64 still needs the variable set explicitly. - c=8's 80.62 is not a "known-healthy operating point". It is ~4.9 effective slots against a 4-slot cap, filed under Open in the campaign doc and named in EXPERIMENTS.md as the one rung the 4-slot model does not predict. The runbook's headline table now says so, since the whole decision rule anchors on it. - The "record the configuration next to the number" lesson now turns on this correction's own figures: the 2.74x is 16 slots against 4 on one host, not a property of the worker. pre-commit run --files <both>: all hooks pass, including the pinned Prettier. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
Part of #305. Task 1.2 of the Exec/s throughput campaign: decide the shipped default.
Decision: a per-tier default.
microvmDefaultConcurrency= 16 for the microVM worker;session.DefaultConcurrencystays 4 for the container worker.Why per tier, and not one raised constant
MaxConcurrentsizes a fixed pool of goroutines, one per slot, so a worker left at 4 serves 4Execs at once however many are dispatched. 16 slots measured 172.88 Exec/s against 62.99 at
4 on the same 72-core host — 2.74x.
The per-slot cost that makes slots expensive is
2 × exec.BufferCap(8 MiB) of stream buffer,and it is the container worker that pays it against a hard pod limit:
worker-deployment.yaml's 256Mibytes.BufferdoublingThat manifest records fixing exactly this: "A 64Mi limit was therefore an OOMKill the relay
could trigger at will." And
runner.gonotesExec.streamingis relay-supplied withfalseas the proto3 default, so the worst case is reachable with no privilege. Raising the shared
constant to 16 would reinstate a known, already-fixed vector in the container tier.
The microVM worker has no pod limit — it runs as a process, with no manifest anywhere in the
tree — and its memory is gated by the mandatory
SH_MAX_COMMITTED_MBover 256 MiB guests.256 MiB of worst-case buffers is negligible against that budget.
Why 16 and not higher
16 is the largest slot count actually measured. Beyond it is extrapolation, and finding
where slots stop paying is its own sweep (Task 1.3). A test pins the constant to 16 with that
reasoning in the failure message, so raising it has to be deliberate and carry its own
measurement.
A silent fallback, found while making this testable
The error was discarded, so
WORKER_MAX_CONCURRENT=abcran silently at the default slotcount. That is the same fallback
e11-density.shnow refuses, and worse here: the slot countis the number that set every throughput figure this project has published, and a run whose
slots came from a typo must not look like a run that chose them. It is now fatal, matching
RELAY_TLS's posture in the same function.Resolution moved into
workerMaxConcurrent, a pure function of the environment, for the samereason the driver grew
worker_max_concurrent_for: the inline form is unreachable by any test,which is how both defects survived.
Deliberately not changed, and still correct as written
cmd/worker,session.DefaultConcurrency, andworker-deployment.yaml's 256Mi limit.This does not touch that tier's memory envelope, so the manifest needs no edit.
remote-worker/DESIGN.mddocuments the container reference worker only — it does notmention
microvm-workeranywhere — so its "default 4" stays accurate.cmd/worker's tolerance of a malformed value. It reads through a different helper(
envInt), and an existing test pins that tolerance.One finding that corrects this task's premise
The plan filed Task 1.2 as needing a human call because the default is "advertised as
Hello.capacity_max, so raising it changes what the relay is told it may dispatch." Nothingreads it.
relay.tsis explicit: "not yet consulted for leasing — select-sandbox stillleases against its own opts.cap." The harness leases against
KAGENTI_SANDBOX_CAP, default20 (
lease-timings.ts:42), enforced as concurrent holders per sandbox.So production already dispatches up to 20 concurrent holders at a worker serving 4. Raising the
worker's slots moves those two numbers toward each other; it does not break a contract
anything consults. The real constraint was always the memory table above.
Verification
go build ./...go vet ./...go test ./...make lintIndependent of #312 (that one is
deploy/microvm/, this one isremote-worker/); they touchno common file and can merge in either order.
🤖 Generated with Claude Code