Skip to content

Phase 3b: raise the schema support floor to 0.6.0#581

Merged
MGudgin merged 1 commit into
mainfrom
user/gudge/versioning_phase3b_schema_floor
Jul 13, 2026
Merged

Phase 3b: raise the schema support floor to 0.6.0#581
MGudgin merged 1 commit into
mainfrom
user/gudge/versioning_phase3b_schema_floor

Conversation

@MGudgin

@MGudgin MGudgin commented Jun 26, 2026

Copy link
Copy Markdown
Member

This commit raises the minimum accepted configuration schema version to
0.6.0-alpha while retaining support through 0.8.0-alpha.

Details:

  • Updates Rust parser and SDK validation to reject 0.4.0-alpha and
    0.5.0-alpha as older than supported.
  • Updates the configuration corpus, smoke scripts, tooling, and
    documentation to use supported schema versions.
  • Preserves released schema artifacts as immutable files.

Test:

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test -p wxc_common
  • npm run build and npm test
  • Versioning code-generation and schema checks

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Generated-By: Claude Opus 4.8 (claude-opus-4.8)

@MGudgin MGudgin requested a review from a team as a code owner June 26, 2026 20:12
Comment thread docs/schema.md
Comment thread src/core/wxc_common/src/config_parser.rs Outdated
@MGudgin MGudgin force-pushed the user/gudge/versioning_phase3a_decouple_backend branch from b1085ad to 5b052ba Compare July 7, 2026 14:29
@MGudgin MGudgin force-pushed the user/gudge/versioning_phase3b_schema_floor branch 2 times, most recently from 7b6d1b2 to 9b0c585 Compare July 9, 2026 16:33
@MGudgin MGudgin force-pushed the user/gudge/versioning_phase3a_decouple_backend branch 2 times, most recently from 1f56d9e to 6548b10 Compare July 10, 2026 23:07
@MGudgin MGudgin force-pushed the user/gudge/versioning_phase3b_schema_floor branch from 9b0c585 to 0a8bfd4 Compare July 10, 2026 23:19
Base automatically changed from user/gudge/versioning_phase3a_decouple_backend to main July 10, 2026 23:21
@MGudgin MGudgin force-pushed the user/gudge/versioning_phase3b_schema_floor branch 5 times, most recently from 20108c6 to 264f41e Compare July 10, 2026 23:41
Copilot AI review requested due to automatic review settings July 11, 2026 00:00
@MGudgin MGudgin force-pushed the user/gudge/versioning_phase3b_schema_floor branch from 264f41e to e2e6e56 Compare July 11, 2026 00:00

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

Raises MXC’s minimum accepted config/policy schema version to 0.6.0-alpha (supporting through 0.8.0-alpha), and updates the repo’s config corpus, SDK, parser tests, and documentation to align with the new floor while keeping released stable schemas immutable.

Changes:

  • Bumps Rust parser schema acceptance range from >=0.4 to >=0.6 and updates associated unit tests.
  • Updates SDK min-version validation and adjusts unit/integration tests to use 0.6.0-alpha+.
  • Refreshes example configs, test configs/scripts, and docs to remove 0.4.0-alpha / 0.5.0-alpha usage as “supported”.
Show a summary per file
File Description
tests/scripts/WinProcessContainer-Tests.ps1 Updates generated config version to 0.6.0-alpha.
tests/scripts/T3-Workloads.ps1 Updates generated config version to 0.6.0-alpha.
tests/scripts/run_isolation_session_resize_smoke.ps1 Updates smoke config version to 0.6.0-alpha.
tests/examples/wslc_hello_world.json Updates example config version to 0.6.0-alpha.
tests/examples/13_lxc_network_restricted.json Updates example config version to 0.6.0-alpha.
tests/examples/12_lxc_filesystem_access.json Updates example config version to 0.6.0-alpha.
tests/examples/12_builtin_test_proxy_processcontainer.json Updates example config version to 0.6.0-alpha.
tests/examples/11_lxc_hello_world.json Updates example config version to 0.6.0-alpha.
tests/examples/11_localhost_proxy_processcontainer.json Updates example config version to 0.6.0-alpha.
tests/examples/10_windows_sandbox_network_isolated.json Updates example config version to 0.6.0-alpha.
tests/examples/09_windows_sandbox_hello_world.json Updates example config version to 0.6.0-alpha.
tests/examples/08_pwsh.json Updates example config version to 0.6.0-alpha.
tests/examples/07_test_delete.json Updates example config version to 0.6.0-alpha.
tests/examples/06_network_capabilities_only.json Updates example config version to 0.6.0-alpha.
tests/examples/05_custom_python.json Updates example config version to 0.6.0-alpha.
tests/examples/04_combined_restrictions.json Updates example config version to 0.6.0-alpha.
tests/examples/03_network_restricted.json Updates example config version to 0.6.0-alpha.
tests/examples/02_filesystem_access.json Updates example config version to 0.6.0-alpha.
tests/examples/01_hello_world.json Updates example config version to 0.6.0-alpha.
tests/configs/wslc_timeout.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_tar_import_rootfs.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_tar_import_docker_save.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_stderr.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_readonly_mount.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_python_stdlib.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_python_hello.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_network_isolated.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_large_output.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_filesystem.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_exit_code.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_env_vars.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_custom_registry.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_custom_registry_quay.json Updates test config version to 0.6.0-alpha.
tests/configs/wslc_custom_registry_ghcr.json Updates test config version to 0.6.0-alpha.
tests/configs/with_capabilities.json Updates test config version to 0.6.0-alpha.
tests/configs/windows_sandbox_custom_timeout.json Updates test config version to 0.6.0-alpha.
tests/configs/pwsh_setlocation.json Updates test config version to 0.6.0-alpha.
tests/configs/proxy_builtin_test.json Updates test config version to 0.6.0-alpha.
tests/configs/network_firewall_test.json Updates test config version to 0.6.0-alpha.
tests/configs/network_default_test.json Updates test config version to 0.6.0-alpha.
tests/configs/network_capabilities_test.json Updates test config version to 0.6.0-alpha.
tests/configs/network_both_test.json Updates test config version to 0.6.0-alpha.
tests/configs/lxc_timeout.json Updates test config version to 0.6.0-alpha.
tests/configs/lxc_network_test.json Updates test config version to 0.6.0-alpha.
tests/configs/lxc_filesystem_test.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_timeout.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_streaming_smoke.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_stdout_stderr_interleaved.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_stderr.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_powershell_interactive.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_one_shot_user_rejected.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_hello.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_hello_medium.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_filtered.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_filesystem.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_exit42.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_concurrent_D.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_concurrent_C.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_concurrent_B.json Updates test config version to 0.6.0-alpha.
tests/configs/isolation_session_concurrent_A.json Updates test config version to 0.6.0-alpha.
tests/configs/hello_world_v060.json Renames/updates hello-world sample to 0.6.0-alpha identifiers/messages.
tests/configs/filesystem_bfs_test.json Updates test config version to 0.6.0-alpha.
tests/configs/filesystem_bfs_spaces_test.json Updates test config version to 0.6.0-alpha.
tests/configs/filesystem_bfs_readonly_test.json Updates test config version to 0.6.0-alpha.
tests/configs/experimental_hello_processcontainer.json Updates experimental test config version to 0.6.0-alpha.
tests/configs/experimental_hello_lxc.json Updates experimental test config version to 0.6.0-alpha.
tests/configs/basic_windows_sandbox.json Updates basic test config version to 0.6.0-alpha.
tests/configs/basic_processcontainer.json Updates basic test config version to 0.6.0-alpha.
tests/configs/basic_permissive.json Updates basic test config version to 0.6.0-alpha.
tests/configs/basic_lxc.json Updates basic test config version to 0.6.0-alpha.
tests/configs/basic_lpac.json Updates basic test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/12_system_settings_allowed.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/11_system_settings_blocked.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/10_no_ui_default_deny.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/09_desktop_control_blocked.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/08_isolation_desktop.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/07_isolation_container.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/06_clip_all_both.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/05_clip_write_allowed.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/04_clip_read_write_blocked.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/03_clip_read_allowed.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/02_clip_none_write_blocked.json Updates UI test config version to 0.6.0-alpha.
tests/configs/base_container_ui_configs/01_disable_true.json Updates UI test config version to 0.6.0-alpha.
src/core/wxc_common/src/config_parser.rs Raises supported schema range to >=0.6, <=0.8 and updates version-bound tests.
sdk/tests/unit/sandbox.test.ts Updates unit tests to use 0.6.0-alpha and asserts rejection for 0.5.0-alpha.
sdk/tests/integration/wslc-e2e.test.ts Updates WSLC integration tests to 0.6.0-alpha.
sdk/tests/integration/test-helpers.ts Updates integration helper supported version list to 0.60.8.
sdk/tests/integration/microvm-filesystem.test.ts Updates MicroVM integration tests to 0.6.0-alpha.
sdk/tests/integration/macos-seatbelt.test.ts Updates seatbelt integration test schema version/comment to the new floor.
sdk/src/sandbox.ts Raises SDK MIN_VERSION to 0.6.0-alpha and updates examples in docs/comments.
sdk/src/index.ts Updates usage example policy version to 0.6.0-alpha.
sdk/README.md Updates documented versions table and examples to 0.6.0-alpha (but contains a table typo).
scripts/versioning/check-schema-versions.js Updates comments/examples to the new supported version range.
schemas/schema-version.json Raises canonical schema min to 0.6.0-alpha.
docs/wsl/wsl-container-getting-started.md Updates doc snippet to 0.6.0-alpha.
docs/windows-sandbox/windows-sandbox.md Updates config example version to 0.6.0-alpha.
docs/versioning.md Updates examples/diagrams to 0.6.0-alpha.
docs/schema.md Updates schema overview and version-acceptance table for the new range.
docs/sandbox-policy/v1/policy.md Updates policy examples to use 0.6.0-alpha.
docs/playground-limitations.md Updates stated supported versions and platform table to 0.6+.
docs/isolation-session/initial-bringup-plan.md Updates JSON examples to 0.6.0-alpha.
docs/authoring-a-new-feature.md Updates template config version to 0.6.0-alpha.
.github/copilot-instructions.md Updates contributor guidance to reflect the new policy version floor.

Review details

  • Files reviewed: 103/103 changed files
  • Comments generated: 1
  • Review effort level: Low

Comment thread sdk/README.md Outdated
@MGudgin MGudgin force-pushed the user/gudge/versioning_phase3b_schema_floor branch from e2e6e56 to a63ff7a Compare July 11, 2026 00:06
This commit raises the minimum accepted configuration schema version to
0.6.0-alpha while retaining support through 0.8.0-alpha.

Details:
- Updates Rust parser and SDK validation to reject 0.4.0-alpha and
  0.5.0-alpha as older than supported.
- Updates the configuration corpus, smoke scripts, tooling, and
  documentation to use supported schema versions.
- Preserves released schema artifacts as immutable files.

Test:
- cargo fmt --all -- --check
- cargo clippy --workspace --all-targets -- -D warnings
- cargo test -p wxc_common
- npm run build and npm test
- Versioning code-generation and schema checks

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Generated-By: Claude Opus 4.8 (claude-opus-4.8)
@MGudgin MGudgin force-pushed the user/gudge/versioning_phase3b_schema_floor branch from a63ff7a to 2376bf6 Compare July 11, 2026 04:05
@MGudgin MGudgin changed the title Phase 3b: raise the schema floor to 0.6.0-alpha, retire 0.4.0/0.5.0 Phase 3b: raise the schema support floor to 0.6.0 Jul 11, 2026
@MGudgin MGudgin merged commit 822cda6 into main Jul 13, 2026
22 checks passed
@MGudgin MGudgin deleted the user/gudge/versioning_phase3b_schema_floor branch July 13, 2026 16:18
caarlos0 added a commit to caarlos0/mxc that referenced this pull request Jul 13, 2026
Integrate 4 upstream commits (Windows Sandbox Phase 0 plumbing, schema
floor raise to 0.6.0 (microsoft#581), ProcessContainer/schema decoupling (microsoft#580),
mxc_telemetry license fix).

Resolve the sole conflict in sdk/tests/unit/sandbox.test.ts: keep this
branch's "should accept proxy configuration on macOS (Seatbelt)" test
(proxy accepted, version 0.7.0-alpha) over upstream's stale "not
supported on macOS" assertion, since this branch adds the Seatbelt
proxy support. 0.7.0-alpha remains within the raised 0.6.0-0.8.0 range.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d3191c12-2deb-452b-8379-3abbcd5eeb68
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
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