Skip to content

Conversation

@Lindsay-00
Copy link
Contributor

@Lindsay-00 Lindsay-00 commented Oct 9, 2025

Description

This PR fixes the version mismatch between the Query Insights (QI) and Workload Management (WLM) plugins in the build pipeline. The workflow now automatically determines the correct branch to check out for the OpenSearch repository:

  • It extracts the QI version from the QI plugin’s build.gradle file.
  • It checks out the main branch of the OpenSearch repo and extracts its version from buildSrc/version.properties.

The two versions are compared:

  • If they match, the workflow continues on the main branch of the OpenSearch repo.
  • If they differ, it switches to the branch corresponding to the same version as QI.

This ensures that both QI and WLM are built against consistent OpenSearch versions in the pipeline.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Lingxi Chen <lingxich@amazon.com>
Signed-off-by: Lingxi Chen <lingxich@amazon.com>
@peterzhuamazon
Copy link
Member

Resolved in #399

@peterzhuamazon
Copy link
Member

Pending #400

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants