Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Merge main into release/stable - #6254

Draft
max-charlamb wants to merge 9 commits into
release/stablefrom
automation/release-sync
Draft

max-charlamb wants to merge 9 commits into
release/stablefrom
automation/release-sync

Conversation

@max-charlamb

@max-charlamb max-charlamb commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Weekly update of release/stable from main. All changes, including dependency and version files, are taken from main.

Commit
release/stable dda90bc
main bfa7c72
Merge base dd726b3

Version and dependency changes

eng/Version.Details.xml
-    <Dependency Name="Microsoft.NET.Sdk" Version="12.0.100-alpha.1.26562.105">
+    <Dependency Name="Microsoft.NET.Sdk" Version="12.0.100-alpha.1.26566.117">
-    <Dependency Name="Microsoft.AspNetCore.App.Ref.Internal" Version="12.0.0-alpha.1.26562.105">
+    <Dependency Name="Microsoft.AspNetCore.App.Ref.Internal" Version="12.0.0-alpha.1.26566.117">
-    <Dependency Name="Microsoft.AspNetCore.App.Ref" Version="12.0.0-alpha.1.26562.105">
+    <Dependency Name="Microsoft.AspNetCore.App.Ref" Version="12.0.0-alpha.1.26566.117">
-    <Dependency Name="Microsoft.NETCore.App.Ref" Version="12.0.0-alpha.1.26562.105">
+    <Dependency Name="Microsoft.NETCore.App.Ref" Version="12.0.0-alpha.1.26566.117">
-    <Dependency Name="Microsoft.NETCore.Platforms" Version="12.0.0-alpha.1.26562.105">
+    <Dependency Name="Microsoft.NETCore.Platforms" Version="12.0.0-alpha.1.26566.117">
-    <Dependency Name="Microsoft.CodeAnalysis" Version="5.14.0-1.26562.105">
+    <Dependency Name="Microsoft.CodeAnalysis" Version="5.14.0-1.26566.117">
-    <Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="5.14.0-1.26562.105">
+    <Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="5.14.0-1.26566.117">
-    <Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.14.0-1.26562.105">
+    <Dependency Name="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.14.0-1.26566.117">
-    <Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="5.14.0-1.26562.105">
+    <Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="5.14.0-1.26566.117">
-    <Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="12.0.100-alpha.1.26562.105">
+    <Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="12.0.100-alpha.1.26566.117">
-    <Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.14.0-1.26562.105">
+    <Dependency Name="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.14.0-1.26566.117">

Commits from main (8)

Show commits

This workflow updates the branch and pull request but does not merge it or publish release artifacts.

Note

Sample PR generated manually by running the update step from #6238. Do not merge without review.

steveisok and others added 9 commits November 15, 2026 11:24
## Summary

Replace the nonempty `/proc/{pid}/environ` poll in
`GetProcessTmpDir_ChildProcess_ReadsTmpdir` with a child-written
readiness signal. The test starts a shell that prints `ready` and then
waits on redirected stdin, so the parent reads the environment only
after the child has executed. Startup is bounded by a 30-second timeout;
existing TMPDIR assertions, diagnostics, fallback behavior, and child
cleanup are preserved.

A nonempty environment is not a reliable startup marker: before exec, it
can still contain the parent's environment. A forced fork/exec window
reproduced the original failure signature. The precise trigger in CI
remains unconfirmed; natural stress did not reproduce it.

Test-only change; production code and the ClrMD dependency update in
#6246 are unchanged. Relates to #5750.

## Validation

- Endpoint tests passed on Linux arm64 with glibc/.NET 10.0.15 and
Alpine musl/.NET 11: 13 passed, 2 expected skips each.
- Under identical fault injection (fork semantics, failed best-effort
exec-completion pipe, and a 100 ms exec delay), the exact original test
source failed 20/20 calls; the fixed test passed 100/100.
- Fixed test passed 5,000 normal glibc calls and 1,000 musl calls.
- Negative controls confirmed that removing TMPDIR still fails and
withholding readiness times out. No unreaped child processes remained.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Updates the managed cDAC reader, generator and linked sources together
with the universal DBI and its private PAL from
[dotnet/runtime@a5ea4c6](dotnet/runtime@a5ea4c6).

