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

fix: project filter (#9651) #9709

Merged
merged 1 commit into from Jun 17, 2022

Conversation

crenshaw-dev
Copy link
Collaborator

@crenshaw-dev crenshaw-dev commented Jun 17, 2022

Fixes #9651

The query param for the initial list was correct. But the subsequent watch was not, so server-side filtering wasn't applied.

The break occurred when the field name changed in the gRPC upgrade: https://github.com/argoproj/argo-cd/pull/8929/files#diff-3305434591ea185f5c784bb266fe01e0500e99e0ee76952a566d7f1f8b8b6489R46

Thanks to @keithchong for pointing out that it looked like server-side filtering wasn't working!

Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
@crenshaw-dev crenshaw-dev added the cherry-pick/2.4 Candidate for cherry picking into the 2.4 release branch label Jun 17, 2022
@codecov
Copy link

codecov bot commented Jun 17, 2022

Codecov Report

Merging #9709 (5145f47) into master (6c4a6b7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9709   +/-   ##
=======================================
  Coverage   45.78%   45.78%           
=======================================
  Files         226      226           
  Lines       26713    26713           
=======================================
  Hits        12231    12231           
  Misses      12818    12818           
  Partials     1664     1664           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c4a6b7...5145f47. Read the comment docs.

@keithchong
Copy link
Contributor

Ah yes. That was the piece I was missing :-). Tested this change and it works. LGTM.

@crenshaw-dev crenshaw-dev merged commit dfeacd3 into argoproj:master Jun 17, 2022
@crenshaw-dev crenshaw-dev deleted the fix-project-filter branch June 17, 2022 20:39
crenshaw-dev added a commit that referenced this pull request Jun 21, 2022
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
@crenshaw-dev
Copy link
Collaborator Author

Cherry-picked onto release-2.4 for 2.4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick/2.4 Candidate for cherry picking into the 2.4 release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Project filter is not applied to refreshing applications from other projects
3 participants