Skip to content

Add the Helix Job Monitor - #16740

Merged
mmitche merged 182 commits into
dotnet:mainfrom
premun:prvysoky/agentless-jobs
May 23, 2026
Merged

mmitche merged 182 commits into
dotnet:mainfrom
premun:prvysoky/agentless-jobs

Conversation

@premun

@premun premun commented Apr 23, 2026

Copy link
Copy Markdown
Member

@premun
premun force-pushed the prvysoky/agentless-jobs branch from fc27d11 to 50fd585 Compare April 23, 2026 13:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 60 out of 61 changed files in this pull request and generated 7 comments.

Comment thread tests/XHarness.Tests.Common.props Resolved
Comment thread azure-pipelines-pr.yml Resolved
Comment thread azure-pipelines-pr.yml Resolved
Copilot AI review requested due to automatic review settings May 22, 2026 13:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 60 out of 61 changed files in this pull request and generated 8 comments.

Comments suppressed due to low confidence (1)

src/Microsoft.DotNet.Helix/JobMonitor/Services/AzureBlobClientFactory.cs:27

  • Same SAS-token handling issue here: strip a leading '?' before creating AzureSasCredential so container write/read tokens work reliably regardless of whether the service includes the prefix.

mmitche
mmitche previously approved these changes May 22, 2026
@mmitche

mmitche commented May 22, 2026

Copy link
Copy Markdown
Member

Approved. We will get this checked in and start to roll it out and continue to iterate. Not a breaking change.

Copilot AI review requested due to automatic review settings May 22, 2026 15:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 60 out of 61 changed files in this pull request and generated 4 comments.

Comment on lines +690 to +693
// When test uploads are the last thing running, we want to speed it up
// Rate limiting should be dealt with by retry logic in the upload tasks
_options.TestResultUploadParallelism = 16;

Comment on lines +99 to +103
string relativePath = NormalizeUploadedFilePath(file.Name);
string destinationFile = _fileSystem.PathCombine(workItemDirectory, relativePath);
string directory = _fileSystem.GetDirectoryName(destinationFile);
if (!string.IsNullOrEmpty(directory))
{
JObject data = await SendAsync(HttpMethod.Get, $"{_options.CollectionUri}{_options.TeamProject}/_apis/test/runs?buildUri={buildUri}&$top=1000&api-version=7.1", cancellationToken: cancellationToken);
var processed = new HashSet<string>(StringComparer.OrdinalIgnoreCase);

foreach (JObject run in (data?["value"] as JArray ?? []).Cast<JObject>())
}

await HonorRateLimitAsync(response, requestUri, cancellationToken);
return string.IsNullOrWhiteSpace(content) ? [] : JObject.Parse(content);
@mmitche
mmitche enabled auto-merge (squash) May 22, 2026 20:41
@mmitche
mmitche disabled auto-merge May 22, 2026 20: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