Improve multi-source matching and add interactive selection - #6577
Merged
AmirMS (AmelBawa-msft) merged 3 commits intoOct 2, 2026
Merged
Conversation
## 📖 Description Promotes source priority to a regular feature by removing experimental gating from CLI and DSC workflows and retiring the `experimentalFeatures.sourcePriority` setting. Uses the existing commands and options. Default priorities, selection rules, and tie handling are unchanged. Updates documentation, release notes, and regression coverage. REST filtering, interactive resolution, and heuristic deduplication remain out of scope for this PR. ## 🔗 References - Related to #5345 — source-priority workstream only. - Builds on #6029. ## 🔍 Validation - Built the CLI, native tests, and E2E test project. - Passed **43 native test cases with 792 assertions**, covering priority ordering, ties, negative values, argument boundaries, disabled experimental-feature policy, source output, and DSC source operations. - Passed CLI smoke checks for `source add --help`, `source edit --help`, `features`, and `dscv3 source --schema`. ## ✅ Checklist - [ ] Signed the [Contributor License Agreement](https://cla.opensource.microsoft.com) - [x] Linked to an issue - [x] Updated [Release Notes](../doc/ReleaseNotes.md) (if applicable) - [x] Updated documentation (if applicable) - [ ] Updated [Copilot instructions](.github/copilot-instructions.md) (if build, architecture, or conventions changed) — not applicable ## 📋 Issue Type - [ ] Bug fix - [x] Feature - [ ] Task ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/6509) --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
JohnMcPMS
force-pushed
the
user/amelbawa/multi-source-integration
branch
2 times, most recently
from
October 2, 2026 20:53
a7e55de to
af42027
Compare
JohnMcPMS
approved these changes
Oct 2, 2026
Flor Chacón (florelis)
approved these changes
Oct 2, 2026
AmirMS (AmelBawa-msft)
deleted the
user/amelbawa/multi-source-integration
branch
October 2, 2026 23:13
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.
📖 Description
Improve package matching across sources and let users resolve remaining ambiguity without restarting their command.
install,show,show --versions, anddownloadcommands. It is disabled by default; opt in withexperimentalFeatures.interactivePackageSelection. Enter0or press Ctrl+C to cancel.Source priority is applied before prompting. Redirected, noninteractive, and multi-package callers do not prompt. Additional manifest fetches for validation are limited to complete source result sets of at most three packages.
🔗 References
Resolves #2966 (multiple filters not applied).
Related to #3547, #6297, and #5345. Automatic installer-hash deduplication requested by #5345 is not included.
Integrates #6509, #6514, and #6575.
🔍 Validation
Validated
af420278:Runtime E2E and VM tests were not run for this integration. The demos below are from the individual feature PRs.
REST filtering (#6514)
Interactive package selection (#6575)
✅ Checklist
🤖 AI Assistance
AI assistance was used for implementation, tests, documentation, review, and validation.
📋 Issue Type
Microsoft Reviewers: Open in CodeFlow