It seems that when newRepo tasks fail, the resulting repo can sometimes wind up being marked as expired, which is a problem because expired repos are elsewhere in the code considered valid for some purposes.
Koji has a repo state named PROBLEM that was intended for cases like this, but it seems to never actually get used, despite the repoProblem call that allows kojira to set it.
repoProblem
Metadata Update from @tkopecek: - Custom field Size adjusted to None - Issue set to the milestone: 1.34
Metadata Update from @tkopecek: - Issue set to the milestone: 1.35 (was: 1.34)
Is there some easy way, how to get from failed task to repo_id it created?
Commit f2da4b8e fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/3866
Please continue any further discussion there.