Skip to content

Conversation

example6
Copy link
Contributor

What does this PR do?

This PR removes a lookup of the provided Virtual Machine size against the deprecated enum VirtualMachineSIzeTypes during cloud VM deployment. Any user-provided SKU that isn't present in this deprecated enum will fail to deploy, despite the error message from Azure containing the SKU in its list of valid values.

What issues does this PR fix or reference?

Fixes: #56

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

No

@mentos1386
Copy link
Contributor

Hey @lkubb and @nicholasmhughes. Is it possible to merge this PR? It would help us out in using the extension. Thanks!

Copy link

codecov bot commented Mar 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.39%. Comparing base (5fd1e16) to head (b5def5f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage   49.39%   49.39%           
=======================================
  Files          19       19           
  Lines         911      911           
  Branches       31       31           
=======================================
  Hits          450      450           
  Misses        451      451           
  Partials       10       10           
Flag Coverage Δ
Linux 49.39% <ø> (ø)
macOS 49.39% <ø> (ø)
project 71.09% <ø> (ø)
py310 49.39% <ø> (ø)
py39 49.34% <ø> (ø)
salt_3006_9 49.39% <ø> (ø)
salt_3007_1 49.39% <ø> (ø)
tests 44.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@lkubb
Copy link
Member

lkubb commented Mar 5, 2025

@mentos1386 Of course. Just to make sure (since I don't use this extension): From my understanding, this is backwards-compatible, right?

@mentos1386
Copy link
Contributor

mentos1386 commented Mar 6, 2025

@lkubb it should be yes. It's making the code less strict so it should accept all existing values. Thanks!

@lkubb lkubb merged commit 93af66f into salt-extensions:main Mar 6, 2025
22 checks passed
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.

[BUG] Cannot Create Instances with Cloud
3 participants