Skip to content

revert(0133): remove write-amplification probe — BE owns the guardrail - #157

Merged
karczuRF merged 2 commits into
developfrom
revert/0133_write-amplification-probe
Jul 29, 2026
Merged

revert(0133): remove write-amplification probe — BE owns the guardrail#157
karczuRF merged 2 commits into
developfrom
revert/0133_write-amplification-probe

Conversation

@karczuRF

Copy link
Copy Markdown
Collaborator

Summary

  • Reverts PR feat(0133): write-amplification probe + alarm (0132 guardrail) #156 (5add848) — the prices-owned write-amplification-probe Lambda + Prices/Ingest metric + CloudWatch alarm. The code is unused and removed from develop.
  • Why: the probe needs prices_reader to read system.part_log, but the prices CH users are XML-managed in BE's users_xml (readonly to SQL) — a SQL GRANT fails (Code 495 ACCESS_STORAGE_READONLY) and would require a BE services.xml change. On raising it, BE chose to cover this at the shared-infra layer instead: a transfer-cost alarm they own. That meets the 0133 goal (the next amplification hits an alarm, not a bill) without a prices-owned probe.
  • Completes + archives task 0133 with a Resolution note; the design and the measured 50M/3h threshold (from a 14-day part_log measurement) are retained in the archived task for the record.

Verification

  • Workspace cargo check + infra nx build pass after the revert (no dangling references to the removed crate/wiring).

karczuRF added 2 commits July 29, 2026 15:48
…nfra alarm)

After the BE response the approach changed: instead of a prices-owned
write-amplification probe, BE will cover this at the shared-infra layer with a
transfer-cost alarm they own. That meets the task goal (the next amplification
hits an alarm, not a bill) without a prices-owned probe or the system.part_log
grant that the prices CH users (XML-managed in BE's users_xml, readonly to SQL)
could not receive without a BE services.xml change.

PR #156's code is reverted in this branch (unused). Task marked completed and
moved to archive with a Resolution note; the design + measured threshold are
retained for the record.
@karczuRF
karczuRF merged commit 4fe19c9 into develop Jul 29, 2026
3 checks passed
@karczuRF
karczuRF deleted the revert/0133_write-amplification-probe branch July 29, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant