Manual build requests of charm/snap recipes never clear is_stale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Setting automatic build on branch change did not take last merged commit into account.
I had just pushed a new version of requirements.txt and charmcraft.yaml files in this merge:
https:/
This should have triggered a build with charmhelpers dependency and only on amd64 but instead I got a charm without the required lib and built on all architectures:
Successfully built 1 hour ago buildlog (16.8 KiB) arm64
Successfully built 1 hour ago buildlog (16.7 KiB) armhf
Successfully built 1 hour ago buildlog (16.7 KiB) s390x
Successfully built 1 hour ago buildlog (16.8 KiB) ppc64el
Successfully built 1 hour ago buildlog (16.8 KiB) amd64
https:/
Realized that after scratching my head about why the lib was still missing from my newly built charm. Manually requesting a build after a while did trigger a build only on amd64 with the proper lib pulled into the charm.
I don't know how it came to this, but it seems latest commit was not taken into account when building on branch change.
Happened again, twice in a row on that same project.