Skip to content

V11.0.0/double digits chore - #8

Merged
gimlichael merged 18 commits into
masterfrom
v11.0.0/double-digits-chore
Nov 4, 2026
Merged

gimlichael merged 18 commits into
masterfrom
v11.0.0/double-digits-chore

Conversation

@gimlichael

@gimlichael gimlichael commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

This PR updates Microsoft Testing Platform to 2.5.2 and adopts the reviewed upstream fix for invalid branch-trampoline IL near exception-handler boundaries on the .NET 11 development line.

Master is merged into this branch with a normal merge, retaining the released 10.1.2 fixes and both upstream merge parents. PR #8 remains open for maintainer review.

  • Preserve exact dependency exclusions from managed runtime asset names, RID-specific assets, project/reference precedence, and exact xUnit build exclusions. Dependencies sharing a project assembly prefix cannot exclude that project accidentally.
  • Preserve the per-resolver netstandard facade correction and its forwarded-enum metadata regressions.
  • Retain the exception-handler fix, stable iteration over original IL, and all four Issue 2058 JIT-preparation regressions.
  • Combine loaded-assembly shared-prefix and hyphenated module-selection regressions with the real dependency-discovery/filter-application regressions, including Codebelt.Extensions.Xunit / Codebelt.Extensions.BenchmarkDotNet. Consolidate the duplicate exact-filter helper without changing behavior.
  • Preserve explicit filter/configuration precedence, the .NET 11 SDK and three target frameworks, maintenance workflows, and the approved macOS opt-in.

UPSTREAM.md records the six conflict resolutions, source commits, upstream dispositions, and actual validation. The changelog retains the complete 10.1.2 history and advisory; exact filtering is already a 10.1.2 fix.

Validation on Windows x64, SDK 11.0.100-rc.3.26522.148: Release solution build passed with zero warnings/errors. On each of .NET 10 and .NET 11: core 378 passed / 9 platform skips; MTP 440 passed / 7 platform skips; instrumentation 102 passed; package consumers 45 passed with no skips. Total: 1,930 passed, 32 platform skips, zero failures. Package inspection confirms the retained package identity, all three target framework groups, runtime pins, and MTP 2.5.2. .NET Standard 2.0 was built and packed, not executed.

Source CI run 41845532478 passed all 13 selected build, test, pack, and Windows/Ubuntu .NET 10/11 package-validation jobs. Downloaded TRX reports confirm all relevant regressions passed on both runtimes and operating systems. macOS retains the approved manual opt-in and was not run. The existing Release CI help/info skip guard is unchanged; those checks passed in both full local package suites. No package publication or automatic PR merge is requested.

Integrate with Create a merge commit to preserve the reviewed upstream and released maintenance ancestry. A documentation-only follow-up records the completed source CI in UPSTREAM.md; the PR checks show its current validation status.

dependabot Bot and others added 10 commits November 1, 2026 09:40
…t-coverage#2062)

---
updated-dependencies:
- dependency-name: dotnet-reportgenerator-globaltool
  dependency-version: 5.5.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…overlet-coverage#2061)

Bumps [danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action) from 5.5.11 to 5.5.12.
- [Release notes](https://github.com/danielpalme/reportgenerator-github-action/releases)
- [Commits](danielpalme/ReportGenerator-GitHub-Action@5.5.11...5.5.12)

---
updated-dependencies:
- dependency-name: danielpalme/ReportGenerator-GitHub-Action
  dependency-version: 5.5.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.38.2 to 4.39.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v4.38.2...v4.39.1)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.39.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….2 (coverlet-coverage#2066)

---
updated-dependencies:
- dependency-name: Microsoft.Testing.Extensions.AzureDevOpsReport
  dependency-version: 2.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Prevent invalid IL from branch trampolines

Detect unsafe exception-handler boundaries and fall back to inline instrumentation. Preserve original `TryStart` boundaries to avoid invalid loop and `try/finally` IL.

Add issue coverlet-coverage#2058 regression coverage, sample control-flow methods, and JIT-preparation validation with diagnostic IL output.

* Fix EH boundaries for instrumented loop back-edges

Update exception-handler boundary rewriting so `TryStart` follows inserted branch-target instructions, preserving intra-try back-edges in optimized `do/while` loops. Add Issue 2058 release-instrumentation coverage and a `try/finally` loop regression sample.

* Prevent invalid IL near handler starts

Add ILVerify 10.0.14 as a local tool and recommend it for IL investigations. Track instructions immediately preceding exception-handler `TryStart` offsets and skip unsafe taken-branch counter injection when trampolines are unavailable, preserving inline fallback for other cases.

* use runtime specific dotnet tool versions

* Fix path for dotnet-tools.json copy script

* Fix branch instrumentation near EH boundaries

Use local branch trampolines when standard trampolines are unavailable before exception-handler boundaries. Refactor branch candidate registration, track local trampoline redirections, and preserve branch hit tracking across netstandard2.0.

Extend Issue 2058 coverage tests to verify both branch paths and filter recorded branch entries with LINQ.

* Iterate instrumentation over original IL

Process the pre-instrumentation instruction snapshot with a stable index
instead of traversing the mutable instruction list. Remove manual index
adjustments so injected instructions cannot alter iteration or cause original
instructions to be skipped or processed incorrectly. Preserve target mapping
and instruction-target replacement after instrumentation.
…ge#2069)

* Narrow Dynamic Exclude Filters for Loaded Assemblies

* Allow hyphen for assembly names
@gimlichael gimlichael self-assigned this Nov 3, 2026
@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; the previous test-coverage concern is addressed.

Summary

This PR updates Microsoft Testing Platform to 2.5.2 and fixes invalid branch-trampoline IL near exception-handler boundaries while retaining the released dependency-filter and resolver fixes.

  • Coverage instrumentation keeps branch counts valid around exception handlers.
  • New tests check exact filters for loaded and hyphenated assembly names.
  • MTP examples use the current xUnit setup and platform version.
  • The upstream record now tracks the reconciliation and its validation.

Reviews (6) · Last reviewed commit: "✨ add bounded version of while-true if-t..." · Reviewed by Greptile

aicia-bot and others added 8 commits November 4, 2026 15:13
Merge master into PR #8 while preserving the released exact runtime-asset exclusions, owning facade resolver, and their regressions. Retain the upstream exception-handler instrumentation fix, its JIT-preparation coverage, Microsoft Testing Platform 2.5.2, and the .NET 11 development baseline. Consolidate the exact-filter helpers without restoring dependency prefix wildcards and record the source history and combined validation.

Windows Release validation: zero build warnings or errors; 1,930 tests passed with 32 platform skips across .NET 10 and .NET 11, including all 45 package consumer tests on each runtime. Preserve both merge parents for review through PR #8.
Link the ancestry-preserving reconciliation merge and successful Windows/Ubuntu CI run in the upstream ledger. Record the verified regression coverage and package-validation outcomes while preserving the explicit macOS, CI skip, maintainer review, and release boundaries.
Preserve the local README and packaged quick-start commit while integrating the remote PR conflict resolutions and released 10.1.2 ancestry. A normal merge keeps both histories intact and brings the local checkout back into sync without rewriting the documentation commit or the reviewed upstream merges.
@gimlichael
gimlichael merged commit 14e9e75 into master Nov 4, 2026
14 checks passed
@gimlichael
gimlichael deleted the v11.0.0/double-digits-chore branch November 4, 2026 19:41
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