Skip to content

Backport of ensure unmanaged plugins have an address into v1.6#34381

Merged
jbardin merged 1 commit intov1.6from
backport/jbardin/unmanaged-plugin-schema-cache/absolutely-vital-shiner
Dec 8, 2023
Merged

Backport of ensure unmanaged plugins have an address into v1.6#34381
jbardin merged 1 commit intov1.6from
backport/jbardin/unmanaged-plugin-schema-cache/absolutely-vital-shiner

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Dec 8, 2023

Backport

This PR is auto-generated from #34380 to be assessed for backporting due to the inclusion of the label 1.6-backport.

The below text is copied from the body of the original PR.


Unmanaged plugins use a slightly different factory function which was missed when adding the address to the plugin struct. This made little difference in most cases, but now with the new global schema cache it would prevent the plugin's schema from being cached due to lack of a key. The end result was acceptance tests for very large providers would take considerably longer due to the overhead of repeatedly generating the schema.

There is no good way to check the internals of an unmanaged provider in a unit test, but this PR puts the setup functionality in a single helper function so that unmanaged providers use the same setup codepath as the standard set of plugins.


Overview of commits

@ghost ghost assigned jbardin Dec 8, 2023
@ghost ghost requested a review from jbardin December 8, 2023 18:24
@ghost ghost force-pushed the backport/jbardin/unmanaged-plugin-schema-cache/absolutely-vital-shiner branch 2 times, most recently from 6ac4fc6 to 591b108 Compare December 8, 2023 18:24
@jbardin jbardin merged commit ce69c52 into v1.6 Dec 8, 2023
@jbardin jbardin deleted the backport/jbardin/unmanaged-plugin-schema-cache/absolutely-vital-shiner branch December 8, 2023 18:35
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 8, 2023

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 8, 2024

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant