Repository navigation
[release/5.0] Add report-green AzDO pipeline so Build Analysis completes on build-excluded PRs - #7806
Merged
Merged
Conversation
…xcluded PRs (#7623) * Add always-completing PR Gate check for workflow-only PRs PRs that only touch .github/* skip the AzDO MachineLearning-CI and MachineLearning-CodeCoverage pipelines, so Build Analysis never receives a build.completed event and stays in_progress indefinitely, blocking merge (dotnet/arcade-services#6311). Add a GitHub Actions check that always completes to serve as a stable required merge gate. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * PR Gate: satisfy Build Analysis for build-excluded PRs When every changed file is excluded from AzDO PR build validation (.github/*, **.md, docs/*, LICENSE, THIRD-PARTY-NOTICES.TXT), no build runs and the Arcade Build Analysis check hangs in_progress, blocking merge (dotnet/arcade-services#6311). Post a successful Build Analysis check run in that case so the required check completes; real PRs are untouched. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Replace PR Gate with report-green AzDO pipeline for build-excluded PRs Mirror dotnet/runtime's eng/pipelines/report-green.yml. The main AzDO pipelines exclude .github/*, docs/*, **.md, LICENSE and THIRD-PARTY-NOTICES.TXT from PR validation, so PRs touching only those paths queue no build and the Arcade Build Analysis check hangs in_progress, blocking merge (dotnet/arcade-services#6311). report-green.yml has the inverse path filter and an agentless no-op job (pool: server, Delay@1). It produces a real AzDO build whose build.completed event lets Build Analysis report green. A GitHub Actions check cannot do this because Build Analysis listens for the AzDO event, not a same-named check run. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Trim comments in report-green.yml Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Drop issue reference from report-green.yml comment Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
svick
approved these changes
Oct 15, 2026
Member
|
The report-green pipeline was missing from release/5.0, which is why a PR like #7804 will be stuck with Build Analysis never finishing. This backport fixes that. |
rosebyte
approved these changes
Oct 15, 2026
svick
enabled auto-merge (squash)
October 15, 2026 11:26
matouskozak
approved these changes
Oct 15, 2026
matouskozak
left a comment
Member
There was a problem hiding this comment.
Thanks for catching this!
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/5.0 #7806 +/- ##
===============================================
- Coverage 69.03% 69.03% -0.01%
===============================================
Files 1483 1483
Lines 274195 274195
Branches 28271 28271
===============================================
- Hits 189290 189281 -9
- Misses 77519 77530 +11
+ Partials 7386 7384 -2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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.
Backport of #7623 to release/5.0
/cc @svick @kotlarmilos
Customer Impact
Testing
Risk