From 39525547b59108e147ca5f41b7bb8bd697262900 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Tue, 24 Mar 2026 18:57:42 +0000 Subject: [PATCH] add in-memory trigger dedup with Zod-validated search params (#496) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add in-memory trigger dedup with Zod-validated search params replace scattered manual validation (isValidAction, required review_id/comment_id checks, silent action default) with a discriminated union Zod schema. dedup double-clicks via a module-level Map with 30s TTL — no migration, no new table. Made-with: Cursor * update model snapshot (xai latest → grok-4.20-multi-agent-0309) Made-with: Cursor --- test/__snapshots__/models.test.ts.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/__snapshots__/models.test.ts.snap b/test/__snapshots__/models.test.ts.snap index 7a2f1ec..ee92ed2 100644 --- a/test/__snapshots__/models.test.ts.snap +++ b/test/__snapshots__/models.test.ts.snap @@ -31,8 +31,8 @@ exports[`latest model per provider snapshot > matches snapshot 1`] = ` "releaseDate": "2026-03-18", }, "xai": { - "modelId": "grok-4-1-fast-non-reasoning", - "releaseDate": "2025-11-19", + "modelId": "grok-4.20-multi-agent-0309", + "releaseDate": "2026-03-09", }, } `;