:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(personhog): remove dropped lifecycle_op_person_mark from constraint catch (#101865)
Nick Best50f5eae1a28a
diff --git a/nodejs/src/common/persons/repositories/postgres-person-repository.ts b/nodejs/src/common/persons/repositories/postgres-person-repository.tsindex 1d3249e89541..c37a29067606 100644--- a/nodejs/src/common/persons/repositories/postgres-person-repository.ts+++ b/nodejs/src/common/persons/repositories/postgres-person-repository.ts@@ -1489,9 +1489,7 @@ export class PostgresPersonRepository// violation; a duplicate op_id means a concurrent delivery of the same event.if (error.code === '23505' &&- ['lifecycle_op_person_mark', 'lifecycle_op_person_mark_active', 'lifecycle_op_pkey'].includes(- error.constraint- )+ ['lifecycle_op_person_mark_active', 'lifecycle_op_pkey'].includes(error.constraint)) {throw new PersonClaimedByLifecycleOpError('Person is claimed by a concurrent lifecycle operation',