zuul/zuul/driver
Simon Westphahl 29592c9531 Allow refreshing volatile data in canMerge check
On GitHub we cannot reliably update all information that's needed for
doing a canmerge check using events. Namely completely missing events
on branch protection changes and ambiguous status events that might
match several changes due to its data model to have statuses on the
commit instead the pr. This was no problem in the past since this
information was only used during the enqueue phase which is directly
after the event preprocessing phase.

However with circular dependencies we re-do the can merge check just
before merging again and need to act on recent data. Therefore add an
allow_refresh flag that makes it possible to refresh the volatile
parts of the data we don't get events for. This is only used on GitHub
for now as the other drivers are either correctly updating their
states using events or didn't yet optimize to not do api calls within
the main loop yet (pagure).

Change-Id: I89ff158642fe32c5004ef62c2e25399110564252
2021-03-01 18:45:02 +00:00
..
auth Bump pyjwt to 2.0.0 2021-01-14 12:35:18 +00:00
bubblewrap Stop bind mounting zuul dir into bwrap 2019-06-22 18:36:21 -04:00
elasticsearch Added timestamp field, changed duration field type; improve doc 2021-01-14 10:38:34 +01:00
gerrit Allow refreshing volatile data in canMerge check 2021-03-01 18:45:02 +00:00
git Allow refreshing volatile data in canMerge check 2021-03-01 18:45:02 +00:00
github Allow refreshing volatile data in canMerge check 2021-03-01 18:45:02 +00:00
gitlab Allow refreshing volatile data in canMerge check 2021-03-01 18:45:02 +00:00
mqtt Add commit id and owner to Change for mqtt reporter 2020-09-22 10:26:15 +02:00
nullwrap Log cpu times of ansible executions 2018-07-14 10:32:06 +02:00
pagure Allow refreshing volatile data in canMerge check 2021-03-01 18:45:02 +00:00
smtp Include ref info in smtp reporter subjects 2019-08-19 12:32:40 -07:00
sql Merge "Support emitting warnings via zuul_return" 2021-02-24 17:59:03 +00:00
timer Disable misfire grace time of apscheduler job 2020-02-20 07:22:30 +01:00
zuul Record and report time for trigger events 2019-07-18 06:56:23 +02:00
__init__.py web: add tenant and project scoped, JWT-protected actions 2019-07-10 12:11:14 +02:00
util.py Add driver-specific pipeline requirements 2017-05-19 13:24:00 -07:00