From 7821dbe9a981ad26448bb42affa1e3eff860a3d4 Mon Sep 17 00:00:00 2001 From: JSONbored <49853598+JSONbored@users.noreply.github.com> Date: Tue, 7 Jul 2026 02:40:24 -0700 Subject: [PATCH] test(queue): update a now-stale unhandled-verb test to a verb that still has none A test asserting "@gittensory configuration" has no dispatch handler went stale once #3983 wired one up. Swapped to "pause", which still has none, matching the test's own stated title/intent -- unaffected by (and not duplicating) the moderation-decay-days clamp fix another concurrent PR already shipped. --- test/unit/queue.test.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/unit/queue.test.ts b/test/unit/queue.test.ts index c6ea2e1cc6..2ac10a9457 100644 --- a/test/unit/queue.test.ts +++ b/test/unit/queue.test.ts @@ -22797,13 +22797,14 @@ 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. + // No handler claims a bare "pause" comment yet (its dispatch lands in a follow-up bounty -- unlike + // "resolve"/"configuration", which now have their own handlers), 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();