-
Notifications
You must be signed in to change notification settings - Fork 420
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
Resolving cache sync issues #1037
Conversation
The factory stops syncing based on the context tthat is passed into the Start function. We should wait for the cache sync with the short timeout, but the factory should run for the lifetime of the eventlistener, hence the root context object, with ctx.Done(), as it was before tektoncd#1013
See #1026 for a test case that you can use to reproduce the issue and demonstrate that it is fixed |
/assign @ncskier |
Hey @jmcshane Thanks for the quick fix 👍 I have verified locally on minikube and its working as expected |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: savitaashture The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Changes
The factory stops syncing based on the context that is passed into the Start
function. We should wait for the cache sync with the short timeout, but the
factory should run for the lifetime of the eventlistener, hence the root
context object, with ctx.Done(), as it was before #1013
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
Release Notes
Closes #1026
Closes #1036