Closed gandelman-a closed 7 years ago
This looks to be caused by the cachecontrol library we're using for caching our github API requests. AFAICS it always using the max-age headers to do time-based caching before it ever tries to send a conditional request with the cached etags: https://github.com/ionrock/cachecontrol/blob/master/cachecontrol/adapter.py#L39
Done!
I hit this on the sandbox repo after automating the PR filing and approval process. the issue there was:
The gate never ended up triggering if the approval happened close to the check job finishing. Waiting some time (~60s) before adding the approval got it to trigger.
But we just noticed an issue in BonnyCI/hoist that feels similar and is reproducible on the sandbox:
In both cases, zuul thinks the PR does not match the pipeline requirements, with a log entry similar to: