peridot/apollo
Mustafa Gezen e23a83e859
Fix Apollo skipping errata if failure happens after updating last sync
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.
2022-11-06 04:39:28 +01:00
..
cmd Add chart manifests to all services except Apollo UI 2022-10-31 16:38:32 +01:00
db Remove dead code (deploy test 4) 2022-11-01 04:27:24 +01:00
impl/v1 Bump image version to v0.3.19 (Prow) 2022-11-01 04:11:51 +01:00
migrate Rename all to rules_resf and resf_frontend 2022-10-30 08:58:16 +01:00
proto/v1 Sync-01 - 10/30/2022 2022-10-30 02:59:43 +01:00
rherrata Sync-01 - 10/30/2022 2022-10-30 02:59:43 +01:00
rhsecurity Sync-01 - 10/30/2022 2022-10-30 02:59:43 +01:00
rhsecuritymock Sync-01 - 10/30/2022 2022-10-30 02:59:43 +01:00
rpmutils Sync-01 - 10/30/2022 2022-10-30 02:59:43 +01:00
ui Fix header wrapping in safari. Add tooltip to type/severity row icons 2022-11-02 09:09:13 -07:00
worker Sync-01 - 10/30/2022 2022-10-30 02:59:43 +01:00
workflow Fix Apollo skipping errata if failure happens after updating last sync 2022-11-06 04:39:28 +01:00
BUILD.bazel Sync-01 - 10/30/2022 2022-10-30 02:59:43 +01:00
seed.sql Sync-01 - 10/30/2022 2022-10-30 02:59:43 +01:00