runbot/forwardport
Xavier Morel 557878afe9 [IMP] forwardport: processing queue reliability
The queue would get items to process one at a time, process, commit,
and go to the next. However this is an issue if one of the item fails
systematically for some reason (aka it's not just a transient
failure): the cron fails, then restarts at the exact same point, and
fails again with the same issue, leading to following items never
getting processed.

Fix by getting all the queue contents at once, processing them one by
one and "skipping" any item which fails (leaving it in place so it can
get re-processed later).

That way, even if an item causes issues, the rest of the queue gets
processed normally. The interruption was an issue following
odoo/enterprise#5670 not getting properly updated in the
backend (backend didn't get notified of the last two updates /
force-push to the PR, so it was trying to forward-port a commit which
didn't exist - and failing).
2019-10-10 08:41:33 +02:00
..
data [IMP] runbot_merge, forwardport: variable-user feedback 2019-09-21 15:23:42 +02:00
models [IMP] forwardport: processing queue reliability 2019-10-10 08:41:33 +02:00
tests [IMP] *: attempt to avoid some of the FP spam 2019-10-07 16:38:14 +02:00
__init__.py [ADD] forwardbot 2019-09-05 10:00:07 +02:00
__manifest__.py [ADD] forwardbot 2019-09-05 10:00:07 +02:00