Skip to content

[automated] Merge branch 'release/9.0.3xx' => 'release/10.0.1xx' - #10552

Merged
mthalman merged 15 commits into
release/10.0.1xxfrom
merge/release/9.0.3xx-to-release/10.0.1xx
Oct 29, 2026
Merged

mthalman merged 15 commits into
release/10.0.1xxfrom
merge/release/9.0.3xx-to-release/10.0.1xx

Conversation

@github-actions

Copy link
Copy Markdown

I detected changes in the release/9.0.3xx branch which have not been merged yet to release/10.0.1xx. I'm a robot and am configured to help you automatically keep release/10.0.1xx up to date, so I've opened this PR.

This PR merges commits made on release/9.0.3xx by the following committers:

  • dotnet-release-bot[bot]
  • github-actions[bot]
  • dotnet-maestro[bot]
  • marcpopMSFT

Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, not a squash or rebase commit.

merge button instructions

If this repo does not allow creating merge commits from the GitHub UI, use command line instructions.

Instructions for merging via command line

Run these commands to merge this pull request from the command line.

git fetch
git checkout release/9.0.3xx
git pull --ff-only
git checkout release/10.0.1xx
git pull --ff-only
git merge --no-ff release/9.0.3xx

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/templating HEAD:merge/release/9.0.3xx-to-release/10.0.1xx
or if you are using SSH
git push [email protected]:dotnet/templating HEAD:merge/release/9.0.3xx-to-release/10.0.1xx

After PR checks are complete push the branch

git push

Instructions for resolving conflicts

⚠️ If there are merge conflicts, you will need to resolve them manually before merging. You can do this using GitHub or using the command line.

Instructions for updating this pull request

Contributors to this repo have permission update this pull request by pushing to the branch 'merge/release/9.0.3xx-to-release/10.0.1xx'. This can be done to resolve conflicts or make other changes to this pull request before it is merged.
The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote.

git fetch
git checkout -b merge/release/9.0.3xx-to-release/10.0.1xx origin/release/10.0.1xx
git pull https://github.com/dotnet/templating merge/release/9.0.3xx-to-release/10.0.1xx
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/templating HEAD:merge/release/9.0.3xx-to-release/10.0.1xx
or if you are using SSH
git fetch
git checkout -b merge/release/9.0.3xx-to-release/10.0.1xx origin/release/10.0.1xx
git pull [email protected]:dotnet/templating merge/release/9.0.3xx-to-release/10.0.1xx
(make changes)
git commit -m "Updated PR with my changes"
git push [email protected]:dotnet/templating HEAD:merge/release/9.0.3xx-to-release/10.0.1xx

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues.
Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

marcpopMSFT and others added 13 commits September 17, 2026 00:00
Honor configured NuGet sources during template update

Do not reuse a template package's persisted installation source when checking for or installing updates. This ensures disabled sources remain disabled while preserving explicit sources for normal installs.

Co-authored-by: Copilot <[email protected]>

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix: templates are updated using globally configured NuGet sources instead of the package's stored source, ensuring configured NuGet sources are honored during update and version-check operations.

#### PR Summary
This PR removes the use of a NuGet package's stored source during template update and latest-version checks, ensuring configured NuGet feeds are used instead.
- `NuGetInstaller.cs`: stops passing the stored `NuGetSource` when constructing update `InstallRequest` and when calling `GetLatestVersionAsync`, passing `null` for additional source instead.
- `MockPackageManager.cs`: adds tracking of `LastAdditionalSources` and `LastAdditionalNuGetSource` and support for a fixed download result to enable verifying source usage in tests.
- `NuGetInstallerTests.cs`: adds new tests `Update_RemotePackage_DoesNotUseStoredSource` and `GetLatestVersion_RemotePackage_DoesNotUseStoredSource` verifying that stored/disabled sources are not used during update/version check.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
#### AI description  (iteration 1)
#### PR Classification
New feature enabling NuGet package source mapping support during template package source resolution (dotnet new install).

#### PR Summary
Updates NuGet source selection to respect package source mapping rules and surfaces a dedicated error when no mapping matches, with added unit coverage and localized strings.
- `src/Microsoft.TemplateEngine.Edge/Installers/NuGet/NugetApiPackageManager.cs`: add `LoadNuGetSources(packageIdentifier, additionalSources, settings)` that filters enabled sources via `PackageSourceMapping`, preserves explicit additional sources, and throws `PackageNotFoundException` when mapping yields no sources; update callers and remove old loader.
- `src/Microsoft.TemplateEngine.Edge/Installers/NuGet/Exceptions/PackageNotFoundException.cs`: extend exception with `PackageSourceMappingMatchNotFound` flag to differentiate mapping failures.
- `test/Microsoft.TemplateEngine.Edge.UnitTests/NuGetApiPackageManagerTests.cs`: add comprehensive tests validating mapped source selection, multi-source mapping, disabled sources, mapping-off behavior, and additional-source interactions; add helper to generate a NuGet.config with mapping.
- `test/Microsoft.TemplateEngine.Edge.UnitTests/NuGetInstallerTests.cs`: add test asserting installer returns a specific `PackageNotFound` error message when mapping match is not found.
- `src/Microsoft.TemplateEngine.Edge/xlf/LocalizableStrings*.xlf`: add new localized string key for the package source mapping “no source found” installer error.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->

