Skip to content

Add versions/tools/compare_major_versions.go#4083

Merged
thomas11 merged 1 commit into
masterfrom
tkappler/versions-compare-tool
Apr 7, 2025
Merged

Add versions/tools/compare_major_versions.go#4083
thomas11 merged 1 commit into
masterfrom
tkappler/versions-compare-tool

Conversation

@thomas11

@thomas11 thomas11 commented Apr 7, 2025

Copy link
Copy Markdown
Contributor

Print the resources table:

go run compare_major_versions.go -olderMajorVersion 2 -out table | head

| Service | Resource | REST version in v2 | REST version in v3 |
|---|---|---|---|
| Automanage | Account | 2020-06-30-preview | not present |
| Cache | AccessPolicy | 2023-05-01-preview | not present |
| Cache | AccessPolicyAssignment | 2023-05-01-preview | not present |
| Cache | Database | 2023-03-01-preview | not present |
| Cache | EnterprisePrivateEndpointConnection | 2023-03-01-preview | not present |
| Cache | FirewallRule | 2023-04-01 | not present |
| Cache | LinkedServer | 2023-04-01 | not present |
| Cache | PatchSchedule | 2023-04-01 | not present |

Listing resources (by path) that were in v2 but aren't in v3:

go run compare_major_versions.go 2 | jq .Removed | head
[
  {
    "previous": {
      "Module": "LabServices",
      "ResourceName": "getGlobalUserEnvironment",
      "ApiVersion": "2018-10-15"
    },
    "Path": "/providers/Microsoft.LabServices/users/{userName}/getEnvironment"
  },
  {

@thomas11 thomas11 requested review from a team, Copilot and danielrbradley April 7, 2025 09:27

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.

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

Files not reviewed (1)
  • versions/tools/go.mod: Language not supported
Comments suppressed due to low confidence (1)

versions/tools/README.md:5

  • The documentation title refers to 'compare_major_versions_md.go' while the new file is named 'compare_major_versions.go'. Please update the filename reference to match the new tool name.
## compare_major_versions_md.go

Comment thread versions/tools/compare_major_versions.go Outdated
@thomas11 thomas11 force-pushed the tkappler/versions-compare-tool branch from 5b14e87 to 2170120 Compare April 7, 2025 09:30
@github-actions

github-actions Bot commented Apr 7, 2025

Copy link
Copy Markdown
Contributor

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@codecov

codecov Bot commented Apr 7, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.04%. Comparing base (d639f08) to head (2170120).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4083   +/-   ##
=======================================
  Coverage   58.04%   58.04%           
=======================================
  Files          84       84           
  Lines       13514    13514           
=======================================
  Hits         7844     7844           
  Misses       5079     5079           
  Partials      591      591           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@thomas11 thomas11 merged commit 7b5b874 into master Apr 7, 2025
@thomas11 thomas11 deleted the tkappler/versions-compare-tool branch April 7, 2025 11:06
@pulumi-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped in release v3.1.0.

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.

4 participants