-
Notifications
You must be signed in to change notification settings - Fork 840
[db] only query for specific fields of requests #7658
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
Conversation
|
/smoke-test --kubernetes --no-resource-heavy https://buildkite.com/skypilot-1/smoke-tests/builds/4575 |
f946837 to
5dbdd3d
Compare
a2efe80 to
c6fda18
Compare
|
/quicktest-core --base-branch v0.10.1 |
ed6c773 to
4ac465f
Compare
4ac465f to
0606a01
Compare
DanielZhangQD
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks! @SeungjinYang
|
/quicktest-core --base-branch v0.10.1 |
* only query for specific fields * fix ut * apply the same trick to individual request gets * fix UT
RequestTaskFilter had fields parameter introduced some days ago. This PR adds appropriate fields parameter to callers that do not need all of the parameters (especially request / response bodies) to perform their tasks.
Also does the same thing for get functions for a single request.
Tested (run the relevant ones):
bash format.sh/smoke-test(CI) orpytest tests/test_smoke.py(local)/smoke-test -k test_name(CI) orpytest tests/test_smoke.py::test_name(local)/quicktest-core(CI) orpytest tests/smoke_tests/test_backward_compat.py(local)