#1057 handle action priority somehow
Closed: Fixed 4 years ago by praiskup. Opened 4 years ago by praiskup.

We have priority support in action queue now, but there's no priority setup for actions. We should add something, because otherwise the initial builds in freshly created projects can fail:

copr create test-project --chroot fedora-rawhide-x86_64 # triggers createrepo action
copr build test-project my.src.rpm # starts faster than previous action gets processed

That's because 5df340e; usually, if there's small action queue -- the initial action is going to be processed very fast, and https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=37b6c9f2e512f964ebb6130bf0921e216e17fe70 will save use. But with larger queue, the initial build may fail for a long time.

IOW, the "initial createrepo" action should have very high priority, it is prompt action anyways (createrepo on empty directory is for free..).


Well, we can invent any other solution to the problem - but we should somehow guarantee that the first build doesn't fail.

Metadata Update from @praiskup:
- Issue tagged with: release-blocker

4 years ago

Login to comment on this ticket.

Metadata