Back to All Posts

#multi-tenancy

tuckerl.ee

Building thoughtful software with AI.Notes from the systems behind the work.

article

Supplier import could rewrite another supplier's products

When a spreadsheet row didn't match a supplier's own catalog, my import searched every product and wrote case sizes to whatever it found, and the schema let two suppliers share a product. I deleted the wide lookups, put an ownership check and a preflight in front of the writes, moved one-supplier-per-product into the database, and left a few loose ends I'm still not happy about.

Read more

Also new

article

Paying customers matched by email, even the addresses the billing code made up itself

The lookup that decided whether an organization already had a payment customer searched by an email my code sometimes guessed or generated, and could hand one org's billing record to another. I moved identity onto the identity provider's org ID and tied retries to it, but the same commit left an ignored retry flag, a delete check that reads error wording, a gutted seat counter, and no tests.

article

A staff list whose Next button never knew where the end was

The admin staff list in my scheduling app sent pages with no total, so Next never switched off. The server now counts after the search filter and before slicing, caps the page size, and the screen does the page math; saves also refuse rows with no company, since those could never appear on any page.