Reword item 359: releases stay semver, and the loop keeps working when someone else cuts one

This commit is contained in:
2026-11-16 00:59:20 +01:00
parent 3c522160c9
commit 4447e89e48
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ def item(issue: Issue, project: str, ids: set[int]) -> Item | Failure:
"""The item an issue holds, without its detail. It is blocked by each of its blockers among ids, the plan's items: a blocker that is done or lies outside the epic doesn't make the item wait."""
release = earliest_release(issue.fix_versions)
if release is None:
# Until a project can tie its releases to something other than semver versions, an item with no release cannot be placed in the plan.
# A release is a semver version in every project, so an item with no release cannot be placed in the plan.
return Failure(f"{issue.key} names no Fix Version that is a semver version, such as 1.2.0; set one in Jira")
scored = scores(issue.key, issue.scores)
if isinstance(scored, Failure):