You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
8000
Dismiss alert
{{ message }}
Repository navigation
A min task run body on a VM-backed host reaches only Minimal's steered hosts, and other connections hang #3574
On macOS (minvmd), with the project network default host_ip, the command a task runs cannot open direct TCP connections. Only destinations Minimal itself routes (for example github.com and the package cache) answer. Every other destination is dropped without a reset, so clients retry until they time out. DNS resolves normally.
A task that runs a cloud CLI against Google Cloud Storage prints Running task preview in box preview-1... and then nothing for 25+ minutes, with the VM idle.
A probe task that opens /dev/tcp/<host>/<port> to a list of destinations gives: github.com:443 OK, cache.minimal.dev:443 OK; storage.googleapis.com:443, www.google.com:443, api.github.com:443, 1.1.1.1:443, 8.8.8.8:443 all fail. The same script from a session (min session exec <session> -- bash -s < script), and from min box exec <task-box> while the task box is up, reaches every destination.
So the box's own exec path has normal host_ip egress, while the per-invocation process the task body runs in does not.
Also seen: the first cache clean after daemon start deleted entries that had just been fetched for the running task, because an entry with no recorded read counts as old.
Expected
A task gets the network and rules of its box, as the docs say: full host_ip egress here.
A dropped connection is logged once per box, so a stalled task can be explained from the log.
The cache clean does not reclaim an entry that was written after the cutoff and not yet read.
Where
crates/minimald/src/env.rs: run_invocations, run_invocations_relayed (the task invocation path); compare with the box exec path.
crates/minimald/src/net/classifier.rs: the classifier leaf placement for a host-address box.
crates/op/src/cache_clean.rs (around line 131): atimes.last_read(hash).is_none_or(|last| last < cutoff).
Workaround
Run the commands with min session exec <session> -- bash -s < script.
Activity
norrietaylor commentedon Nov 19, 2026
Fixed by #3610: a task run on a VM-backed host now runs in its box's classifier leaf, so it takes the box's egress rules.