Skip to content

Remove stale runtime test process isolation - #137983

Merged
akoeplinger merged 3 commits into
mainfrom
akoeplinger-requires-process-isolation-cleanup
Nov 20, 2026
Merged

akoeplinger merged 3 commits into
mainfrom
akoeplinger-requires-process-isolation-cleanup

Conversation

@akoeplinger

@akoeplinger akoeplinger commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Removes stale RequiresProcessIsolation settings so the affected runtime tests run in their merged runners. Also documents retained standalone cases and removes one unused AllowUnsafeBlocks setting.

Validated with affected merged-runner builds and focused test execution on ARM64, x64, Browser WebAssembly, and WASI build configurations.

Addresses the RequiresProcessIsolation cleanup in #137921.

Note

This pull request description was generated with GitHub Copilot.

akoeplinger and others added 2 commits November 20, 2026 10:28
Allow validated tests to run in their merged runners and remove the unused unsafe setting from istypeequivalent.

Co-authored-by: Copilot App <[email protected]>
Explain why these WASI R2R-incompatible tests must remain standalone BuildAndRun projects.

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

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

The test assumes its induced collection is the only GC that has occurred in the process, so it cannot run safely in a merged runner.

Co-authored-by: Copilot App <[email protected]>
@akoeplinger
akoeplinger merged commit 0b04740 into main Nov 20, 2026
81 of 84 checks passed
@akoeplinger
akoeplinger deleted the akoeplinger-requires-process-isolation-cleanup branch November 20, 2026 12:49
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Nov 23, 2026
lewing added a commit that referenced this pull request Nov 24, 2026
…137983) (#138015)

Fixes Issue <!-- Issue Number --> N/A (test-only cleanup; partially
addresses #137921).

main PR <!-- Link to PR if any that fixed this in the main branch. -->
#137983

# Description

<!-- Give a brief summary of the issue and how the pull request is
fixing it. -->

Test-only partial backport of #137983, source commit
0b04740, to release/10.0.

Remove the stale `RequiresProcessIsolation` property groups from only:

- `src/tests/baseservices/varargs/varargsupport.ilproj`
- `src/tests/baseservices/varargs/varargsupport_r.ilproj`

These existing tests can run in their merged runner instead of separate
processes. The IL test source and all product code are unchanged. The
rest of the upstream commit is deliberately excluded: its isolation
changes are not established as safe on this servicing branch, whose
platform restrictions differ from main.

# Customer Impact

<!-- What is the impact to customers of not taking this fix? -->

No shipped product behavior changes. Without this cleanup, these tests
retain unnecessary process-launch overhead in servicing test runs.

# Regression

<!-- Is this fixing a problem that was introduced in the most recent
release, ie., fixing a regression? -->

No. This removes pre-existing, stale test configuration.

# Testing

<!-- What kind of testing has been done with the fix. -->

Local static verification only: `git diff --check` passed; both edited
files exactly match the source commit's versions; project XML parses;
the complete diff is restricted to the two requested files, with eight
deletions and no additions. The two project files and their shared IL
source were identical between the release/10.0 baseline and the source
commit's parent.

No local baseline build, test-project build, or test execution was run.
This worktree has no built runtime, test artifacts, or repository-local
SDK. Execution verification is deferred to PR CI; static checks do not
establish that the tests pass in a merged process on release/10.0.

The upstream PR reports affected merged-runner builds and focused
execution on ARM64, x64, Browser WebAssembly, and WASI configurations;
those are upstream results, not servicing-branch verification.

# Risk

<!-- Please assess the risk of taking this fix. Provide details backing
up your assessment. -->

Low risk, test-only partial backport. Only two stale project property
groups are removed; no product code, test IL, APIs, or other platform
restrictions change. The remaining risk is a servicing-specific
interaction when these tests share a process, which PR CI must check.

# 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.

Co-authored-by: Copilot App <[email protected]>
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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants