diff --git a/ui/src/components/ExecutionBlockerNotice.test.tsx b/ui/src/components/ExecutionBlockerNotice.test.tsx index 1dcffa21447..dcf7aac9d16 100644 --- a/ui/src/components/ExecutionBlockerNotice.test.tsx +++ b/ui/src/components/ExecutionBlockerNotice.test.tsx @@ -38,12 +38,9 @@ describe("ordinary task interruption", () => { expect(container.querySelector("a, details, input, textarea")).toBeNull(); expect(container.textContent).not.toMatch(/service attention|process|receipt|workspace/i); }); - it("asks the person to help a blocked agent and offers Retry", async () => { + it("does not report a failed attempt for a task the agent handed to a person", async () => { await render({ ...failed, responsibility: "user", state: "waiting_for_user", userAction: "unblock" }); - expect(container.textContent).toContain("needs your help to continue"); - expect(container.textContent).not.toMatch(/blocker_|native|owner kind/i); - await act(async () => container.querySelector('[data-testid="task-execution-retry"]')!.click()); - expect(retry).toHaveBeenCalledOnce(); + expect(container.textContent).toBe(""); }); it.each([false, true])("names the question without repeating a historical failure (manual Retry=%s)", async canRetry => { diff --git a/ui/src/components/ExecutionBlockerNotice.tsx b/ui/src/components/ExecutionBlockerNotice.tsx index 840d1b8e88b..15f50a1bdf7 100644 --- a/ui/src/components/ExecutionBlockerNotice.tsx +++ b/ui/src/components/ExecutionBlockerNotice.tsx @@ -123,16 +123,6 @@ export function ExecutionBlockerNotice({ presentation, canRetry, onRetry, optimi ); - if (!optimistic && presentation?.userAction === "unblock") return ( -
-
-
-
- ); if (optimistic || !presentation || presentation.responsibility !== "system" || !["failed", "retry_scheduled"].includes(presentation.state)) return null; return (