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

Sql cli/compat matrix #1026

Merged
merged 4 commits into from
Jan 20, 2023
Merged

Sql cli/compat matrix #1026

merged 4 commits into from
Jan 20, 2023

Conversation

dimberman
Copy link
Contributor

Description

This pull requests allows the Astro CLI to consult the SQL CLI for a compatibility check before adding the SQL CLI to the docker image. This ensures that we do not download a new version of the SQL CLI that breaks the Astro CLI

🎟 Issue(s)

Related #XXX

🧪 Functional Testing

List the functional testing steps to confirm this feature or fix.

📸 Screenshots

Add screenshots to illustrate the validity of these changes.

📋 Checklist

  • Rebased from the main (or release if patching) branch (before testing)
  • Ran make test before taking out of draft
  • Ran make lint before taking out of draft
  • Added/updated applicable tests
  • Tested against Astro-API (if necessary).
  • Tested against Houston-API and Astronomer (if necessary).
  • Communicated to/tagged owners of respective clients potentially impacted by these changes.
  • Updated any related documentation

@dimberman dimberman changed the base branch from main to 1473-check-python-sdk-version January 18, 2023 18:51
@dimberman dimberman marked this pull request as ready for review January 18, 2023 21:36
@dimberman dimberman force-pushed the sql-cli/compat-matrix branch from f3458d3 to a501ac5 Compare January 18, 2023 21:40
Base automatically changed from 1473-check-python-sdk-version to main January 19, 2023 09:29
cmd/sql/flow.go Outdated Show resolved Hide resolved
…compatibility check before adding the SQL CLI to the docker image. This ensures that we do not download a new version of the SQL CLI that breaks the Astro CLI
@dimberman dimberman force-pushed the sql-cli/compat-matrix branch from 9666d53 to 25db39c Compare January 19, 2023 18:44
@codecov
Copy link

codecov bot commented Jan 19, 2023

Codecov Report

Base: 87.69% // Head: 87.72% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (cc2e51c) compared to base (e4c587b).
Patch coverage: 84.21% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1026      +/-   ##
==========================================
+ Coverage   87.69%   87.72%   +0.02%     
==========================================
  Files         113      113              
  Lines       10159    10156       -3     
==========================================
  Hits         8909     8909              
+ Misses        733      732       -1     
+ Partials      517      515       -2     
Impacted Files Coverage Δ
sql/flow.go 92.71% <77.77%> (+0.14%) ⬆️
sql/flow_config.go 86.04% <90.00%> (+4.41%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kushalmalani kushalmalani merged commit 9e84f32 into main Jan 20, 2023
@kushalmalani kushalmalani deleted the sql-cli/compat-matrix branch January 20, 2023 01:21
kushalmalani pushed a commit that referenced this pull request Jan 20, 2023
* This pull requests allows the Astro CLI to consult the SQL CLI for a compatibility check before adding the SQL CLI to the docker image. This ensures that we do not download a new version of the SQL CLI that breaks the Astro CLI

* increase coverage

* increase coverage

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

4 participants