mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-18 19:31:25 +00:00
e23a83e859
When polling RH Errata, Apollo sets the last sync date to the first advisory we process (advisories are synced in descending order). If a failure happens while processing newer advisories, the sync is already set and the system skips over advisories it has NOT yet processed. This PR sets the mirror state in a parent transaction, then commits that transaction if no failures occur. Skipping advisories when an error occurs is also reworked, where the first failure fails the workflow. The workflow will retry on its normal schedule. |
||
---|---|---|
.. | ||
cmd | ||
db | ||
impl/v1 | ||
migrate | ||
proto/v1 | ||
rherrata | ||
rhsecurity | ||
rhsecuritymock | ||
rpmutils | ||
ui | ||
worker | ||
workflow | ||
BUILD.bazel | ||
seed.sql |