Skip to content

ci(dependabot): fix cargo workspace updates and refresh lockfiles#629

Merged
anakrish merged 7 commits intomicrosoft:mainfrom
anakrish:dependabot-cargo-fixes
Mar 25, 2026
Merged

ci(dependabot): fix cargo workspace updates and refresh lockfiles#629
anakrish merged 7 commits intomicrosoft:mainfrom
anakrish:dependabot-cargo-fixes

Conversation

@anakrish
Copy link
Copy Markdown
Collaborator

Remove nested Cargo workspace members from Dependabot's cargo directories to avoid manifest resolution failures during grouped updates.

Add a Dependabot-only workflow that refreshes affected Cargo lockfiles, including the no_std target-specific resolution path, so CI can continue enforcing --locked and --frozen builds.

Remove nested Cargo workspace members from Dependabot's cargo directories to avoid manifest resolution failures during grouped updates.

Add a Dependabot-only workflow that refreshes affected Cargo lockfiles, including the no_std target-specific resolution path, so CI can continue enforcing --locked and --frozen builds.

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
@anakrish anakrish requested a review from Copilot March 25, 2026 16:27
Copy link
Copy Markdown

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 Dependabot configuration for Cargo workspaces and adds a Dependabot-only GitHub Actions workflow to regenerate Cargo lockfiles when Dependabot updates manifests, keeping CI builds compatible with --locked/--frozen.

Changes:

  • Removed nested Cargo workspace directories from Dependabot’s cargo update scope to prevent manifest resolution failures.
  • Added a pull_request_target workflow that detects changed Cargo manifests/lockfiles and runs cargo metadata to refresh relevant Cargo.lock files, then commits/pushes the result.

Reviewed changes

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

File Description
.github/workflows/dependabot-refresh-cargo-lockfiles.yml New workflow to refresh and commit Cargo lockfiles on Dependabot PRs.
.github/dependabot.yml Removes nested Cargo directories from Dependabot update configuration to avoid workspace resolution issues.

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

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
@anakrish anakrish requested a review from Copilot March 25, 2026 16:44
Copy link
Copy Markdown

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 2 out of 2 changed files in this pull request and generated 2 comments.


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

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
@anakrish anakrish requested a review from Copilot March 25, 2026 17:36
Copy link
Copy Markdown

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 2 out of 2 changed files in this pull request and generated 1 comment.


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

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
Copy link
Copy Markdown

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 2 out of 2 changed files in this pull request and generated 2 comments.


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

@anakrish anakrish requested a review from Copilot March 25, 2026 18:21
Copy link
Copy Markdown

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 2 out of 2 changed files in this pull request and generated 3 comments.


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

@anakrish anakrish requested a review from Copilot March 25, 2026 18:40
Copy link
Copy Markdown

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 2 out of 2 changed files in this pull request and generated 2 comments.


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

Copy link
Copy Markdown

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 2 out of 2 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.

@anakrish anakrish marked this pull request as ready for review March 25, 2026 20:14
@anakrish anakrish requested a review from dpokluda March 25, 2026 20:14
@anakrish anakrish requested a review from dekomissMSFT March 25, 2026 20:14
@anakrish anakrish merged commit f69974d into microsoft:main Mar 25, 2026
62 checks passed
@anakrish anakrish deleted the dependabot-cargo-fixes branch March 25, 2026 21:58
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.

3 participants