Release syncing is being retried for all branches when it is not possible to download archive #2447
Labels
area/fedora
Related to Fedora ecosystem
complexity/single-task
Regular task, should be done within days.
gain/high
This brings a lot of value to (not strictly a lot of) users.
impact/low
This issue impacts only a few users.
kind/bug
Something isn't working.
Related code:
packit-service/packit_service/worker/handlers/distgit.py
Lines 443 to 457 in 3531669
If it is not possible to download the archive at least for one of the branches, all the branches are being retried no matter whether they ran successfully (probably coming from the assumption that the source being download is the same for all branches). That results in confusing behaviour for branches where the syncing already went successfully - multiple rebases in the created PR.
Reported by @ljavorsk for https://src.fedoraproject.org/rpms/man-pages-l10n/pull-request/23#. In this case the
Source
is different for the branches (in one incorrectly formatted).The text was updated successfully, but these errors were encountered: