How often does promotion step git-wait-for-pr query github? #3237
-
Hey, I just started playing with Kargo and added git-wait-for-pr to my promotion. Is it triggered every time the reconcile loop runs? How often is that? Any help in this area would be helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes. Exactly.
🤷♂️ If the Promotion is still "running" (waiting on something external like a PR, really), it gets requeued after five minutes... unless something else makes it get requeued sooner. Once it's on the queue, the time until it's reconciled is obviously a function of things like queue depth, number of workers, and what the workers are up to. So the exact interval is indefinite, unfortunately. There's an open issue for adding a webhook: #647 Priorities have shifted between then and now, so it hasn't gotten any real attention, but it's absolutely still something we want.
It may interest you to know that if you refresh the Stage, it will force the Promotion back onto the queue as well. This is what I do if I'm in a hurry. |
Beta Was this translation helpful? Give feedback.
Yes. Exactly.
🤷♂️ If the Promotion is still "running" (waiting on something external like a PR, really), it gets requeued after five minutes... unless something else makes it get requeued sooner.
Once it's on the queue, the time until it's reconciled is obviously a function of things like queue depth, number of workers, and what the workers are up to.
So the exact interval is indefinite, unfortunately.
There's an open issue for adding a webhook: #647
Priorities have shifted between then and now, so it hasn't gotten any real attention, but it's absolutely still something we want.