Skip to content

Add 0.8 one-shot configuration adapter - #910

Open
Gudge (MGudgin) wants to merge 1 commit into
user/gudge/version_specific_config_parsers_phase5afrom
user/gudge/version_specific_config_parsers_phase5b
Open

Add 0.8 one-shot configuration adapter#910
Gudge (MGudgin) wants to merge 1 commit into
user/gudge/version_specific_config_parsers_phase5afrom
user/gudge/version_specific_config_parsers_phase5b

Conversation

@MGudgin

@MGudgin Gudge (MGudgin) commented Aug 14, 2026

Copy link
Copy Markdown
Member

This PR adds the mutable 0.8.0-alpha one-shot configuration adapter.

Details

  • Maps the complete stable-candidate and closed experimental one-shot contracts into the current wire model.
  • Preserves compatibility aliases, development containment values, denial capture, Windows Sandbox, WSLC, telemetry, and one-shot exclusions.
  • Adds expected-wire and current-wire equivalence tests organized by the future publication boundary.

Tests

  • cargo fmt --all -- --check
  • cargo check -p wxc_common --all-targets
  • cargo clippy -p wxc_common --all-targets -- -D warnings
  • cargo test -p mxc_config_contract (324 tests passed)
  • cargo test -p wxc_common (696 tests passed, 1 ignored)
  • $env:RUSTDOCFLAGS='-D missing-docs'; cargo doc -p mxc_config_contract --no-deps
  • git diff --check origin/main..HEAD
Microsoft Reviewers: Open in CodeFlow

@MGudgin
Gudge (MGudgin) requested a review from a team as a code owner August 14, 2026 20:50
@azure-pipelines

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

This PR adds the mutable 0.8.0-alpha one-shot configuration adapter.

Details

* Map the complete stable-candidate and closed experimental one-shot contracts
  into the current wire model.
* Preserve compatibility aliases, development containment values, denial
  capture, Windows Sandbox, WSLC, telemetry, and one-shot exclusions.
* Add expected-wire and current-wire equivalence tests organized by the future
  publication boundary.

Tests

* `cargo fmt --all -- --check`
* `cargo check -p wxc_common --all-targets`
* `cargo clippy -p wxc_common --all-targets -- -D warnings`
* `cargo test -p mxc_config_contract` (324 tests passed)
* `cargo test -p wxc_common` (696 tests passed, 1 ignored)
* `$env:RUSTDOCFLAGS='-D missing-docs'; cargo doc -p mxc_config_contract --no-deps`
* `git diff --check origin/main..HEAD`

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 14, 2026 21:38
@MGudgin
Gudge (MGudgin) force-pushed the user/gudge/version_specific_config_parsers_phase5b branch from 368cd73 to 90915db Compare August 14, 2026 21:38

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

Adds the mutable 0.8.0-alpha one-shot contract adapter to the current wire model.

Changes:

  • Maps stable, experimental, compatibility-alias, and development containment fields.
  • Adds expected-value and current-wire equivalence tests.
  • Registers the development adapter module for later dispatch integration.
Show a summary per file
File Description
config_contract_adapters/mod.rs Registers the development adapter.
dev/mod.rs Exposes the one-shot adapter module.
dev/one_shot.rs Implements contract-to-wire conversion.
one_shot_tests/mod.rs Organizes adapter tests.
one_shot_tests/common.rs Provides shared test helpers.
one_shot_tests/stable_candidate.rs Tests stable fields and aliases.
one_shot_tests/experimental.rs Tests experimental fields and containments.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 7/7 changed files
  • Comments generated: 0
  • Review effort level: Balanced

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.

2 participants