Answer stability round 1: 0 🔴, 4 🟡 (0 misread); refuse an empty blocker or parent, scope the fake's blocker check to the epic, check the link's direction in the e2e, assert the next-step command only
CI / tests (pull_request) Failing after 4m38s

This commit is contained in:
Lilleman
2026-11-19 16:46:27 +01:00
parent 90352d74c4
commit b832c1e669
8 changed files with 64 additions and 7 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class MemoryEpic:
return refused
if parent != self.epic_key and parent not in {issue.key for issue in self.issues if issue.parent == self.epic_key}:
return no_parent(self.epic_key, parent)
if blocked_by is not None and blocked_by not in {issue.key for issue in self.issues}:
if blocked_by is not None and blocked_by not in {issue.key for issue in self.read()}:
return no_blocker(self.epic_key, blocked_by)
key = f"{self.epic_key.rpartition('-')[0]}-{len(self.issues) + 100}"
self.issues.append(EpicIssue(key, summary, detail.strip(), tuple(sorted(labels)), None, "To Do", False, parent, blockers=(blocked_by,) if blocked_by else (), by_loop=True))