Repository navigation
Job Monitor - Add warnings to log lines that matter - #17170
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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."); | ||
| } |
mmitche
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://dev.azure.com/dnceng/internal/_git/dotnet-helix-service/commit/0eb62a854a818b5924086f76228c7cd4cbb2a775?refName=refs%2Fheads%2Fmain