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

Refactor muxing 2 : Remove unused code, resulting from #11903 #11578

Conversation

SarahFrench
Copy link
Collaborator

@SarahFrench SarahFrench commented Aug 29, 2024

Follow up to #11903. Most commits in this PR are in that PR, and will 'disappear' once this PR is unblocked and ready for review. This PR has been rebased to address this!

This PR deletes all the parallel implementations of provider configuration logic. The PR #11903 stops the provider using this duplicated logic, and this PR removes that redundant code.

In future the team may want to revisit this deleted code to inform work to pulls out the SDKv2 from the codebase completely and the provider becomes 100% plugin-framework. As that is a long way in the future I think it's best to delete this code now for clarity. It will still be in version control for reference in the future.

When looking at the deleted code be wary of:

Release Note Template for Downstream PRs (will be copied)


@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@SarahFrench SarahFrench force-pushed the mux-refactor-5-delete-unused-code branch from 43bd0a6 to 47bb9bc Compare August 29, 2024 17:31
@modular-magician

This comment was marked as outdated.

@SarahFrench SarahFrench force-pushed the mux-refactor-5-delete-unused-code branch from 5e8070f to 47bb9bc Compare August 29, 2024 17:54
@modular-magician

This comment was marked as outdated.

1 similar comment
@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

1 similar comment
@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@SarahFrench SarahFrench force-pushed the mux-refactor-5-delete-unused-code branch from 47bb9bc to 98bba88 Compare September 23, 2024 15:52
@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@SarahFrench SarahFrench force-pushed the mux-refactor-5-delete-unused-code branch from 98bba88 to 265c2f0 Compare September 26, 2024 11:06
@SarahFrench
Copy link
Collaborator Author

Rebased to pull in Go rewrite

@SarahFrench SarahFrench force-pushed the mux-refactor-5-delete-unused-code branch from 265c2f0 to dee2be2 Compare October 4, 2024 11:49
@SarahFrench SarahFrench changed the title Refactor muxing 2 : Remove unused code, resulting from #11577 Refactor muxing 2 : Remove unused code, resulting from #11903 Oct 4, 2024
@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@modular-magician

This comment was marked as outdated.

@SarahFrench SarahFrench force-pushed the mux-refactor-5-delete-unused-code branch from dee2be2 to 2f8d100 Compare November 21, 2024 18:01
@SarahFrench SarahFrench marked this pull request as ready for review November 21, 2024 18:05
@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 ( 5 files changed, 3746 deletions(-))
google-beta provider: Diff ( 5 files changed, 3911 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4306
Passed tests: 3899
Skipped tests: 405
Affected tests: 2

Click here to see the affected service packages

All service packages are affected

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccApigeeDeveloper_apigeeDeveloperUpdateTest
  • TestAccComputeInstanceNetworkIntefaceWithSecurityPolicy

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccApigeeDeveloper_apigeeDeveloperUpdateTest [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccComputeInstanceNetworkIntefaceWithSecurityPolicy [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

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.

confirmed things deleted were only used by what was also being deleted. LGTM

@SarahFrench
Copy link
Collaborator Author

Thanks, I'll go ahead and merge as I don't think there's a need for multiple approvals here vs the first PR

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