typebot.io/packages/scripts
Baptiste Arnaud 85eb843c42
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Deploy Workflows (Fly.io) / deploy (push) Has been cancelled
🐛 Fix monthly cron tx timeout when deleting archived typebots (#2481)
- Delete archived results in batches of 500 before
`prisma.typebot.deleteMany` to avoid Prisma cascade wrapping the entire
delete in a single Vitess transaction that exceeds the max duration
- Use `prisma.$primary().result.findMany` for the batch lookup so read
replica lag does not exit the loop while results still exist on primary

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 10:26:12 +00:00
..
.cursor Remove Chakra UI 2025-10-29 10:35:05 +01:00
src 🐛 Fix monthly cron tx timeout when deleting archived typebots (#2481) 2026-05-01 10:26:12 +00:00
.env.local.example 👷 Add email alert hourly sender 2023-06-06 13:25:13 +02:00
package.json 🐛 Force tsx scripts to use package tsconfig 2026-03-19 14:46:23 +01:00
tsconfig.json ♻️ Migrate to NX (#2418) 2026-03-18 15:29:32 +00:00
tsconfig.lib.json 🔧 Remove "baseUrl": "." from tsconfigs 2026-03-25 16:40:12 +01:00