Repository navigation
Job Monitor - Fix job chain ID computation - #17325
Merged
Merged
Conversation
Use the root Helix job name to identify resubmission lineages, preventing independent jobs with the same AzDO submitter and queue from being folded together.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Helix Job Monitor stream/lineage identification to use the root Helix job name from the PreviousHelixJobName chain, avoiding incorrect folding of independent Helix jobs that share the same AzDO submitter and queue.
Changes:
- Replace submitter+queue-based “chain key” logic with root-Helix-job-based lineage keys in
MonitorState. - Update retry/outcome reconciliation semantics and related comments to align with the new lineage model.
- Expand/adjust unit tests and design documentation to cover the corrected behavior.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/Microsoft.DotNet.Helix/Sdk.Tests/Microsoft.DotNet.Helix.Sdk.Tests/JobMonitorRunnerTests.cs | Adds/updates tests for independent-job behavior and adjusts attempt/linkage scenarios. |
| src/Microsoft.DotNet.Helix/JobMonitor/MonitorState.cs | Switches chain key computation to root Helix job lineage and updates grouping/reconciliation. |
| src/Microsoft.DotNet.Helix/JobMonitor/JobMonitorRunner.Design.md | Updates the design doc to define streams via root Helix job lineage rather than submitter+queue. |
| src/Microsoft.DotNet.Helix/JobMonitor/JobMonitorRunner.cs | Updates comments to reflect the new lineage/keying and reconciliation behavior. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
mmitche
approved these changes
Aug 12, 2026
Youssef1313
pushed a commit
to dotnet/aspnetcore
that referenced
this pull request
Aug 17, 2026
Use the first Arcade build containing dotnet/arcade#17325 so independent Helix jobs on the same queue cannot overwrite failed work-item outcomes with passing outcomes. Co-authored-by: Copilot <[email protected]> Copilot-Session: 01b2186b-0f3d-4af9-8b53-ca637bc8e374
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.
Use the root Helix job name to identify resubmission lineages, preventing independent jobs with the same AzDO submitter and queue from being folded together.