Skip to content

[WIP] ROX-32722: Optimize ListDeployment queries with column selection#19253

Open
AlexVulaj wants to merge 1 commit intomasterfrom
AlexVulaj/ROX-32772-list-deployment-view-optimization
Open

[WIP] ROX-32722: Optimize ListDeployment queries with column selection#19253
AlexVulaj wants to merge 1 commit intomasterfrom
AlexVulaj/ROX-32772-list-deployment-view-optimization

Conversation

@AlexVulaj
Copy link
Contributor

Description

GetManyListDeployments and GetListDeployment were fetching full serialized deployment protos and deserializing them, then extracting only 7 fields for ListDeployment responses.

This PR creates a ListDeploymentView struct and updates both methods to use RunSelectRequestForSchemaFn with explicit column selection.

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

Relying on existing unit/integration tests.

@rhacs-bot
Copy link
Contributor

rhacs-bot commented Mar 2, 2026

Images are ready for the commit at 7733241.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-212-g7733241548.

@AlexVulaj AlexVulaj force-pushed the AlexVulaj/ROX-32772-list-deployment-view-optimization branch from 8603022 to 2b92876 Compare March 2, 2026 19:31
@AlexVulaj AlexVulaj force-pushed the AlexVulaj/ROX-32772-list-deployment-view-optimization branch from 2b92876 to 7733241 Compare March 2, 2026 21:19
@openshift-ci
Copy link

openshift-ci bot commented Mar 2, 2026

@AlexVulaj: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/gke-nongroovy-e2e-tests 7733241 link true /test gke-nongroovy-e2e-tests
ci/prow/gke-ui-e2e-tests 7733241 link true /test gke-ui-e2e-tests
ci/prow/gke-qa-e2e-tests 7733241 link false /test gke-qa-e2e-tests
ci/prow/ocp-4-12-nongroovy-e2e-tests 7733241 link false /test ocp-4-12-nongroovy-e2e-tests
ci/prow/ocp-4-20-nongroovy-e2e-tests 7733241 link false /test ocp-4-20-nongroovy-e2e-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@AlexVulaj AlexVulaj changed the title ROX-32722: Optimize ListDeployment queries with column selection [WIP] ROX-32722: Optimize ListDeployment queries with column selection Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants