Repository navigation
Make code coverage artifact names unique per attempt - #4616
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
Pull request overview
Makes diagnostic Cobertura artifact names unique across reruns.
Changes:
- Appends stage and job attempt numbers to the artifact name.
- Documents why attempt-qualified naming is required.
File summaries
| File | Description |
|---|---|
eng/pipelines/common/templates/jobs/ci-code-coverage-job.yml |
Prevents artifact-name collisions when rerunning coverage jobs. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
paulmedynski
marked this pull request as ready for review
August 31, 2026 19:14
paulmedynski
enabled auto-merge (squash)
August 31, 2026 19:14
benrr101
approved these changes
Aug 31, 2026
cheenamalhotra
approved these changes
Aug 31, 2026
This was referenced Aug 31, 2026
paulmedynski
added a commit
that referenced
this pull request
Sep 1, 2026
cheenamalhotra
pushed a commit
that referenced
this pull request
Sep 1, 2026
Co-authored-by: Paul Medynski <[email protected]>
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.
Description
Make the diagnostic Cobertura pipeline artifact name unique for every stage/job attempt by appending
$(System.StageAttempt)-$(System.JobAttempt).Pipeline artifacts are immutable within a build. Rerunning the final code coverage job currently fails when
Cobertura Merge Resultswas published by an earlier attempt. Attempt-qualified names allow this long-running pipeline's final job to be rerun while retaining each attempt's diagnostic artifact.