-
Notifications
You must be signed in to change notification settings - Fork 74
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
CEL Filters across Results return multiple duplicate records #450
Comments
Would #404 potentially fix this? |
I hope so. There are a couple of issues related to the current implementation that I'm trying to solve with this pull request. Did you catch this bug in the OpenShift installation? Would be possible to deploy that pull request there to confirm? Another collaborator found various issues related to search and pagination at #379. I'm waiting for his tests to make sure that they were resolved. |
@adambkaplan |
I am getting similar results as Sayan. |
I tested this PR #404, in my test szenario it worked. |
/close Perhaps part of my issue is that I experienced this issue when I was testing a demo script, which created/deleted the same namespace and pipelinerun over and over again. I was also running this locally on a I'm inclined to close this as "not reproducible" - if someone does encounter this issue on a real cluster with a real PostgresDB instance (on cluster or external), it is worth reopening. |
@adambkaplan: Closing this issue. In response to this:
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/test-infra repository. |
Expected Behavior
When using a CEL filter over the REST API that is likely to return a unique record, only one record should be returned.
Example:
Running
curl
againsthttps://<host>/apis/results.tekton.dev/v1alpha2/parents/default/results/-/records
with the following CEL expression as thefilter
query parameter:(the pipeline ran with a generated name)
Actual Behavior
The same
PipelineRun
records from the database are returned 5 times.Steps to Reproduce the Problem
tkn pipeline start
to run a pipeline with a generated name.Additional Info
Kubernetes version:
Output of
kubectl version
:Tekton Pipeline version:
The text was updated successfully, but these errors were encountered: