Skip to content

Update code coverage report to always add comment even if failures - #1714

Open
Steve Lee (SteveL-MSFT) wants to merge 1 commit into
PowerShell:mainfrom
SteveL-MSFT:cc-always
Open

Update code coverage report to always add comment even if failures#1714
Steve Lee (SteveL-MSFT) wants to merge 1 commit into
PowerShell:mainfrom
SteveL-MSFT:cc-always

Conversation

@SteveL-MSFT

Copy link
Copy Markdown
Member

PR Summary

  • use always() to ensure the CC comment always gets added for PR even if test/build failures

Copilot AI lite review requested due to automatic review settings September 9, 2026 22:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is minimal and correctly uses a job-level always() condition to prevent the coverage-report job from being skipped when upstream jobs fail.

Pull request overview

This PR updates the Rust CI workflow so the coverage-report job still runs on pull requests even when upstream needs jobs fail, ensuring the PR coverage comment is posted consistently.

Changes:

  • Update coverage-report job condition to use always() gated by github.event_name == 'pull_request', preventing the job from being skipped due to failed dependencies.
File summaries
File Description
.github/workflows/rust.yml Ensures the PR coverage comment job runs even if required build/test jobs fail by using a job-level always() condition.
Review details
  • Files reviewed: 1/1 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.

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.

2 participants