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

feature(cli): adding server and cli version match #2598

Merged

Conversation

xoscar
Copy link
Collaborator

@xoscar xoscar commented May 26, 2023

This PR adds a server version match for the CLI. It automatically breaks any command if we find a mismatch.

It is skipped if the TRACETEST_DEV flag is set.

Changes

  • Adds version match for server and CLI

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

https://www.loom.com/share/b09b566e12664f49bfcdcda73a079576

@xoscar xoscar added the CLI label May 26, 2023
@xoscar xoscar self-assigned this May 26, 2023
@xoscar xoscar linked an issue May 26, 2023 that may be closed by this pull request
@xoscar xoscar marked this pull request as ready for review May 26, 2023 17:06
@xoscar xoscar requested review from mathnogueira and jorgeepc and removed request for schoren, mathnogueira, jorgeepc and danielbdias May 26, 2023 17:48
Copy link
Member

@mathnogueira mathnogueira left a comment

Choose a reason for hiding this comment

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

other than the message, everything looks good.

@xoscar xoscar merged commit 96aa3c8 into main May 29, 2023
@xoscar xoscar deleted the 2298-cli-improvements-validate-that-server-and-cli-version-match branch May 29, 2023 20:22
schoren pushed a commit that referenced this pull request Jun 5, 2023
* feature(cli): adding server and cli version match

* feature(cli): adding server and cli version match

* feature(cli): adding stdout resulkt

* feature(cli): adding server and cli version match

* feature(cli): adding server env for version test

* fixing tests

* feature(cli): updating version mismatch error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CLI Improvements] validate that server and CLI version match
5 participants