Skip to content

[release/5.0] Add report-green AzDO pipeline so Build Analysis completes on build-excluded PRs - #7806

Merged
svick merged 1 commit into
release/5.0from
backport/pr-7623-to-release/5.0
Oct 15, 2026
Merged

svick merged 1 commit into
release/5.0from
backport/pr-7623-to-release/5.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #7623 to release/5.0

/cc @svick @kotlarmilos

Customer Impact

Testing

Risk

…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

svick commented Oct 15, 2026 •

Copy link
Copy Markdown
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.

@svick
svick enabled auto-merge (squash) October 15, 2026 11:26

@matouskozak matouskozak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this!

@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.03%. Comparing base (a4f730e) to head (0ea4443).

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     
Flag Coverage Δ
Debug 69.03% <ø> (-0.01%) ⬇️
production 63.31% <ø> (-0.01%) ⬇️
test 89.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@svick
svick merged commit abb0c0c into release/5.0 Oct 15, 2026
27 checks passed
@svick
svick deleted the backport/pr-7623-to-release/5.0 branch October 15, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants