[OE] Plugins should bootstrap with --single-version=loose #6307
Labels
build
Build related additions or modifications
enhancement
New feature or request
good first issue
Good for newcomers
operational excellence
Is your feature request related to a problem? Please describe.
By default, plugins will bootstrap as strict. This will compare dependencies with a lazy string compare and fail the build completely. Even for semvers that are the same, it will still fail.
This blocks developers from implementing with other plugins easily and prevents the distribution from being built with the plugin causing issues to be caught last minute.
Describe the solution you'd like
#5675 adds the support to be less strict about the version.
Within OpenSearch Dashboards
main
we should default the single-version to be loose. As we can do that with breaking changes.Within 2.x we should audit all the OpenSearch Dashboards plugins within this OpenSearch project and create an issue or update their script to pass this value.
Thus we can ensure successful builds within the build pipeline and rely on integration tests to verify the run time of the application.
Describe alternatives you've considered
n/a
Additional context
Related issue:
#5953
The text was updated successfully, but these errors were encountered: