Add 0.8 one-shot configuration adapter - #910
Open
Gudge (MGudgin) wants to merge 1 commit into
Open
Conversation
|
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>
Gudge (MGudgin)
force-pushed
the
user/gudge/version_specific_config_parsers_phase5b
branch
from
August 14, 2026 21:38
368cd73 to
90915db
Compare
Contributor
There was a problem hiding this comment.
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
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.
This PR adds the mutable
0.8.0-alphaone-shot configuration adapter.Details
Tests
cargo fmt --all -- --checkcargo check -p wxc_common --all-targetscargo clippy -p wxc_common --all-targets -- -D warningscargo 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-depsgit diff --check origin/main..HEADMicrosoft Reviewers: Open in CodeFlow