This was spotted during execution of GitLab test suite. When auto closing an artifact with smart commit, the first non open value is selected. Unfortunatly this value is "Canceled". We should review our templates so the first non open value is always some kind of "Done" not some kind of Canceled