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

Permit extended plugins to share code #110011

Merged
merged 2 commits into from
Jun 20, 2024
Merged

Conversation

prdoyle
Copy link
Contributor

@prdoyle prdoyle commented Jun 20, 2024

This allows the situation where a plugin A extends plugins B and C, and also B extends C. There's no actual trouble here, because there's only going to be one of each class in use at runtime, but we're currently forbidding it.

@prdoyle prdoyle requested a review from a team as a code owner June 20, 2024 20:04
@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v8.15.0 labels Jun 20, 2024
@prdoyle prdoyle added >non-issue :Core/Infra/Plugins Plugin API and infrastructure Team:Core/Infra Meta label for core/infra team labels Jun 20, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Jun 20, 2024
Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

Change looks good, just have to wait for CI to not be borked.

@prdoyle
Copy link
Contributor Author

prdoyle commented Jun 20, 2024

Hmm maybe we should leave the check and log an info when this happens. That way if it turns out we were overexuberant in deleting it, we'll at least have a clue from the logs.

@rjernst
Copy link
Member

rjernst commented Jun 20, 2024

maybe we should leave the check and log an info when this happens

If there is a real problem the real jar hell check right below will catch it. I think we can safely remove this.

@prdoyle prdoyle merged commit 074db30 into elastic:main Jun 20, 2024
15 checks passed
@prdoyle prdoyle deleted the relax-jarhell branch June 20, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Plugins Plugin API and infrastructure >non-issue Team:Core/Infra Meta label for core/infra team v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants