39f0de34f2cc36c7fb36a1064d0277f3238d7191
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m23s
Tiny fires one webhook per status change, often under a minute apart (e.g. "Preparando envio" -> "Pronto para envio"). The 120s order details cache was keyed only by order ID, so the second webhook reused the first fetch and forwarded the previous situacao to n8n, which then skipped the message (notably the pickup "Pronto para envio" notification). Key the cache and in-flight dedupe by order ID + webhook codigoSituacao, so a status change always refetches while same-status duplicates still share one Tiny call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
99.6%
Dockerfile
0.4%