ensky opened a new pull request, #20387:
URL: https://github.com/apache/superset/pull/20387
### SUMMARY
<!--- Describe the change below, including rationale and design decisions -->
Currently cache warmup feature is unusable due to #9597
This implement intend to fix it by following changes:
- Use security_manager.find_user to find a user credential
- Use WebDriverProxy to perform warmups
- In Superset, front-end tend to send multiple api with complex filter and
many options, which is difficult to replay via simple request apis. In order to
reduce the probability to cache the wrong slices or with wrong parameters, we
use web driver to simulate a user's real behavior.
- Refine WebDriverProxy to support multiple operations without re-initialize
web driver
- Cache toward dashboard instead of slices, because slices cache aren't
always able to use in dashboards
### TESTING INSTRUCTIONS
<!--- Required! What steps can be taken to manually verify the changes? -->
### ADDITIONAL INFORMATION
<!--- Check any relevant boxes with "x" -->
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
- [v] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in
[SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]