Repository navigation
fix(runtime): fail closed on passt host_port=0 publish - #502
Merged
Merged
Conversation
Bridge passt previously skipped unresolved auto-assign and invalid port_map entries, so publish could look successful while dropping intent. Reject those mappings to match keep-authority DNAT honesty; CLI still resolves 0:guest before boot. Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 17, 2026
Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 17, 2026
Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 17, 2026
Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 17, 2026
Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 17, 2026
Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 17, 2026
Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 18, 2026
* fix(runtime): OCI-map SandboxViaOci diff baselines Managed Sandbox prepare previously installed rootfs_snapshot.json via a host walk while live/stopped diff used OCI-mapped metadata modes, so diffs could report mapping noise. Capture the baseline from the same metadata contract and fail closed on prepare; CLI prefers the mapped path when ID mappings are retained. Co-authored-by: Cursor <[email protected]> * docs: drop leftover CHANGELOG merge markers after #502 Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]>
ZhiXiao-Lin
added a commit
that referenced
this pull request
Sep 18, 2026
) * feat(cli): unlock Compose sandbox TCP publish under keep-authority Admit static TCP ports on Bridge when keep-authority is set, matching CLI/SDK DNAT. Still refuse UDP and host_port=0; does not close B4. Co-authored-by: Cursor <[email protected]> * fix(core): use matches! for keep-authority opt-in Satisfy clippy::match_like_matches_macro so workspace -D warnings CI passes. Co-authored-by: Cursor <[email protected]> * style(cli): rustfmt Compose sandbox published-port error Satisfy cargo fmt --check on the keep-authority publish path. Co-authored-by: Cursor <[email protected]> * fix(runtime): omit false keep-authority in box-owner.json Skip serializing keep_network_device_authority when false so GA owner records keep the legacy field set, and teach local SDK smoke to accept the optional bool. Unblocks Python owner-death evidence after keep- authority started writing false into box-owner.json. Co-authored-by: Cursor <[email protected]> * docs: resolve ROADMAP merge markers after #502 Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
passtrejects unresolvedhost_port=0and invalidport_mapentries instead of silently skipping them.Test plan
passt_tcp_port_specsaccept static maps; reject0:guestand invalid entries