Skip to content

Fix GC pipeline#5210

Open
janvorli wants to merge 8 commits intodotnet:mainfrom
janvorli:fix-gc-pipeline
Open

Fix GC pipeline#5210
janvorli wants to merge 8 commits intodotnet:mainfrom
janvorli:fix-gc-pipeline

Conversation

@janvorli
Copy link
Copy Markdown
Member

The GC pipeline has been broken for some time, failing with [error]No image label found to route agent pool Azure Pipelines

The GC pipeline has been broken for some time, failing with
`[error]No image label found to route agent pool Azure Pipelines`
@janvorli janvorli self-assigned this Apr 23, 2026
Copilot AI review requested due to automatic review settings April 23, 2026 09:08
@janvorli janvorli added the gc-infrastructure Labels related to the GC Infrastructure Code label Apr 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GC Azure Pipelines configuration to address a long-standing agent routing failure (No image label found to route agent pool Azure Pipelines) by changing the Windows hosted image label used for the GC notebook validation job.

Changes:

  • Update the Windows job pool image from windows-2019 to windows-2025.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gc-azure-pipelines.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 23, 2026 12:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gc-azure-pipelines.yml Outdated
Copilot AI review requested due to automatic review settings April 23, 2026 12:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +179 to 183
bdnProcess.Start();
string traceName = $"{benchmarkCleanedName}_{index}";
using (TraceCollector traceCollector = new TraceCollector(traceName, collectType, runPath))
using (TraceCollector traceCollector = new TraceCollector(traceName, collectType, runPath, bdnProcess.Id))
{
bdnProcess.Start();
bdnProcess.BeginOutputReadLine();
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trace collection ordering is now reversed (process starts before TraceCollector). On Windows TraceCollector starts PerfView immediately in its constructor and does not attach to a specific PID, so starting the benchmark process first can miss early ETW events (and diverges from the Windows pattern used in GCPerfSimCommand). Consider branching by OS: on Windows, create TraceCollector (without pid) before starting the benchmark process; on Linux, start the process first and pass its pid to TraceCollector (required).

Copilot uses AI. Check for mistakes.
@janvorli janvorli closed this Apr 23, 2026
@janvorli janvorli reopened this Apr 23, 2026
@janvorli janvorli closed this Apr 23, 2026
@janvorli janvorli reopened this Apr 23, 2026
Copilot AI review requested due to automatic review settings April 23, 2026 20:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gc-azure-pipelines.yml
Comment on lines +55 to +59
- task: UseDotNet@2
displayName: Install .NET 11.0
inputs:
version: 11.0.x
includePreviewVersions: true
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comment above these steps says the job “temporarily need[s] both .NET 8 … and .NET 9”, but the pipeline now installs 8/9/10/11. Please update that comment to match the actual SDK requirements (or drop any unneeded installs) so future maintainers don’t remove a required SDK by mistake.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gc-infrastructure Labels related to the GC Infrastructure Code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants