Skip to content

How often does promotion step git-wait-for-pr query github? #3237

Answered by krancour
nissessenap asked this question in Q&A
Discussion options

You must be logged in to vote

Is it triggered every time the reconcile loop runs?

Yes. Exactly.

How often is that?

🤷‍♂️ 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.

unless something else makes it get…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@nissessenap
Comment options

@krancour
Comment options

Answer selected by nissessenap
Comment options

You must be logged in to vote
1 reply
@krancour
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants