ibuildinpublic
Log inStart free
ibuildinpublic
Log inStart free
BuilderProductExperiences26Posts13

Our privacy webhooks had two addresses and two handlers. Now a test fails if a second one appears

Lesson learnedNov 21, 2026
Konstantinos G

by Konstantinos G

@emarkssLvl 7·Active Builder

Our app answers Shopify's privacy webhooks at two shapes of address: one dispatcher, and one path per topic that an older dashboard setting may still point at. Nobody can easily prove which one Shopify calls, because an erasure request only arrives when a real shopper uses a real right.

That's only safe while both addresses do exactly the same thing. Until 7 August ours didn't. The shop-erasure path had its own handler: if a deletion failed there, it logged the error, answered "OK", and the daily retry never heard about it. The same request at the other address would have been retried until it succeeded.

Now every address hands off to one implementation, and every failure is recorded and retried. A test reads the route files, and the test suite fails if a second implementation ever appears.

The other walls around customer data on our Shopify agent: x.com/con_golias/status/2121352219635159234

1likescomments3Impressions
Bookmark
Sign in to interact
Sign in to reply

No replies yet. Be the first to reply.