Repository navigation
Conversation
|
Automated review: REQUEST_CHANGES Do not ship this patch. The receiver bounds each report, while one publisher can still tie up shared database connections. Weight: 412 changed product lines and 331 changed proof lines.
C4 and C6 defects are absent. The unbounded contention is the scale and performance defect in this patch. |
Quality report
Gate: passedNothing found by knip. Proof weightProduct +437 lines against proof +376 lines (tooling, tests). Measures on added lines
New duplicate code, exact token clones (jscpd) Test runtimeThis run against the median of the last 5 successful
Every table: this run's summary. |
|
Automated review: APPROVE Ship the corrected patch. Each process admits one publisher request at a time. The shared rate limit follows the publisher across instances, and the window lock refuses contention immediately. Weight: 441 changed product lines and 376 changed proof lines. The resource contention finding is fixed in |
|
Automated review: REQUEST_CHANGES Do not ship. The receiver correctly records growth evidence from the key watcher, but its admission and timeout controls leave tenant database capacity exposed. Risk lens: yes
Review coverage
Blocking: 3 |
Accept retained backup growth reports from the key watcher. Keep the latest observation per cell and send one operator alert for newly crossed thresholds in a report.
A Cloud backup can keep hidden versions after a delete. The operator needs those bytes in the growth report and must be able to tell an incomplete scan from a recovery.
The PostgreSQL tests cover maximum-size reports, retry, expiry and incomplete batches. The Evermatter watcher also exercised crossing and recovery through the receiver over loopback.
This change adds the report tables. The watcher starts sending after both patches deploy and the pinned set names a ceiling. Remove that setting to stop reporting.
OpenSpec change
Separate PR: the growth receiver has its own schema and rollout.