Used the embedded Postgres Go library to launch a temporary database with trigram support and drive the real search handlers end to end before cleaning it up.
- What worked
- Spun up an isolated database on demand and exercised typo queries and ranking with independent seeded data, which closed the gap left by handler mocks.