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.Dismiss alert
{{ message }}
Repository navigation
fix(minimal): narrow declares_network and name minimal.toml in EgressRequiresNetwork #3144
Follow-up of BOX T122 (#2702, PR #3121), from the pre-merge thread review.
declares_network (create.rs, about lines 459-484) counts any network key in any entry or defaults table, not only the egress keys of the layers a session inherits. It fails closed (an undecided pick exits 2), and the over-refusal for a project Box Type entry goes away with feat(minimal): resolve a project Box Type's session root when picking the egress entry #3140; narrow it to session-inherited egress keys. No test covers a network key only in a task.
The EgressRequiresNetwork refusal (project egress with --network none, boxes lib.rs about line 1670) does not name minimal.toml as the source of the egress; say where the egress came from (thread PRRT_kwDOPdfcxM60w7-b).
eb191b5c (PR #3394): declares_network at crates/minimal/src/cmd/boxes/create.rs:1466 skips task entries and [defaults.task]; test network_key_only_in_task_does_not_refuse_session_pick (create.rs:6971). refuse_egress_on_none (crates/minimal/src/task.rs:259) names '<layer> in minimal.toml'; session start calls it at create.rs:2147, test at create.rs:7022.
Reopen this issue if any part of it is still missing.
Activity
norrietaylor commentedon Nov 18, 2026
Closing as fixed on
mainby #3394.What a read of
mainat 385add8 found:Reopen this issue if any part of it is still missing.