「このプルリクエストをマージすると本番環境が劣化する可能性があります。」 Polylaneはすべてのプルリクエストを稼働中の本番環境に照らしてレビューします。
ウェイトリストに登録Add 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.
リンターには本番環境が見えません。 このレビュアーには見えます。
-
稼働中の状態に照らしてレビュー
差分はデプロイ先のサービスに照らして検査されます。その設定、そのトラフィック、その最近のインシデントです。
-
既定はpass
failにするには、差分のどの行がどのように本番環境を壊すかを正確に証明する必要があります。「かもしれない」は数えません。
-
コメントは1つ
プッシュごとにその場で更新され、積み重なることはありません。ドキュメントとテストの変更はそのまま通ります。
-
望むなら、強制力も
ブロッキングチェックを有効にすると、failは後続のプッシュで解消されるまでマージを止めます。