仪表盘

在问题进入生产环境之前捕获它。 每一个拉取请求都对照线上状态审查,而不只是看差异。

加入候补名单

警告在合并之前到达。 机制、证据和修复方案:就在你审查的地方。

github.com/coreplane/orders-api/pull/482

Add trigram index for order search #482

Open rvidal wants to merge 1 commit into main from order-search-trgm
Conversation 1 Commits 1 Checks 2 Files changed 1
polylane bot commented 2 minutes ago ···
Caution

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.

orders-db · writes per second · last 48h projected lock window
02040
-48h -24h now
every one of these writes blocks while the index builds

Polylane analysed de91b47 for production impact.

Some checks were not successful 1 failing and 1 successful check
ci / test Successful in 2m 4s Details
Polylane production impact Non-concurrent index build locks writes on orders Details
Merging is blocked

它改进代码,而不只是把关。 缺失的埋点直接加到你的分支上。

Clouds prod-cloudflare Key queries

Key queries

31 active · 2 telemetry gaps

Generated from your telemetry and your connected code, judged on observed data: every candidate ran against a day of real data before it was kept.

Did any payment capture fail? code answered
logs: "payment capture failed for order {orderId}"
declared in apps/api/src/payments.ts
Is the checkout webhook retrying more than usual? telemetry answered
metric: webhook.delivery.retries · rate over 5m
baseline 0.4/min over the observed day
Is the nightly reconciliation completing? code answered
logs: "reconciliation complete" · count over 24h
quiet all day: healthy. Kept because the code provably emits it
Are D1 writes hitting rate limits? telemetry unanswerable
no series found for this question
kept as a telemetry gap
Re-confirmed on every discovery run: one thin run cannot wipe a good set.

合并之后它还在继续监视。 漏过去的东西会在生产环境中被捕获。

Issues Critical latency degradation in checkout-edge worker Overview

Critical latency degradation in checkout-edge worker

Incident critical Polylane ·Detected 3 hours ago ·Last seen 4 minutes ago ·2 occurrences
OverviewInvestigationMetricsTimelineProperties
checkout-edge Cloudflare Worker

Critical latency degradation detected in checkout-edge worker: 18x+ P99 latency spikes sustained for 12 minutes

Causal metrics All metrics
Request Duration
414 ms ▲ 43.1σ
Wall Time
416 ms ▲ 43.0σ
CPU Time
14 ms ▲ 2.6σ
Blast radius
Search your cloud resources...
Graph Table
edge-gateway Cloudflare Worker ··· checkout-edge Cloudflare Worker ··· hd-prod Hyperdrive ··· payments-db PlanetScale ··· cart-svc Cloudflare Worker ···
Analysis Copy

Deploy 9f3c2a1 shrank the Hyperdrive pool hd-prod from 50 connections to 5. Under checkout load, requests queue on connection checkout and P99 rises 18× against the 30-minute baseline. Restoring the pool size restores latency.

Tags
service · checkout-edgeprovider · cloudflaredeploy · 9f3c2a1signal · wall_time_p99

Polylane如何工作。 它学习你的系统、监视它、调查,然后行动。

  • 它先学习你的系统

    上下文图映射你的云、仓库和可观测性提供商中的每一个资源和依赖。智能体基于真实拓扑推理,而不是猜测。

  • 无阈值检测

    每个提供商都有内置检查,再加上由你自己保存的查询和仪表盘生成的检查。统计分析和智能体共同判断,改善永远不会触发问题。

  • 有据可查的调查

    每一条结论都链接回背后的查询、日志行或变更记录。没有证据的判定回落为无法确定。

  • 写入是争取来的,从不默认拥有

    账户以只读方式连接。回滚默认关闭、受限速并留有记录。代码变更走你正常的审查流程。

  • 它每周都更敏锐

    记忆、每日笔记和用真实数据反复确认的监控查询:七月的调查能从六月的调查中学习。

它接入你已经在运行的一切。 以只读方式连接,然后开始。

常见问题。

AI拉取请求审查是如何工作的?

Polylane以应用形式连接GitHub,对照每个拉取请求将部署到的真实基础设施进行审查:上下文图、当前遥测和最近的变更。判定以一条评论加一项“Polylane production impact”检查的形式给出。

它会阻止我的合并吗?

只有在你想要时才会。通过分支保护把“Polylane production impact”检查设为必需,有风险的合并就会被阻止;保持可选,判定就只是建议。

这是针对AI生成的代码吗?

它针对所有代码。只是在没人细读过变更时最为重要:为AI生成的代码兜底的,正是那个能捕获手写错误的同一套审查。

这和CI有什么不同?

CI针对代码运行你的测试。Polylane对照生产环境审查变更:它将落到的配置、容量和依赖,以及它们此刻发出的遥测。它在同一个列表里以一项检查的形式出现,回答的是另一个问题。

它会自行合并或部署吗?

不会。变更只能通过你的审查进入默认分支,回滚到上一个已知良好的部署也保持关闭,直到你启用它。

更多使用场景

以智能体的速度发布。 每一次都对照生产环境审查。