I didn't test all versions of this PR but I did test this version so included the testing summary here:
_The 9.0.3xx port passed the focused validation.

• Local  Microsoft.TemplateEngine.Edge  build succeeded against the isolated 9.0.318 SDK.
• All 9 package-source-mapping unit tests passed.
• E2E network monitoring confirmed:
• Stock SDK contacted the intentionally unmapped feed 6 times.
• Patched SDK contacted it 0 times for an unmapped package.
• A mapped-package control contacted the feed 6 times, proving the source was selectively filtered rather than globally disabled.
• The 9.0 CLI still displays the generic “package does not exist” message because that CLI layer replaces the detailed Edge error, so network behavior is the reliable E2E assertion._
I detected changes in the release/9.0.1xx branch which have not been
merged yet to release/9.0.3xx. I'm a robot and am configured to help you
automatically keep release/9.0.3xx up to date, so I've opened this PR.

This PR merges commits made on release/9.0.1xx by the following
committers:

* nagilson
* mmitche

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout release/9.0.1xx
git pull --ff-only
git checkout release/9.0.3xx
git pull --ff-only
git merge --no-ff release/9.0.1xx

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/templating HEAD:merge/release/9.0.1xx-to-release/9.0.3xx
```

<details>
<summary>or if you are using SSH</summary>

```
git push [email protected]:dotnet/templating HEAD:merge/release/9.0.1xx-to-release/9.0.3xx
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/release/9.0.1xx-to-release/9.0.3xx'. This
can be done to resolve conflicts or make other changes to this pull
request before it is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/release/9.0.1xx-to-release/9.0.3xx origin/release/9.0.3xx
git pull https://github.com/dotnet/templating merge/release/9.0.1xx-to-release/9.0.3xx
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/templating HEAD:merge/release/9.0.1xx-to-release/9.0.3xx
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/release/9.0.1xx-to-release/9.0.3xx origin/release/9.0.3xx
git pull [email protected]:dotnet/templating merge/release/9.0.1xx-to-release/9.0.3xx
(make changes)
git commit -m "Updated PR with my changes"
git push [email protected]:dotnet/templating HEAD:merge/release/9.0.1xx-to-release/9.0.3xx
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

---------

Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Missy Messa <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Matt Mitchell (.NET) <[email protected]>
Co-authored-by: Noah Gilson <[email protected]>
Co-authored-by: Matt Thalman <[email protected]>
Copilot-Session: ebdb92f2-4575-4676-853d-730c9d062f04
This PR updates version branding on branch `release/9.0.3xx`.

**Changes:**
- Repository: templating
  - PatchVersion: `19` -> `20`

**Files Modified:**
- eng/Versions.props (+2 -3)
This pull request updates the following dependencies

