Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wmmc88
Copy link
Collaborator

@wmmc88 wmmc88 commented Dec 10, 2025

This pull request updates the GitHub Actions workflow and makes a minor formatting change in macrotest output files.

The macrotest output was updated to align with the latest rust beta toolchain. The workflow changes were made to fix a breaking change made to Github's expression parser (likely caused be actions/languageservices#217)

Workflow improvements:

Test output formatting:

  • Added a trailing comma to the format_args! macro call in generated test files for improved consistency and formatting (tests/wdk-macros-tests/tests/outputs/beta/macrotest/bug_unused_imports.expanded.rs, tests/wdk-macros-tests/tests/outputs/beta/macrotest/wdf_driver_create.expanded.rs). [1] [2]

Copilot AI review requested due to automatic review settings December 10, 2025 21:55
Copy link
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 macro expansion test collateral files to match the output format of the beta Rust toolchain. The changes reflect differences in how the beta toolchain formats macro expansions compared to stable and nightly toolchains.

  • Adds trailing commas to nested format_args! macro calls in expanded macro test outputs
  • Updates wdk-build version in test workspace's Cargo.lock from 0.4.0 to 0.5.1

Reviewed changes

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

File Description
tests/wdk-macros-tests/tests/outputs/beta/macrotest/wdf_driver_create.expanded.rs Adds trailing comma to nested format_args! call in expanded macro output
tests/wdk-macros-tests/tests/outputs/beta/macrotest/bug_unused_imports.expanded.rs Adds trailing comma to nested format_args! call in expanded macro output
tests/customized-config-toml-workspace/Cargo.lock Updates wdk-build version from 0.4.0 to 0.5.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wmmc88 wmmc88 force-pushed the fix-beta-macrotest-expansion branch from 022344c to 6795bb1 Compare December 10, 2025 22:03
@codecov-commenter
Copy link

codecov-commenter commented Dec 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.67%. Comparing base (723a4eb) to head (68b0ae3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #592   +/-   ##
=======================================
  Coverage   82.67%   82.67%           
=======================================
  Files          25       25           
  Lines        7135     7135           
  Branches     7135     7135           
=======================================
  Hits         5899     5899           
  Misses       1107     1107           
  Partials      129      129           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@wmmc88 wmmc88 closed this Dec 18, 2025
@wmmc88 wmmc88 reopened this Dec 18, 2025
@wmmc88 wmmc88 closed this Dec 19, 2025
@wmmc88 wmmc88 reopened this Dec 19, 2025
Copilot AI review requested due to automatic review settings December 19, 2025 03:23
Copy link
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.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wmmc88 wmmc88 force-pushed the fix-beta-macrotest-expansion branch from 32a3a1c to 98fd300 Compare December 24, 2025 00:11
Copilot AI review requested due to automatic review settings December 24, 2025 00:11
Copy link
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 10 out of 10 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wmmc88 wmmc88 changed the title test: update macro expansion test collateral for beta toolchain test: update macro expansion test collateral Dec 25, 2025
Copilot AI review requested due to automatic review settings December 25, 2025 20:57
Copy link
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 14 out of 14 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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