re2-prod-supervisor-heatwave-dualwrite: feat(webapp,database): bound Prisma list filter arity (#4480)
Summary Prisma expands in / notIn into one bind parameter per element, so every distinct list length is a separate prepared statement. Where the length tracks data volume (a batch size, a run-graph fan-out, a prior query's id set) one call site can mint hundreds of them. Each is used about once, but inserting it evicts an entry that was being reused, so the cost lands on unrelated queries sharing…