Both snapshots use the same runtime commit so the DAC/DBI interface
stays in sync. The mirrored source tracks the latest `dotnet/runtime`
main commit resolved when this workflow runs.

The imported paths come from runtime's
`src/native/managed/cdac/SourceManifest.props` and
`src/coreclr/dlls/mscordbi_universal/SourceManifest.props`.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This pull request updates the following dependencies

[marker]: <> (Begin:01dbcc6c-8c7a-4d47-9e03-3b9258cec978)
## From https://github.com/dotnet/dotnet
- **Subscription**:
[01dbcc6c-8c7a-4d47-9e03-3b9258cec978](https://maestro.dot.net/subscriptions?search=01dbcc6c-8c7a-4d47-9e03-3b9258cec978)
- **Build**:
[20261115.4](https://dev.azure.com/dnceng/internal/_build/results?buildId=3136762)
([341531](https://maestro.dot.net/channel/10847/github:dotnet:dotnet/build/341531))
- **Date Produced**: November 15, 2026 8:45:00 PM UTC
- **Commit**:
[8fc142ba6d733754f83a1e9a9b87cad5de06b650](dotnet/dotnet@8fc142b)
- **Branch**: [main](https://github.com/dotnet/dotnet/tree/main)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [12.0.0-alpha.1.26562.105 to 12.0.0-alpha.1.26565.104][3]
     - Microsoft.AspNetCore.App.Ref
     - Microsoft.AspNetCore.App.Ref.Internal
     - Microsoft.NETCore.App.Ref
     - Microsoft.NETCore.Platforms
  - From [5.14.0-1.26562.105 to 5.14.0-1.26565.104][3]
     - Microsoft.CodeAnalysis
     - Microsoft.CodeAnalysis.Analyzers
     - Microsoft.CodeAnalysis.CSharp
     - Microsoft.CodeAnalysis.CSharp.Workspaces
     - Microsoft.CodeAnalysis.Workspaces.MSBuild
  - From [12.0.100-alpha.1.26562.105 to 12.0.100-alpha.1.26565.104][3]
     - Microsoft.CodeAnalysis.NetAnalyzers
     - Microsoft.NET.Sdk

[3]: dotnet/dotnet@dfd6ac7...8fc142b

[DependencyUpdate]: <> (End)


[marker]: <> (End:01dbcc6c-8c7a-4d47-9e03-3b9258cec978)

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Move the Ubuntu-based Linux x64 and arm64 Helix queues to the published
Ubuntu 26.04 `-llvm` image. This gives the diagnostics repo its
LLDB/LLVM tools across Ubuntu-based test runs, including SOS tests.
Alpine musl and Windows queues are unchanged.

The SOS harness now tries `lldb-21` and `lldb21` before older versions.
The existing LLDB Python preflight succeeds with the published image.

Validation:
- Parsed `eng/pipelines/helix-platforms.yml`.
- `bash -n src/tests/SOS.Tests/Helix/runtests.sh`.
- Ran the SOS LLDB lookup and Python preflight in
`ubuntu-26.04-helix-llvm-amd64` successfully.
- `git diff --check`.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[main] Update dependencies from dotnet/dotnet
Updates the managed cDAC reader, generator and linked sources together
with the universal DBI and its private PAL from
[dotnet/runtime@2ce18f7](dotnet/runtime@2ce18f7).

Both snapshots use the same runtime commit so the DAC/DBI interface
stays in sync. The mirrored source tracks the latest `dotnet/runtime`
main commit resolved when this workflow runs.

The imported paths come from runtime's
`src/native/managed/cdac/SourceManifest.props` and
`src/coreclr/dlls/mscordbi_universal/SourceManifest.props`.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
## Summary

- package Debug build outputs in the PR pipeline alongside the normal
test legs
- restore the standard Release test legs in the official pipeline and
run them in parallel with packaging
- test tools installed from the signed `PackageArtifacts` after
packaging completes
- use one configuration policy across builds, tests, dependencies, and
packaging
- extract the packaging job into a reusable template
- Sample official run:
https://dev.azure.com/dnceng/internal/_build/results?buildId=3134727&view=results
## Pipeline layouts

### Pull request

```text
+------------------------------------------------------+
| Build stage                                          |
|                                                      |
|  - Cross-platform product builds                     |
|  - Normal local and Helix test legs                  |
|  - Package / sign / publish                          |
+--------------------------+---------------------------+
                           |
                           v
+------------------------------------------------------+
| Prepare Release stage                                |
|                                                      |
|  - Build release tooling                             |
+------------------------------------------------------+
```

### Official and other non-PR builds

```text
                         +----------------------+
                         | Build stage          |
                         +----------+-----------+
                                    |
                    +---------------+---------------+
                    |                               |
                    v                               v
        +----------------------+       +--------------------------+
        | Normal Tests stage   |       | Package / Publish stage  |
        +----------------------+       +------------+-------------+
                                                   |
                                   +---------------+---------------+
                                   |                               |
                                   v                               v
                       +------------------------+       +------------------------+
                       | Installed Tests stage  |       | Validate Build Assets  |
                       +------------------------+       +-----------+------------+
                                                                  |
                                                                  v
                                                      +------------------------+
                                                      | Publish Using DARC     |
                                                      +-----------+------------+
                                                                  |
                                                                  v
                                                      +------------------------+
                                                      | Prepare Release stage  |
                                                      +------------------------+
```

## Validation

- Azure Pipelines preview expansion succeeded for the official pipeline
- confirmed Build -> Normal Tests and Package / Publish
- confirmed Package / Publish -> Installed Tests and Validate Build
Assets
- confirmed official expansion contains Release jobs only, even when
Debug is requested

---------

Co-authored-by: Max Charlamb <maxcharlamb@microsoft.com>
Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com>
Copilot-Session: 20509674-cc28-401c-a1fa-0f8dbe23d5f0
## Summary

A faster replacement for the public-name reverse lookup introduced in
#6242:

- Select the public name with
`IDebugAdvanced2.GetSymbolInformation(GET_SYMBOL_NAME_BY_OFFSET_AND_TAG_WIDE,
address, SymTagPublicSymbol)`.
- Obtain displacement with an ordinary, unfiltered
`IDebugSymbols3.GetNameByOffsetWide` call instead of reverse-resolving
the public name with `GetOffsetByNameWide`.
- Keep this policy in a module-owned `DbgEngModuleSymbols` helper,
leaving `DebuggerServices` as the low-level wrapper.
- Preserve export-only name retry and failure propagation, without
changing global symbol options or enumerating/caching module symbols.

## Performance

Measured on Windows x64 using a synthetic workload with 100,000
generated methods and 215,422 public PDB symbols:

| Approach | Warm time/query | Startup through first lookup | Retained
managed-memory delta |
|---|---:|---:|---:|
| Original `GetNameByOffset` with global `PUBLICS_ONLY` | 17.47 us |
36.99 ms | 1,600 bytes |
| Scoped public-name + reverse-lookup algorithm (prior measurement) |
1.392 s | 1,529 ms | 4,224 bytes |
| This PR: public name + ordinary displacement | 24.49 us | 75.75 ms |
3,120 bytes |

The proposed lookup avoids the expensive reverse-name lookup. Compared
with the original global-public-only behavior, warm lookup time is
approximately 40.2% higher (+7.02 us/query). There is no module-wide
symbol cache.


## Known correctness limitations

Ordinary lookup can select a private symbol with a different starting
address from the selected public symbol. Pairing its displacement with
the public name can therefore report an incorrect public-symbol start.

Against an original-public-only reference:

- All 300,563 generated-method queries matched both name and
displacement.
- Of 343,166 normal reference queries, 343,144 matched and 22 had
different displacements. These are native code/data cases; this
prototype does not fix them.
- An additional 474 cross-section `<PERF>` formatting differences and
one before-first-public boundary difference were recorded separately.

---------

Co-authored-by: Max Charlamb <maxcharlamb@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 56b7f1ec-323f-44e6-bee9-b2af0e9fc062
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.

3 participants