Skip to content

[release/11.0] Document GC pause duration test isolation (partial backport of #137983) - #138014

Closed
lewing wants to merge 1 commit into
release/11.0from
lewing-backport-137983-to-release-11-0
Closed

lewing wants to merge 1 commit into
release/11.0from
lewing-backport-137983-to-release-11-0

Conversation

@lewing

@lewing lewing commented Nov 20, 2026

Copy link
Copy Markdown
Member

Fixes Issue: N/A - comment-only correction; no behavioral fix.

main PR #137983

Description

Test-only partial backport of commit 0b04740.
Changes only the comment in src/tests/GC/API/GC/GetTotalPauseDuration.csproj to explain that the test assumes its induced GC is the only GC that has occurred in the process.

This is documentation-only in a test project, not the upstream isolation-removal optimization. RequiresProcessIsolation, the branch's CLRTestTargetUnsupported restriction, and all other project content remain unchanged. No product code, test execution, coverage, API references, or flaky-test behavior changes. The other upstream files are deliberately excluded.

Customer Impact

None at runtime. Without this correction, maintainers see an incomplete rationale for retaining test process isolation.

Regression

No behavioral regression is fixed; this corrects a test-project comment only.

Testing

git diff --check passed.

A Python 3 structural check passed: the project XML is well-formed; removing XML comments leaves byte-for-byte identical text; only the specified project is modified; and the added/deleted comment lines exactly match the source commit's one-file subset. These are static checks, not execution verification.

No baseline build, targeted build, daily-runtime execution, or tests were run because this subset changes only an XML comment. No PR CI has been run for this proposed backport.

Risk

Low risk: one corrected comment in a test project, with no executable or MSBuild property changes. Existing isolation and platform restrictions are preserved. This does not claim the performance or cleanup benefits of the full upstream PR.

Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.

Note

This pull request description was generated with GitHub Copilot.

Partial, comment-only backport of #137983 (0b04740). Preserve process isolation and branch-specific target restrictions.

Co-authored-by: Copilot App <[email protected]>
@lewing lewing added area-Infrastructure-coreclr Only use for closed issues test-bug Problem in test source code (most likely) labels Nov 20, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
12 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Infrastructure-coreclr Only use for closed issues test-bug Problem in test source code (most likely)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant