Skip to content

Merging internal commits for release/10.0.1xx - #7155

Merged
wtgodbe merged 159 commits into
dotnet:release/10.0.1xxfrom
vseanreesermsft:internal-merge-10.0.1xx-2026-06-09-1509
Jun 11, 2026
Merged

wtgodbe merged 159 commits into
dotnet:release/10.0.1xxfrom
vseanreesermsft:internal-merge-10.0.1xx-2026-06-09-1509

Conversation

@vseanreesermsft

Copy link
Copy Markdown

No description provided.

Mirroring and others added 30 commits March 26, 2026 09:54
…xtentedAttributes size in TarHeader

Adds check for the "size" attribute in the ExdendedAttributes section of a tar file to prevent infinite loop with negative size. Follows the same throw logic for TarHeader's size.

The negative sized tar file cannot be reproduced using .NET, hence the lack of tests.

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix to harden TAR parsing by rejecting negative sizes read from PAX extended attributes.

#### PR Summary
Adds validation when reading the PAX `size` extended attribute to prevent negative values from being accepted and to fail fast with a clear error.
- `src/runtime/src/libraries/System.Formats.Tar/src/System/Formats/Tar/TarHeader.Read.cs`: Throw `InvalidDataException` when the parsed extended attribute size is negative before assigning `_size`.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
vseanreesermsft and others added 10 commits May 15, 2026 13:08
Updated TestUtils.cs

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix: Adjusts the log level for a cache-related warning message to reduce log noise.

#### PR Summary
This pull request changes the log level of `RequestContainsInvalidCacheSymbols` from Warning to Debug in the response caching middleware test utilities, treating invalid cache symbols as a debug-level concern rather than a warning.

- `TestUtils.cs`: Changed `RequestContainsInvalidCacheSymbols` log level from `LogLevel.Warning` to `LogLevel.Debug`
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
…w>, so that t goes through the same path as other pages.
…plate

Backport of https://dev.azure.com/dnceng/internal/_git/dotnet-dotnet/pullrequest/61324.

NotFoundPage feature was added in net10 in dotnet/aspnetcore#60970 .

If its value is set in the Router, it will be rendered on NavigationManager.NotFound() call or NavigationManager.Navigate("non-existing-path").

Originally it was rendered with bare <RouteView>, creating a different logical path for rendering than other pages that go through <Found> fragment. This meant that <AuthorizeRouteView> inside <Found> (and other wrappers, such as custom layouts or other route-view decorators) was never applied. As a result, NotFoundPage that carried [Authorize] attribute behaved as if that attribute did not exist on it.

Fix:
Instead of "manual" rendering setup, use <Found> to render NotFoundPage.

Tested:

E2E for not found page with [Authorize] -> expect NotAuthorize content. Passes locally.
Updated unit test that used to expect bare <RouteView>. Passes locally.
Manual tests of Component.TestServer app with the change.


----
#### AI description  (iteration 1)
#### PR Classification
Bug fix to ensure the Router's NotFoundPage is rendered through the `<Found>` template instead of directly through `RouteView`.

#### PR Summary
This PR changes how the Router component renders the NotFoundPage by delegating to the `<Found>` template, enabling proper rendering of authorized/protected not-found pages through `AuthorizeRouteView`.

- `Router.cs`: Modified to render NotFoundPage through the `Found` template instead of directly instantiating `RouteView`
- `App.razor`: Added support for `useAuthorizedNotFoundPage` query parameter and new router configuration with `AuthorizeRouteView` to handle authorized not-found scenarios
- `AuthorizedNotFoundPage.razor`: Added new test page with `[Authorize]` attribute to verify protected not-found pages render correctly
- `NoInteractivityTest.cs`: Added test to verify anonymous users see "Not authorized" content when accessing authorized not-found pages
- `RouterTest.cs`: Updated assertion to verify NotFoundPage is rendered through the `<Found>` template
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
@vseanreesermsft
vseanreesermsft requested review from a team as code owners June 9, 2026 22:12
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team June 9, 2026 22:16
@dotnet-policy-service
dotnet-policy-service Bot requested review from a team June 10, 2026 16:14
@wtgodbe

wtgodbe commented Jun 10, 2026

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@wtgodbe
wtgodbe enabled auto-merge June 11, 2026 18:03
@wtgodbe
wtgodbe disabled auto-merge June 11, 2026 18:03
@wtgodbe
wtgodbe merged commit 4ad9d8a into dotnet:release/10.0.1xx Jun 11, 2026
62 of 68 checks passed
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team June 11, 2026 18:08
joeloff pushed a commit to joeloff/dotnet that referenced this pull request Jul 27, 2026
Unblocks the code mirror.

----
#### AI description  (iteration 1)
#### PR Classification
This is a dependency update pull request that merges public release/10.0.1xx changes to internal, updating various package versions and dependencies across the ASP.NET Core repository.

#### PR Summary
This PR updates dependency references from dotnet/dotnet source repository (SHA fb9903c to 582f40b) and upgrades numerous npm packages in the project, particularly Babel and testing-related dependencies.

- `eng/Version.Details.xml`: Updated all Microsoft.EntityFrameworkCore and Microsoft.Extensions package versions to reference new SHA 582f40b, and updated internal transport package versions from 10.0.10-servicing.26301.104 to 10.0.10-servicing.26309.110
- `package-lock.json`: Upgraded @babel/preset-env from 7.29.2 to 7.29.7 and related Babel plugin dependencies
- `package-lock.json`: Updated @puppeteer/browsers from 2.13.0 to 3.0.4 and puppeteer-core from 24.39.1 to 25.1.0 with corresponding dependency changes
- `package-lock.json`: Updated TypeScript tooling dependencies including ts-jest from 29.4.6 to 29.4.11
- `package-lock.json`: Removed proxy-agent and pac-proxy-agent related dependencies, simplified tar-stream implementations
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->


Related work items: dotnet#7151, dotnet#7155, dotnet#7173, dotnet#7187
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.