Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final* go rewrite services #11593

Merged
merged 18 commits into from
Sep 3, 2024
Merged

Conversation

NickElliot
Copy link
Contributor

@NickElliot NickElliot commented Aug 30, 2024

All remaining services

a good number of hand written files needed minor syncing for services that were updated since the handwritten templates were batch converted. but since a lot of handwritten files have been minorly updated for whitespace, odds are we will need to re-sync them by hand for ones that need to be re-updated

I think the large yaml regeneration is the next step here, but hopefully would not result in any "new" diffs from the minor ones we accepted as inevitable

Release Note Template for Downstream PRs (will be copied)


@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 13 files changed, 391 insertions(+), 391 deletions(-))
google-beta provider: Diff ( 14 files changed, 451 insertions(+), 452 deletions(-))
terraform-google-conversion: Diff ( 4 files changed, 80 insertions(+), 80 deletions(-))

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 16 files changed, 556 insertions(+), 556 deletions(-))
google-beta provider: Diff ( 17 files changed, 618 insertions(+), 619 deletions(-))
terraform-google-conversion: Diff ( 5 files changed, 125 insertions(+), 125 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2
Passed tests: 2
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • netapp
  • parallelstore
#### Non-exercised tests

Tests were added that are skipped in VCR:

  • TestAccNetappActiveDirectory_netappActiveDirectoryFullExample
  • TestAccNetappBackupPolicy_netappBackupPolicyFullExample
  • TestAccNetappBackup_netappBackupExample
  • TestAccNetappStoragePool_storagePoolCreateExample
    $\textcolor{red}{\textsf{Errors occurred during REPLAYING mode. Please fix them to complete your PR.}}$

View the build log

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 16 files changed, 556 insertions(+), 556 deletions(-))
google-beta provider: Diff ( 17 files changed, 618 insertions(+), 619 deletions(-))
terraform-google-conversion: Diff ( 5 files changed, 125 insertions(+), 125 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 2
Passed tests: 2
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • netapp
  • parallelstore
#### Non-exercised tests

Tests were added that are skipped in VCR:

  • TestAccNetappActiveDirectory_netappActiveDirectoryFullExample
  • TestAccNetappBackupPolicy_netappBackupPolicyFullExample
  • TestAccNetappBackup_netappBackupExample
  • TestAccNetappStoragePool_storagePoolCreateExample
    $\textcolor{red}{\textsf{Errors occurred during REPLAYING mode. Please fix them to complete your PR.}}$

View the build log

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 29 files changed, 615 insertions(+), 615 deletions(-))
google-beta provider: Diff ( 30 files changed, 687 insertions(+), 688 deletions(-))
terraform-google-conversion: Diff ( 6 files changed, 126 insertions(+), 126 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 20
Passed tests: 8
Skipped tests: 0
Affected tests: 12

Click here to see the affected service packages
  • parallelstore
  • netapp

Action taken

Found 12 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetappActiveDirectory_activeDirectory_FullUpdate
  • TestAccNetappActiveDirectory_netappActiveDirectoryFullExample
  • TestAccNetappBackupPolicy_NetappBackupPolicyFullExample_update
  • TestAccNetappBackupPolicy_netappBackupPolicyFullExample
  • TestAccNetappBackupVault_NetappBackupVaultExample_update
  • TestAccNetappBackup_NetappBackupFull_update
  • TestAccNetappBackup_netappBackupExample
  • TestAccNetappStoragePool_FlexRegionalStoragePoolCreateExample_update
  • TestAccNetappStoragePool_storagePoolCreateExample
  • TestAccNetappStoragePool_storagePoolCreateExample_update
  • TestAccNetappVolumeReplication_NetappVolumeReplicationCreateExample_update
  • TestAccNetappVolume_NetappVolumeBasicExample_update

Get to know how VCR tests work

Copy link
Member

@c2thorn c2thorn left a comment

Choose a reason for hiding this comment

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

LGTM assuming tests pass

@NickElliot
Copy link
Contributor Author

NickElliot commented Aug 30, 2024

While waiting on the tests I wanted to call attention to a specific change: https://github.com/GoogleCloudPlatform/magic-modules/pull/11593/files#diff-d4257ecf68b40cde4cd0e6f0b557a06b872641c57dbda2bcc459c1a6691013ff

This satisfied the new issue I ran into from your original change (bd00206#diff-d4257ecf68b40cde4cd0e6f0b557a06b872641c57dbda2bcc459c1a6691013ff) that was a deviation from the original Ruby logic, but because your version caused a change in a resource I went over, it potentially also introduced diffs in other resources. Hopefully the way I altered it pre-emptively fixed those too, but something to keep in mind if we see new diffs after syncing it all

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccNetappActiveDirectory_netappActiveDirectoryFullExample[Debug log]
TestAccNetappBackupPolicy_NetappBackupPolicyFullExample_update[Debug log]
TestAccNetappBackupPolicy_netappBackupPolicyFullExample[Debug log]
TestAccNetappBackupVault_NetappBackupVaultExample_update[Debug log]
TestAccNetappBackup_netappBackupExample[Debug log]
TestAccNetappStoragePool_FlexRegionalStoragePoolCreateExample_update[Debug log]
TestAccNetappStoragePool_storagePoolCreateExample[Debug log]
TestAccNetappStoragePool_storagePoolCreateExample_update[Debug log]
TestAccNetappVolumeReplication_NetappVolumeReplicationCreateExample_update[Debug log]
TestAccNetappVolume_NetappVolumeBasicExample_update[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccNetappActiveDirectory_activeDirectory_FullUpdate[Error message] [Debug log]
TestAccNetappBackup_NetappBackupFull_update[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

@NickElliot
Copy link
Contributor Author

test failure looks to be a problem of all the netapp tests being ran together

@c2thorn
Copy link
Member

c2thorn commented Sep 3, 2024

This should be good to go

@NickElliot NickElliot merged commit 94f1701 into GoogleCloudPlatform:main Sep 3, 2024
12 of 13 checks passed
Mehul3217 pushed a commit to Mehul3217/magic-modules that referenced this pull request Sep 5, 2024
iyabchen pushed a commit to iyabchen/magic-modules that referenced this pull request Sep 14, 2024
niharika-98 pushed a commit to niharika-98/magic-modules that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants