Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Signed-off-by: Kuromesi <blackfacepan@163.com>
Signed-off-by: Kuromesi <blackfacepan@163.com>
Signed-off-by: Kuromesi <blackfacepan@163.com>
Remove legacy Authorization models and matching, and keep TrafficPolicy evaluation and change notifications in the native policy path. Load local Sandbox and TrafficPolicy configurations directly into internal models, preserving validation and atomic snapshot replacement. Validation: 131 focused library tests passed; cargo fmt --all -- --check; git diff --check. Signed-off-by: Kuromesi <blackfacepan@163.com>
Kuromesi
force-pushed
the
codex/sandbox-prepare
branch
from
September 17, 2026 03:51
ac294d5 to
4dfb189
Compare
This reverts commit cf60034.
Signed-off-by: Kuromesi <blackfacepan@163.com>
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.
Add Sandbox discovery, traffic metadata, egress routing, and native TrafficPolicy enforcement to ztunnel. With
ENABLE_SANDBOX_MANAGER=true, the existing ADS stream watches Sandbox resources independently of Workload on-demand mode. An empty pool does not block proxy readiness.agentio.sandboxandagentio.securityresources into validated, immutable Sandbox snapshots indexed by Workload UID. Invalid updates retain the last accepted snapshot and binding.x-agentio-sandbox-idheader, and partition HBONE pools by that optional ID. Token lookup remains independent of Sandbox IDs.Discovery remains asynchronous: this does not add a startup enforcement barrier. Selection currently uses the first Sandbox per Workload; per-connection attribution among simultaneous Sandboxes in one Pod is future work. Existing non-TCP conntrack entries are not flushed by policy updates.
Control-plane compatibility: the server must publish
type.googleapis.com/agentio.sandbox.Sandbox, understand initial empty wildcard subscriptions, and deliver policies in ascending priority order. Agentio PR #73 aligns ordering, subscription, and Pod-binding behavior; matching protobuf package/type URLs are also required.Validation:
cargo fmt --checkandgit diff --checkpassed.cargo test --locked --offline --lib sandbox -- --test-threads=2: 40 tests passed, covering discovery/reconnect, validation, routing, metadata, pool isolation, native policy matching, firewall conversion, and TCP rechecks.cargo clippy --locked --offline --lib --binscompleted successfully with warnings.