Skip to content

[build] add code coverage to provider_integration workflow#352

Open
zimmy87 wants to merge 33 commits into
mainfrom
user/v-davidz/provider_integration_cov
Open

[build] add code coverage to provider_integration workflow#352
zimmy87 wants to merge 33 commits into
mainfrom
user/v-davidz/provider_integration_cov

Conversation

@zimmy87
Copy link
Copy Markdown
Contributor

@zimmy87 zimmy87 commented Apr 30, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 30, 2026 01:05
@zimmy87 zimmy87 linked an issue Apr 30, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repo’s xtask and CI workflow so the provider_integration GitHub Actions job runs integration tests under cargo llvm-cov and emits a coverage summary via xtask precheck --coverage-report.

Changes:

  • Extend xtask coverage to accept nextest-like arguments (features/package/profile/filterset/exclude) and forward them to cargo llvm-cov nextest.
  • Update xtask precheck to pass coverage configuration (and to run multiple coverage invocations in the default “SDK” path).
  • Switch provider_integration workflow steps from --nextest to --coverage, and add a coverage summary step.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
xtask/src/precheck.rs Routes precheck --coverage into parameterized Coverage runs (default SDK + resiliency runs, or user-provided package/features).
xtask/src/coverage.rs Adds CLI flags to Coverage and builds argument lists for cargo llvm-cov nextest.
.github/workflows/rust.yml Runs provider integration test packages with coverage and adds a coverage summary report step.

Comment thread xtask/src/precheck.rs Outdated
Comment thread .github/workflows/rust.yml Outdated
Comment thread xtask/src/coverage.rs Outdated
Comment thread xtask/src/precheck.rs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 30, 2026 20:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread xtask/src/precheck.rs Outdated
…h default precheck runs

Agent-Logs-Url: https://github.com/Azure/azihsm-sdk/sessions/c036d7d2-3887-40af-8d85-48d245439a70

Co-authored-by: zimmy87 <5205889+zimmy87@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 1, 2026 18:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings May 1, 2026 19:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

Comment thread xtask/src/precheck.rs Outdated
Comment thread .github/workflows/rust.yml Outdated
Comment thread xtask/src/coverage.rs Outdated
Comment thread xtask/src/coverage_report.rs
Copilot AI review requested due to automatic review settings May 18, 2026 18:56
Copilot AI review requested due to automatic review settings May 20, 2026 01:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Comment thread xtask/src/coverage.rs
Comment thread xtask/src/precheck.rs Outdated
Comment thread xtask/src/coverage_report.rs
Comment thread xtask/README.md
Comment thread xtask/README.md Outdated
@zimmy87 zimmy87 marked this pull request as ready for review May 20, 2026 02:02
Copilot AI review requested due to automatic review settings May 20, 2026 02:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comment thread xtask/src/coverage.rs
@zimmy87 zimmy87 requested a review from rajesh-gali May 20, 2026 03:44
Comment thread xtask/src/precheck.rs
Copilot AI review requested due to automatic review settings May 22, 2026 20:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Comment thread xtask/src/precheck.rs Outdated
Comment thread xtask/src/precheck.rs
Comment thread xtask/src/coverage_report.rs Outdated
Comment thread xtask/README.md Outdated
zimmy87 and others added 3 commits May 22, 2026 14:21
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 22, 2026 21:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Comment thread xtask/src/coverage_report.rs
Comment thread xtask/src/coverage_report.rs
@zimmy87 zimmy87 requested a review from rajesh-gali May 22, 2026 22:20
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.

[task] add code coverage to provider_integration

4 participants