Skip to content

Job Monitor - Add warnings to log lines that matter - #17170

Merged
premun merged 1 commit into
dotnet:mainfrom
premun:prvysoky/log-warnings
Jul 23, 2026
Merged

premun merged 1 commit into
dotnet:mainfrom
premun:prvysoky/log-warnings

Conversation

@premun

@premun premun commented Jul 23, 2026 •

Copy link
Copy Markdown
Member

Copilot AI review requested due to automatic review settings July 23, 2026 10:38
@premun
premun enabled auto-merge (squash) July 23, 2026 10:40

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

Adds “do not change” annotations to specific Job Monitor error log statements in StatusReporter that appear to be relied upon by downstream tooling (Build Analysis).

Changes:

  • Adds a “DO NOT CHANGE THIS LINE” comment above the “non-monitor pipeline jobs failed” error log.
  • Adds a similar “DO NOT CHANGE THIS LINE” comment above the final failed work items aggregated error log.
Comments suppressed due to low confidence (1)

src/Microsoft.DotNet.Helix/JobMonitor/StatusReporter.cs:239

  • Same issue as above: the “DO NOT CHANGE THIS LINE” wording is ambiguous. If Build Analysis is matching the emitted log text, the comment should state that the following message text must remain stable (not the comment line itself).
            // DO NOT CHANGE THIS LINE - it's matched by Build Analysis to ignore a failure

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


public void LogNonMonitorPipelineFailure()
{
// DO NOT CHANGE THIS LINE - it's matched by Build Analysis to ignore a failure
Comment on lines 204 to 208
public void LogNonMonitorPipelineFailure()
{
// DO NOT CHANGE THIS LINE - it's matched by Build Analysis to ignore a failure
LogError("One or more non-monitor pipeline jobs failed.");
}
@premun
premun merged commit 977be8d into dotnet:main Jul 23, 2026
10 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-rc1 milestone Jul 24, 2026
@premun
premun deleted the prvysoky/log-warnings branch August 10, 2026 10:46
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