[marker]: <> (Begin:23e5036f-dde2-4273-b797-24e89463f344)
## From https://github.com/dotnet/arcade
- **Subscription**:
[23e5036f-dde2-4273-b797-24e89463f344](https://maestro.dot.net/subscriptions?search=23e5036f-dde2-4273-b797-24e89463f344)
- **Build**:
[20261007.8](https://dev.azure.com/dnceng/internal/_build/results?buildId=3099005)
([335616](https://maestro.dot.net/channel/5175/github:dotnet:arcade/build/335616))
- **Date Produced**: October 8, 2026 1:09:10 AM UTC
- **Commit**:
[ca4c91e56da9ae88fc62578058d8aee531679dba](dotnet/arcade@ca4c91e)
- **Branch**:
[release/9.0](https://github.com/dotnet/arcade/tree/release/9.0)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [9.0.0-beta.26465.6 to 9.0.0-beta.26507.8][2]
     - Microsoft.SourceBuild.Intermediate.arcade
     - Microsoft.DotNet.Arcade.Sdk

[2]: dotnet/arcade@af9ac18...ca4c91e

[DependencyUpdate]: <> (End)


[marker]: <> (End:23e5036f-dde2-4273-b797-24e89463f344)

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Matt Thalman <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Missy Messa <[email protected]>
Co-authored-by: Jacques Eloff <[email protected]>
Co-authored-by: Missy Messa <[email protected]>
Copilot-Session: 054213d9-b693-4b54-9e3e-74f0089634c0
Copilot-Session: 2674c8aa-d140-4e3f-ad93-205dd5a60ecf
I detected changes in the release/9.0.1xx branch which have not been
merged yet to release/9.0.3xx. I'm a robot and am configured to help you
automatically keep release/9.0.3xx up to date, so I've opened this PR.

This PR merges commits made on release/9.0.1xx by the following
committers:

* dotnet-maestro[bot]
* marcpopMSFT
* dotnet-release-bot[bot]
* mthalman
* nagilson
* mmitche
* missymessa

## Instructions for merging from UI

This PR will not be auto-merged. When pull request checks pass, complete
this PR by creating a merge commit, *not* a squash or rebase commit.

<img alt="merge button instructions"
src="https://i.imgur.com/GepcNJV.png" width="300" />

If this repo does not allow creating merge commits from the GitHub UI,
use command line instructions.

## Instructions for merging via command line

Run these commands to merge this pull request from the command line.

``` sh
git fetch
git checkout release/9.0.1xx
git pull --ff-only
git checkout release/9.0.3xx
git pull --ff-only
git merge --no-ff release/9.0.1xx

# If there are merge conflicts, resolve them and then run git merge --continue to complete the merge
# Pushing the changes to the PR branch will re-trigger PR validation.
git push https://github.com/dotnet/templating HEAD:merge/release/9.0.1xx-to-release/9.0.3xx
```

<details>
<summary>or if you are using SSH</summary>

```
git push [email protected]:dotnet/templating HEAD:merge/release/9.0.1xx-to-release/9.0.3xx
```

</details>


After PR checks are complete push the branch
```
git push
```

## Instructions for resolving conflicts

:warning: If there are merge conflicts, you will need to resolve them
manually before merging. You can do this [using GitHub][resolve-github]
or using the [command line][resolve-cli].

[resolve-github]:
https://help.github.com/articles/resolving-a-merge-conflict-on-github/
[resolve-cli]:
https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

## Instructions for updating this pull request

Contributors to this repo have permission update this pull request by
pushing to the branch 'merge/release/9.0.1xx-to-release/9.0.3xx'. This
can be done to resolve conflicts or make other changes to this pull
request before it is merged.
The provided examples assume that the remote is named 'origin'. If you
have a different remote name, please replace 'origin' with the name of
your remote.

```
git fetch
git checkout -b merge/release/9.0.1xx-to-release/9.0.3xx origin/release/9.0.3xx
git pull https://github.com/dotnet/templating merge/release/9.0.1xx-to-release/9.0.3xx
(make changes)
git commit -m "Updated PR with my changes"
git push https://github.com/dotnet/templating HEAD:merge/release/9.0.1xx-to-release/9.0.3xx
```

<details>
    <summary>or if you are using SSH</summary>

```
git fetch
git checkout -b merge/release/9.0.1xx-to-release/9.0.3xx origin/release/9.0.3xx
git pull [email protected]:dotnet/templating merge/release/9.0.1xx-to-release/9.0.3xx
(make changes)
git commit -m "Updated PR with my changes"
git push [email protected]:dotnet/templating HEAD:merge/release/9.0.1xx-to-release/9.0.3xx
```

</details>

Contact .NET Core Engineering (dotnet/dnceng) if you have questions or
issues.
Also, if this PR was generated incorrectly, help us fix it. See
https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.

---------

Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Missy Messa <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Matt Mitchell (.NET) <[email protected]>
Co-authored-by: Noah Gilson <[email protected]>
Co-authored-by: Matt Thalman <[email protected]>
Co-authored-by: dotnet-release-bot[bot] <280112824+dotnet-release-bot[bot]@users.noreply.github.com>
Co-authored-by: Marc Paine <[email protected]>
Co-authored-by: Jacques Eloff <[email protected]>
Copilot-Session: ebdb92f2-4575-4676-853d-730c9d062f04
Inject deterministic update metadata while retaining the real Bootstrapper, NuGet installer, and package settings persistence. Assert successful update checks and unchanged installed versions.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 83168eec-3065-446c-bef7-6df6aa17014f
This PR updates version branding on branch `release/9.0.3xx`.

**Changes:**
- Repository: templating
  - PatchVersion: `20` -> `21`

**Files Modified:**
- eng/Versions.props (+2 -3)

Co-authored-by: dotnet-release-bot[bot] <280112824+dotnet-release-bot[bot]@users.noreply.github.com>
@github-actions
github-actions Bot requested a review from a team as a code owner October 20, 2026 17:32
mmitche and others added 2 commits October 20, 2026 10:42
Co-authored-by: Marc Paine <[email protected]>
Co-authored-by: Mirroring <[email protected]>
Co-authored-by: dotnet-bot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 83168eec-3065-446c-bef7-6df6aa17014f
Keep the target branch toolchain, versioning, Helix infrastructure, and assertion library while retaining the incoming NuGet package-source mapping changes and their test dependencies.

Co-authored-by: Copilot App <[email protected]>
@marcpopMSFT

Copy link
Copy Markdown
Member

@mthalman this is bringing up changes that should have come from the VMR internal to public merge and then backflow. Are we missing that backflow PR?

@mthalman

Copy link
Copy Markdown
Member

I don't see any internal merge PRs for this repo.

@marcpopMSFT

Copy link
Copy Markdown
Member

@mthalman the internal to public merge happens in the VMR for 10+ so this PR: dotnet/dotnet#10186 should have the changes from the internal fixes and then flow back to 10.0.1xx and theoretically match what's in this interbranch flow... Not sure why we don't have an open 10.0.1xx backflow from the VMR with those changes.

@mthalman
mthalman merged commit 212fd4d into release/10.0.1xx Oct 29, 2026
9 checks passed
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.

7 participants