Skip to content

deps: update outdated packages and fix Dependabot configuration#20

Merged
joshsmithxrm merged 1 commit intomainfrom
claude/audit-dependencies-mjl41fx0u1pyc20b-FLvAB
Dec 25, 2025
Merged

deps: update outdated packages and fix Dependabot configuration#20
joshsmithxrm merged 1 commit intomainfrom
claude/audit-dependencies-mjl41fx0u1pyc20b-FLvAB

Conversation

@joshsmithxrm
Copy link
Owner

@joshsmithxrm joshsmithxrm commented Dec 25, 2025

Summary

  • Updated Microsoft.PowerPlatform.Dataverse.Client from 1.1.* to 1.2.* (includes CVE-2022-26907 fix)
  • Updated test infrastructure: Microsoft.NET.Test.Sdk 18.0.1, xunit 2.9.3, xunit.runner.visualstudio 3.0.2
  • Fixed Dependabot configuration to properly detect floating version updates

Root Cause Analysis: Why Dependabot Missed These

Primary Issue: Floating Versions

Packages using wildcard versions like 1.1.*, 4.20.*, 8.0.* are treated by Dependabot as version constraints, not specifications. When you specify 1.1.*, Dependabot interprets this as "I want any 1.1.x version" and considers you up-to-date as long as any 1.1.x exists—it will NOT suggest 1.2.* because that changes the constraint itself.

Secondary Issues:

  • Low PR limit (5) may have queued some updates
  • No dependency grouping caused PR fragmentation

Dependabot Configuration Fixes

Setting Before After Impact
versioning-strategy (default) increase Allows widening floating constraints
open-pull-requests-limit 5 10 More concurrent updates
groups (none) 3 groups Reduces PR noise

Test Plan

  • CI build passes
  • All unit tests pass
  • Verify Dependabot creates grouped PRs on next scheduled run

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings December 25, 2025 09:54
@gemini-code-assist
Copy link

Summary of Changes

Hello @joshsmithxrm, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on maintaining the project's health and security by updating several critical dependencies and significantly improving the automated dependency management system. The changes ensure that the project benefits from the latest features, security patches, and a more streamlined process for future dependency updates, addressing previous limitations in how Dependabot detected and proposed changes.

Highlights

  • Dependency Updates: Updated Microsoft.PowerPlatform.Dataverse.Client to 1.2.*, which includes a fix for CVE-2022-26907, and System.CommandLine from a beta to its stable 2.0.1 release.
  • Test Infrastructure Refresh: Upgraded core test packages including Microsoft.NET.Test.Sdk to 18.0.1, xunit to 2.9.3, and xunit.runner.visualstudio to 3.0.2 across all test projects.
  • Dependabot Configuration Enhancement: Improved Dependabot's configuration by setting versioning-strategy: increase to correctly handle floating version updates, increasing the open-pull-requests-limit to 10, and introducing dependency grouping to reduce PR noise.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request successfully updates several outdated packages, including an important security fix for Microsoft.PowerPlatform.Dataverse.Client and a move to a stable release for System.CommandLine. The updates to the test infrastructure are also welcome. The core of this PR is the much-improved Dependabot configuration, which correctly adds versioning-strategy: increase to handle floating versions and introduces dependency grouping to reduce pull request noise. The changes are logical and well-documented. I have one minor suggestion regarding the CHANGELOG.md file to improve its structure and readability.

Copy link

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 attempts to update outdated packages for security and stability improvements, and enhance the Dependabot configuration to better handle floating version updates. However, the PR contains critical issues with nonexistent package versions that will prevent the build from succeeding.

Key changes attempted:

  • Update Microsoft.PowerPlatform.Dataverse.Client from 1.1.* to 1.2.* (valid)
  • Update System.CommandLine from beta to stable 2.0.1 (valid)
  • Update test infrastructure packages (invalid versions specified)
  • Enhance Dependabot configuration with versioning strategy and dependency grouping

Reviewed changes

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

Show a summary per file
File Description
tests/PPDS.Plugins.Tests/PPDS.Plugins.Tests.csproj Updates test package versions (nonexistent versions specified)
tests/PPDS.Migration.Cli.Tests/PPDS.Migration.Cli.Tests.csproj Updates test package versions (nonexistent versions specified)
tests/PPDS.Dataverse.Tests/PPDS.Dataverse.Tests.csproj Updates test package versions (nonexistent versions specified)
src/PPDS.Migration.Cli/PPDS.Migration.Cli.csproj Updates System.CommandLine to stable release 2.0.1 (valid)
src/PPDS.Dataverse/PPDS.Dataverse.csproj Updates Microsoft.PowerPlatform.Dataverse.Client to 1.2.* (valid)
CHANGELOG.md Documents the package updates with incorrect version numbers
.github/dependabot.yml Adds versioning strategy, dependency grouping, and increases PR limit

Critical Issue: The test package versions specified (Microsoft.NET.Test.Sdk 18.0.1, xunit 2.9.3, xunit.runner.visualstudio 3.0.2) do not exist and will cause build failures. These need to be corrected before the PR can be merged.


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

Security updates:
- Microsoft.PowerPlatform.Dataverse.Client: 1.1.* → 1.2.* (CVE-2022-26907)

Test infrastructure updates:
- Microsoft.NET.Test.Sdk: 17.8.0 → 18.0.1
- xunit: 2.6.4 → 2.9.3
- xunit.runner.visualstudio: 2.5.6 → 3.0.2

Dependabot improvements:
- Added versioning-strategy: increase for floating version bumps
- Added dependency grouping to reduce PR noise
- Increased PR limit from 5 to 10

Root cause: Floating versions (e.g., 1.1.*) prevented Dependabot from
suggesting minor/major version bumps. The versioning-strategy setting
addresses this going forward.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@joshsmithxrm joshsmithxrm force-pushed the claude/audit-dependencies-mjl41fx0u1pyc20b-FLvAB branch from 755ad2d to ccff3e6 Compare December 25, 2025 10:06
@joshsmithxrm joshsmithxrm merged commit 99de8d7 into main Dec 25, 2025
5 checks passed
@joshsmithxrm joshsmithxrm deleted the claude/audit-dependencies-mjl41fx0u1pyc20b-FLvAB branch December 25, 2025 10:09
joshsmithxrm pushed a commit that referenced this pull request Jan 8, 2026
Bumps [madge](https://github.com/pahen/madge) from 7.0.0 to 8.0.0.
- [Changelog](https://github.com/pahen/madge/blob/master/CHANGELOG.md)
- [Commits](pahen/madge@v7.0.0...v8.0.0)

---
updated-dependencies:
- dependency-name: madge
  dependency-version: 8.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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