#1678 Enforce sane state transitions
Closed: Fixed by mikem. Opened by mikem.

Currently we are seeing duplicate events in mbs. E.g. where the build handler is called multiple times for a given build. This leads to a mess of duplicate tasks and broken builds.

Currently, the init handler ignores duplicate init events, but the others do not.

While duplicate messages are themselves a bug, we should not compound the issue by letting them break builds.


As there is some caution about this change, we may want to make it configurable via a boolean flag at first.

Commit 7b56c642 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/1678

Please continue any further discussion there.

Metadata
Related Pull Requests