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

chore(GAQ): Remove GLOBAL_ASYNC_QUERIES_REDIS_CONFIG #30284

Merged
merged 7 commits into from
Jan 22, 2025

Conversation

nsivarajan
Copy link
Contributor

SUMMARY

This PR follows up on #29912 and removes the deprecated GLOBAL_ASYNC_QUERIES_REDIS_CONFIG configuration in favor of the new GLOBAL_ASYNC_QUERIES_CACHE_BACKEND configuration. It is intended to be merged into version 5.0.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

Copy link

codecov bot commented Sep 15, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 83.46%. Comparing base (dfb9af3) to head (df76251).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
superset/async_events/async_query_manager.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #30284       +/-   ##
===========================================
+ Coverage        0   83.46%   +83.46%     
===========================================
  Files           0      546      +546     
  Lines           0    39284    +39284     
===========================================
+ Hits            0    32787    +32787     
- Misses          0     6497     +6497     
Flag Coverage Δ
hive 48.81% <75.00%> (?)
mysql 75.99% <75.00%> (?)
postgres 76.05% <75.00%> (?)
presto 53.30% <75.00%> (?)
python 83.46% <75.00%> (?)
sqlite 75.52% <75.00%> (?)
unit 61.08% <75.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nsivarajan nsivarajan marked this pull request as ready for review September 15, 2024 07:04
@dosubot dosubot bot added change:backend Requires changing the backend risk:breaking-change Issues or PRs that will introduce breaking changes labels Sep 15, 2024
@rusackas rusackas requested a review from villebro September 16, 2024 16:21
@rusackas
Copy link
Member

I think @villebro has the most context here, so I'll request his review, and re-start our flaky E2E test while I'm at it.

@rusackas rusackas added the review:checkpoint Last PR reviewed during the daily review standup label Sep 16, 2024
@michael-s-molina michael-s-molina removed the review:checkpoint Last PR reviewed during the daily review standup label Sep 17, 2024
@villebro
Copy link
Member

@nsivarajan can you rebase this PR? The breaking change window for 5.0 is open, so we can now merge this.

@nsivarajan
Copy link
Contributor Author

@villebro Sure - I'll update in two days

@nsivarajan nsivarajan force-pushed the deprecate-redis-config branch from 720a02f to 8aba2c4 Compare January 15, 2025 17:09
@pull-request-size pull-request-size bot added size/S and removed size/M labels Jan 15, 2025
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jan 15, 2025
@nsivarajan
Copy link
Contributor Author

Hi @villebro,
I've pushed the recent commits to the PR. Could you please assist with the review when you have time?

@villebro villebro added the v5.0 Label added by the release manager to track PRs to be included in the 5.0 branch label Jan 17, 2025
Copy link
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

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

Looks good! One redundant comment found + we need to add a comment to UPDATING.md to alert about the breaking change. Under the "Next" heading you should add a note pointing to this PR that states that the old config flag has been removed in favor of the new one, preferably explaining how to change the old config to the new one. After that we can merge this.

superset/async_events/async_query_manager.py Outdated Show resolved Hide resolved
@villebro
Copy link
Member

@nsivarajan UPDATING.md entry looks good, but it seems the rebase was unsuccessful, as there's been some unrelated changes. Can you fix the conflict and make sure only your change is present in the diff?

Copy link
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the quick updates!

@villebro villebro changed the title chore(GAQ): [Merge 5.0] Breaking change: Remove GLOBAL_ASYNC_QUERIES_REDIS_CONFIG chore(GAQ): Breaking change: Remove GLOBAL_ASYNC_QUERIES_REDIS_CONFIG Jan 18, 2025
@villebro villebro changed the title chore(GAQ): Breaking change: Remove GLOBAL_ASYNC_QUERIES_REDIS_CONFIG chore(GAQ): Remove GLOBAL_ASYNC_QUERIES_REDIS_CONFIG Jan 18, 2025
@nsivarajan
Copy link
Contributor Author

Thanks, @villebro, for all the guidance. As always, it's been very helpful!

@villebro
Copy link
Member

Thanks, @villebro, for all the guidance. As always, it's been very helpful!

@nsivarajan it was my pleasure, thanks for taking care of this important breaking change for 5.0! I'm rerunning some flaky CI tests, will merge once CI is green.

@michael-s-molina
Copy link
Member

The E2E failure is unrelated to this PR and will be fixed by #31933.

@villebro villebro closed this Jan 21, 2025
@villebro villebro reopened this Jan 21, 2025
@villebro
Copy link
Member

Close/reopen to restart CI after fixed flaky test.

@villebro
Copy link
Member

@nsivarajan can you rebase the PR to see if the flaky test now passes? Closing/reopening didn't resolve the issue.

@nsivarajan
Copy link
Contributor Author

@villebro - Thanks again, finally all green! please help to merge.

@villebro
Copy link
Member

Finally!

@villebro villebro merged commit 78cd635 into apache:master Jan 22, 2025
45 checks passed
hainenber pushed a commit to hainenber/superset that referenced this pull request Jan 22, 2025
@michael-s-molina michael-s-molina removed the v5.0 Label added by the release manager to track PRs to be included in the 5.0 branch label Feb 3, 2025
sfirke pushed a commit to sfirke/superset that referenced this pull request Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:backend Requires changing the backend risk:breaking-change Issues or PRs that will introduce breaking changes size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants