Skip to content

Folding should clean packages from both security and updates

Background

The folding process in automated using Gitlab CI in https://gitlab.apertis.org/infrastructure/apertis-infrastructure/ however there is a corner case which is not handled properly.

If a package receives an update in -update and later a new one in -security the logic is not able to properly check and clean the branches. The packages are showed in the folding logs with the "MERGE" like

https://gitlab.apertis.org/infrastructure/apertis-infrastructure/-/jobs/4182535

In this case the job reports success, and allows the user to continue with the cleaning, but the cleaning is not properly handled.

In order to improve this, the logic should confirm that the latest version has been merged and after that clean both -updates and -security.

Reproducibility

How often the issue is hit when repeating the steps to reproduce and changing nothing?

Put the in the most appropriate entry:

  1. always
  2. often, but not always
  3. rarely

Impact of bug

Due to this limitation manual work is required to properly clean up after the folding.

Outcomes

TBD

Management data

This section is for management only, it should be the last one in the description.

/cc @em @balasubramanian @sudarshan @wlozano

Phabricator link: https://phabricator.apertis.org/T11030

Edited by Apertis CI robot