Skip to content

Conversation

@SeungjinYang
Copy link
Collaborator

@SeungjinYang SeungjinYang commented Oct 17, 2025

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):

  • Code formatting: install pre-commit (auto-check on commit) or bash format.sh
  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: /smoke-test (CI) or pytest tests/test_smoke.py (local)
  • Relevant individual tests: /smoke-test -k test_name (CI) or pytest tests/test_smoke.py::test_name (local)
  • Backward compatibility: /quicktest-core (CI) or pytest tests/smoke_tests/test_backward_compat.py (local)

@SeungjinYang
Copy link
Collaborator Author

SeungjinYang commented Oct 17, 2025

/smoke-test --kubernetes --no-resource-heavy https://buildkite.com/skypilot-1/smoke-tests/builds/4575

@SeungjinYang SeungjinYang force-pushed the request-db-optimizations-4 branch from a2efe80 to c6fda18 Compare October 19, 2025 01:39
@SeungjinYang
Copy link
Collaborator Author

/quicktest-core --base-branch v0.10.1
/smoke-test --aws
/smoke-test --kubernetes

@SeungjinYang SeungjinYang force-pushed the request-db-optimizations-4 branch 2 times, most recently from ed6c773 to 4ac465f Compare October 19, 2025 18:11
@SeungjinYang SeungjinYang marked this pull request as draft October 19, 2025 19:02
@SeungjinYang SeungjinYang force-pushed the request-db-optimizations-4 branch from 4ac465f to 0606a01 Compare October 19, 2025 20:09
@SeungjinYang SeungjinYang marked this pull request as ready for review October 19, 2025 20:12
Copy link
Collaborator

@DanielZhangQD DanielZhangQD 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! @SeungjinYang

@SeungjinYang
Copy link
Collaborator Author

/quicktest-core --base-branch v0.10.1
/smoke-test --aws
/smoke-test --kubernetes

@SeungjinYang SeungjinYang merged commit a91e4d3 into master Oct 20, 2025
23 checks passed
@SeungjinYang SeungjinYang deleted the request-db-optimizations-4 branch October 20, 2025 05:06
kevinmingtarja pushed a commit that referenced this pull request Oct 21, 2025
* only query for specific fields

* fix ut

* apply the same trick to individual request gets

* fix UT
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.

3 participants