Repository navigation
Clarify Helix Job Monitor wait status - #17479
Merged
Merged
Conversation
Fixes #17478 Co-authored-by: Copilot App <[email protected]> Copilot-Session: 764989e3-aa21-4883-80b9-86650b24ac6a
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The changes are localized to status reporting/plumbing, align with the linked issue requirements, and are covered by updated and new unit tests.
Pull request overview
This PR improves Helix Job Monitor status reporting so users can see when the monitor is gated by pending Azure DevOps (AzDO) pipeline jobs even after all Helix work has finished, addressing the “0 running / 0 waiting jobs” confusion described in #17478.
Changes:
- Updates periodic status output to explicitly separate Helix job, Helix work item, and AzDO job progress counts.
- Adds logic to detect “Helix complete but AzDO still pending” and log a bounded list (up to 10) of unfinished AzDO jobs with their timeline state/result.
- Extends polling snapshots/plumbing to carry timeline records through to the status reporter, and adds/updates unit tests for the new output.
File summaries
| File | Description |
|---|---|
| src/Microsoft.DotNet.Helix/Sdk.Tests/Microsoft.DotNet.Helix.Sdk.Tests/JobMonitorRunnerTests.cs | Updates assertions for the new status prefixes and adds coverage for reporting waiting pipeline jobs after Helix completion. |
| src/Microsoft.DotNet.Helix/JobMonitor/StatusReporter.cs | Adds AzDO job counting and bounded “unfinished pipeline jobs” diagnostics when Helix work is complete but the monitor is still gated by pipeline jobs. |
| src/Microsoft.DotNet.Helix/JobMonitor/JobMonitorRunner.cs | Persists AzDO timeline records in the latest-status snapshot and passes them to the status reporter for richer reporting. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
premun
approved these changes
Sep 3, 2026
Member
|
/backport to release/10.0 |
Member
|
/backport to release/11.0 |
Contributor
|
Started backporting to |
Contributor
|
Started backporting to |
This was referenced Sep 3, 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.
Summary
Testing
dotnet test Microsoft.DotNet.Helix.Sdk.Tests.csproj --configuration Release --filter FullyQualifiedName~JobMonitorRunnerTests(97 passed)Fixes #17478