Skip to content

Conversation

@Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Nov 10, 2025

Description

Companion to opensearch-project/sql-cli#42: Runs some tests & checks against basic compilation breakage for the SQL CLI.

The CLI tests aren't very robust. For better testing, I understand the plan is to wait for the PPL unification that @dai-chen is working on and write a suite around it.

At some point I'll need to make the _shard_doc changes configurable and start testing on a compatibility matrix, but this at least should keep the live branches of each repo in sync for now.

Related Issues

N/A

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

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.

@Swiddis Swiddis added the infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc. label Nov 10, 2025
Comment on lines 9 to 32
- 'api/**'
- 'sql/**'
- 'ppl/**'
- 'core/**'
- 'opensearch/**'
- 'common/**'
- 'protocol/**'
- '**/*.gradle'
- '.github/workflows/sql-cli-integration-test.yml'
push:
branches:
- main
- '[0-9]+.[0-9]+'
- '[0-9]+.x'
paths:
- 'api/**'
- 'sql/**'
- 'ppl/**'
- 'core/**'
- 'opensearch/**'
- 'common/**'
- 'protocol/**'
- '**/*.gradle'
- '.github/workflows/sql-cli-integration-test.yml'
Copy link
Member

Choose a reason for hiding this comment

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

Just curious why do we need these paths, why shouldn't we run this for all updates (except docs)? can path-ignore be shorter here ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just nice to have if we only match what we need, I updated these to match what we have for sql-test-and-build-workflow instead.

Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
@Swiddis
Copy link
Collaborator Author

Swiddis commented Nov 11, 2025

CLI tests passed

@Swiddis Swiddis requested a review from RyanL1997 as a code owner November 11, 2025 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants