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

live query fixes #125

Merged
merged 5 commits into from
Sep 19, 2023
Merged

live query fixes #125

merged 5 commits into from
Sep 19, 2023

Conversation

avalanche123
Copy link
Collaborator

Signed-off-by: Bulat Shakirzyanov 83289+avalanche123@users.noreply.github.com

Description of your changes

  • fix live query condition in informer listener.
  • add blocking wait while waiting for live query notifications.
  • fix json path generation to handle cases of object moved and modified.

I have:

  • Read and followed Upbound's contribution process.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

Testing it on a local cluster.

Signed-off-by: Bulat Shakirzyanov <83289+avalanche123@users.noreply.github.com>
Copy link
Member

@tnthornton tnthornton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love to see some more tests in here. It seems like we have quite a bit of complexity that will be hard to manage by other devs coming in and attempting to extend or fix current behavior.

I won't block on this for now, but in the interim could you add some TODOs to get additional test coverage around the logic that was introduced/adjusted?

Signed-off-by: Bulat Shakirzyanov <83289+avalanche123@users.noreply.github.com>
Signed-off-by: Bulat Shakirzyanov <83289+avalanche123@users.noreply.github.com>
Signed-off-by: Bulat Shakirzyanov <83289+avalanche123@users.noreply.github.com>
Signed-off-by: Bulat Shakirzyanov <83289+avalanche123@users.noreply.github.com>
@avalanche123 avalanche123 merged commit 7c1b213 into upbound:main Sep 19, 2023
8 checks passed
@avalanche123 avalanche123 deleted the live-query-fixes branch September 19, 2023 20:01
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