diff --git a/test/unit/queue.test.ts b/test/unit/queue.test.ts index c6ea2e1cc6..c2eb83af65 100644 --- a/test/unit/queue.test.ts +++ b/test/unit/queue.test.ts @@ -22797,13 +22797,15 @@ describe("queue processors", () => { installation: { id: 123, account: { login: "JSONbored", id: 1, type: "User" } }, repository: { name: "gittensory", full_name: "JSONbored/gittensory", private: false, owner: { login: "JSONbored" } }, issue: { number: 93, title: "Not yet wired", state: "open", user: { login: "contributor" }, pull_request: {} }, - comment: { id: 900, body: "@gittensory configuration", author_association: "OWNER", user: { login: "maintainer", type: "User" } }, + comment: { id: 900, body: "@gittensory pause", author_association: "OWNER", user: { login: "maintainer", type: "User" } }, sender: { login: "maintainer", type: "User" }, }, }); - // No handler claims a bare "configuration" comment yet (its dispatch lands in a follow-up bounty), so the Q&A - // answer-card path must bail rather than post a stray "help" card or any other Q&A comment. + // "pause" is a recognized action-command (GITTENSORY_ACTION_COMMAND_CATALOG) but has no maybeProcess*Command + // dispatch handler wired yet, unlike gate-override/resolve/configuration/plan -- its dispatch lands in a + // follow-up bounty, so the Q&A answer-card path must bail rather than post a stray "help" card or any other + // Q&A comment. expect(calls.comments).toBe(0); const feedback = await env.DB.prepare("select id from audit_events where event_type = ?").bind("github_app.agent_command_feedback_prompted").first<{ id: string }>(); expect(feedback ?? null).toBeNull();