Skip to content

[release/9.0] Give the nested process chain in ProcessWaitingTests depth-proportional wait budgets - #135631

Closed
github-actions[bot] wants to merge 1 commit into
release/9.0from
backport/pr-135608-to-release/9.0
Closed

github-actions[bot] wants to merge 1 commit into
release/9.0from
backport/pr-135608-to-release/9.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #135608 to release/9.0

/cc @ViveliDuCh @pcshrosbree

Customer Impact

  • Customer reported
  • Found internally

[Select one or both of the boxes. Describe how this issue impacts customers, citing the expected and actual behaviors and scope of the issue. If customer-reported, provide the issue number.]

Regression

  • Yes
  • No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

Testing

[How was the fix verified? How was the issue missed previously? What tests were added?]

Risk

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

IMPORTANT: If this backport is for a servicing release, please verify that:

  • For .NET 8 and .NET 9: The PR target branch is release/X.0-staging, not release/X.0.
  • For .NET 10+: The PR target branch is release/X.0 (no -staging suffix).

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.

…al wait budgets (#135608)

Fixes #118977

## Problem

`ProcessWaitingTests.WaitChain` and `WaitAsyncChain` start a four-deep
chain of `RemoteExecutor` processes, and every level waits with the same
`WaitInMS`. The root's wait has to cover the start-up, work and exit of
all four processes while the leaf's covers one, so the root has the
leaf's budget while covering four lifetimes. 

## Change

Give each waiter `WaitInMS` per process beneath it: leaf 1×, then 2×, 3×
and 4× at the root.

> [!NOTE]
> This PR was prepared with AI assistance (Anthropic Claude, checked by
OpenAI Codex) at my request. I reviewed the change and the measurements
before opening it.
@azure-pipelines

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

@ViveliDuCh ViveliDuCh closed this Oct 12, 2026
@ViveliDuCh

ViveliDuCh commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Backported to the wrong servicing branch, backporting to release/9.0-staging instead

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.

2 participants