Repository navigation
Stop publishing previews to Azure Linux 4 - #28324
Merged
Justin Chung (jshigetomi) merged 1 commit intoNov 4, 2026
Merged
Justin Chung (jshigetomi) merged 1 commit into
Justin Chung (jshigetomi) merged 1 commit into
Conversation
…ure Linux 4 <!-- Anything that looks like this is a comment and can't be seen after the Pull Request is created. --> # PR Summary <!-- Summarize your PR between here and the checklist. --> - Remove the x64 and ARM64 Azure Linux 4 mappings for the `preview` PMC channel. - Preserve both Azure Linux 4 mappings for the `stable` PMC channel. - Update the packaging tests to assert that preview releases do not map to Azure Linux 4 repositories. ## PR Context <!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. --> PowerShell preview and RC release tags select mappings with `channel: preview`. Azure Linux 4 should not receive preview PowerShell packages, so this removes only those two routing entries from `release/v7.7.0-rc.1`; stable publication remains unchanged. Validation: - `Invoke-Pester` for `test/packaging/packaging.tests.ps1`: passed 22 tests, failed 0. - PowerShell parser check for the changed test file: passed with 0 errors. - `git diff --check`: passed. ## PR Checklist - [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission) - Use the present tense and imperative mood when describing your changes - [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission) - [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission) - [x] This PR is ready to merge. If this PR is a work in progress, please open this as a [Draft Pull Request and mark it as Ready to Review when it is ready to merge](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-a-pull-request/about-pull-requests#draft-pull-requests). - **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)** - [x] None - **OR** - [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Core/About/about_Experimental_Features.md) - [ ] Experimental feature name(s): - **User-facing changes** - [x] Not Applicable - **OR** - [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission) - [ ] Issue filed: - **Testing - New and feature** - [ ] N/A or can only be tested interactively - **OR** - [x] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting) ---- #### AI description (iteration 1) #### PR Classification Removal of unused/deprecated package mappings, a cleanup/configuration change to stop publishing preview packages to Azure Linux 4. #### PR Summary This PR removes the preview...
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the change removing Azure Linux 4 preview mappings while preserving stable publication.
No open issues 🎉
What changed in this PR
Stops publishing PowerShell preview and RC packages to Azure Linux 4 through packages.microsoft.com, while preserving stable publication for x64 and ARM64.
Changes:
- Removes the two Azure Linux 4 preview-channel mappings.
- Updates packaging tests to retain stable-mapping checks and assert that no preview mappings target Azure Linux 4.
| File | Description |
|---|---|
tools/packages.microsoft.com/mapping.json |
Removes Azure Linux 4 preview routing for both architectures. |
test/packaging/packaging.tests.ps1 |
Verifies stable mappings remain and preview mappings are absent. |
Review effort: Balanced
Aditya Patwardhan (adityapatwardhan)
approved these changes
Nov 4, 2026
Justin Chung (jshigetomi)
merged commit Nov 4, 2026
519b7c1
into
PowerShell:master
41 of 42 checks passed
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.
PR Summary
previewPMC channel.stablePMC channel.PR Context
PowerShell preview and RC release tags select mappings with
channel: preview. Azure Linux 4 should not receive preview PowerShell packages, so this ports commit89c0f930c4e94726946f635b2f2c0602f4751318tomasterand removes only those two routing entries. Stable publication remains unchanged.Validation:
pwsh -NoLogo -NoProfile -Command '& { $result = Invoke-Pester -Path ''./test/packaging/packaging.tests.ps1'' -PassThru; if ($result.FailedCount -gt 0) { exit 1 } }': passed 22 tests; failed 0, skipped 0.pwsh -NoLogo -NoProfile -Command '& { $tokens = $null; $errors = $null; [System.Management.Automation.Language.Parser]::ParseFile((Resolve-Path ''./test/packaging/packaging.tests.ps1''), [ref]$tokens, [ref]$errors) > $null; if ($errors.Count -ne 0) { $errors | Format-List; exit 1 }; ''Parser errors: 0'' }': passed with 0 parser errors.git diff --check origin/master...HEAD: passed.PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright header