add in-memory trigger dedup with Zod-validated search params (#496)

* 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
This commit is contained in:
Colin McDonnell
2026-03-24 18:57:42 +00:00
committed by pullfrog[bot]
parent 3ff11f97eb
commit 39525547b5
+2 -2
View File
@@ -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",
},
}
`;