Skip to content

Revert "Bring network wire schema to full GA spec" (PR676) - #707

Merged
MGudgin merged 1 commit into
mainfrom
user/gudge/revert_network_schema_changes
Jul 29, 2026
Merged

Revert "Bring network wire schema to full GA spec" (PR676)#707
MGudgin merged 1 commit into
mainfrom
user/gudge/revert_network_schema_changes

Conversation

@MGudgin

@MGudgin MGudgin commented Jul 29, 2026

Copy link
Copy Markdown
Member

This reverts commit dd14f80 (PR #676)

Microsoft Reviewers: Open in CodeFlow

Copilot AI review requested due to automatic review settings July 29, 2026 19:40
@MGudgin
MGudgin requested a review from a team as a code owner July 29, 2026 19:40
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@MGudgin MGudgin changed the title Revert "Bring network wire schema to full GA spec (wire.rs + config f… Revert "Bring network wire schema to full GA spec" (PR676) Jul 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reverts the incomplete GA network schema migration, restoring the legacy network contract and associated test coverage.

Changes:

  • Restores legacy network and proxy models, parser behavior, generated schema, and SDK types.
  • Restores legacy networking fixtures across supported backends.
  • Re-enables previously deferred tests and SDK integration testing.
Show a summary per file
File Description
tests/examples/wslc_hello_world.json Restores legacy default-deny policy.
tests/examples/27_mac_terminal_sandboxed.json Restores legacy default-deny policy.
tests/examples/25_mac_ui_clipboard_enabled.json Restores legacy default-deny policy.
tests/examples/24_mac_ui_disabled.json Restores legacy default-deny policy.
tests/examples/23_mac_blocked_hosts_unsupported.json Restores legacy blocked-host example.
tests/examples/22_mac_network_allow_all.json Restores legacy allow-all policy.
tests/examples/21_mac_python_info.json Restores legacy default-deny policy.
tests/examples/20_mac_combined_restrictions.json Restores hostname allowlist.
tests/examples/19_mac_network_restricted.json Restores hostname allowlist.
tests/examples/18_mac_filesystem_access.json Restores legacy default-deny policy.
tests/examples/17_mac_deny_filesystem.json Restores legacy default-deny policy.
tests/examples/16_mac_deny_network.json Restores legacy default-deny policy.
tests/examples/15_mac_hello_world.json Restores legacy default-deny policy.
tests/examples/13_lxc_network_restricted.json Restores LXC firewall configuration.
tests/examples/12_builtin_test_proxy_processcontainer.json Restores built-in proxy configuration.
tests/examples/11_localhost_proxy_processcontainer.json Restores localhost proxy configuration.
tests/examples/06_network_capabilities_only.json Restores capability enforcement settings.
tests/examples/04_combined_restrictions.json Restores combined network restrictions.
tests/examples/03_network_restricted.json Restores firewall host filtering.
tests/configs/wslc_timeout.json Restores legacy default-deny policy.
tests/configs/wslc_tar_import_rootfs.json Restores legacy default-deny policy.
tests/configs/wslc_tar_import_docker_save.json Restores legacy default-deny policy.
tests/configs/wslc_stderr.json Restores legacy default-deny policy.
tests/configs/wslc_readonly_mount.json Restores legacy default-deny policy.
tests/configs/wslc_python_stdlib.json Restores legacy default-deny policy.
tests/configs/wslc_python_hello.json Restores legacy default-deny policy.
tests/configs/wslc_port_mapping_tcp.json Restores allow-all policy.
tests/configs/wslc_port_mapping_multiple.json Restores allow-all policy.
tests/configs/wslc_network_isolated.json Restores legacy default-deny policy.
tests/configs/wslc_most_specific_denied_parent.json Restores allow-all policy.
tests/configs/wslc_large_output.json Restores legacy default-deny policy.
tests/configs/wslc_filesystem.json Restores allow-all policy.
tests/configs/wslc_filesystem_object.json Restores allow-all policy.
tests/configs/wslc_exit_code.json Restores legacy default-deny policy.
tests/configs/wslc_env_vars.json Restores legacy default-deny policy.
tests/configs/wslc_destroy_on_exit_true.json Restores legacy default-deny policy.
tests/configs/wslc_destroy_on_exit_false.json Restores legacy default-deny policy.
tests/configs/wslc_denied_masking.json Restores allow-all policy.
tests/configs/wslc_denied_dotdot_alias.json Restores allow-all policy.
tests/configs/wslc_custom_registry.json Restores allow-all policy.
tests/configs/wslc_custom_registry_quay.json Restores allow-all policy.
tests/configs/wslc_custom_registry_ghcr.json Restores allow-all policy.
tests/configs/proxy_builtin_test.json Restores built-in proxy configuration.
tests/configs/processcontainer_network_unc_blocked.json Restores capability-based blocking.
tests/configs/processcontainer_network_tcp_blocked.json Restores capability-based blocking.
tests/configs/processcontainer_network_icmp_blocked.json Restores capability-based blocking.
tests/configs/processcontainer_network_dns_blocked.json Restores capability-based blocking.
tests/configs/network_firewall_test.json Restores firewall host filtering.
tests/configs/network_default_test.json Restores default host filtering.
tests/configs/network_capabilities_test.json Restores capability host filtering.
tests/configs/network_both_test.json Restores combined enforcement.
tests/configs/microvm_network.json Restores legacy allow-all policy.
tests/configs/microvm_network_linux.json Restores legacy allow-all policy.
tests/configs/lxc_network_test.json Restores LXC host rules.
tests/configs/hyperlight_networking.json Restores Hyperlight allowlist.
tests/configs/hyperlight_networking_blocked.json Restores Hyperlight allowlist.
tests/configs/bubblewrap_network_proxy_builtin.json Restores Bubblewrap built-in proxy.
tests/configs/bubblewrap_network_proxy_blocklist.json Restores proxy blocklist.
tests/configs/bubblewrap_network_proxy_allowlist.json Restores proxy allowlist.
tests/configs/bubblewrap_network_firewall.json Restores firewall host rules.
tests/configs/bubblewrap_network_block.json Restores default-deny policy.
src/testing/wxc_e2e_tests/tests/e2e_windows.rs Re-enables networking E2E cases.
src/testing/wxc_e2e_tests/tests/e2e_seatbelt_characterization.rs Re-enables Seatbelt proxy test.
src/core/wxc_common/src/wire.rs Restores legacy wire network model.
src/core/wxc_common/src/models.rs Removes unused GA egress models.
src/core/wxc_common/src/config_parser.rs Restores legacy network parsing and tests.
src/core/mxc_engine/src/policy.rs Re-enables policy tests.
src/core/mxc_engine/src/dispatch.rs Re-enables dispatch tests.
sdk/node/tests/unit/wire-conformance.test.ts Restores legacy conformance assertions.
sdk/node/src/generated/wire.ts Regenerates legacy wire types.
schemas/dev/mxc-config.schema.0.8.0-dev.json Restores legacy generated schema.
.github/workflows/SDK.Integration.Test.Job.yml Re-enables SDK integration tests.

Review details

  • Files reviewed: 71/72 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment thread src/core/wxc_common/src/config_parser.rs
Comment thread src/core/wxc_common/src/config_parser.rs
@MGudgin
MGudgin merged commit da193b5 into main Jul 29, 2026
23 checks passed
@MGudgin
MGudgin deleted the user/gudge/revert_network_schema_changes branch July 29, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants