“Merging this pull request may degrade production.” Polylane reviews every pull request against live production.
Join the waitlistAdd trigram index for order search #482
main from order-search-trgm Merging this pull request may degrade production (high impact).
Merging this blocks every write to orders while the index builds. migrations/0114_order_search_trgm.sql:3 adds CREATE INDEX … USING gin (search_text gin_trgm_ops) without CONCURRENTLY, and a plain CREATE INDEX takes a full write lock on orders for the whole build. Checkout sustains ~38 writes/s on that table; each one queues behind the lock until the build finishes.
To make this safe: build the index with CREATE INDEX CONCURRENTLY outside the transactional migration.
Polylane analysed de91b47 for production impact.
Your linter can't see production. This reviewer can.
-
Reviewed against what's live
The diff is checked against the services it deploys to: their config, their traffic, their recent incidents.
-
Pass by default
A fail has to prove exactly how a line in the diff breaks production. “Might” doesn't count.
-
One comment
Updated in place on every push, never a pile-on. Docs and test changes pass straight through.
-
Teeth, if you want them
Turn on the blocking check and a fail holds the merge until a later push resolves it.