chore(0213): complete and archive — deployed and verified on prod - #236
Merged
Conversation
Both stacks deployed in order: EventBridge (probe binary) then Observability (alarm text), so the metric was correct before the text described it. Observability alone would have left the ladder blind, which is 0204's own mistake. Verified by measurement rather than deploy exit status. A forced invocation returned peg_scanned 692 / peg_applied 0 and stranded_scanned 512 / stranded 9. The ~700 peg figure is the proof: the pre-0213 build would have returned the _1h population instead. The 0141 stale-asset trap was LIVE — the binary in target/ was three hours older than the source, so deploying without rebuilding would have shipped the probe that reads _1h, and every signal would have said success. The discriminator is recorded in the task file: `strings ... | grep -c usd-peg-applied` returns 0 on the old build and 3 on the new. Two corrections recorded for the next reader. `scanned` is rows MATCHED, not rows READ — a pre-deploy expectation put stranded_scanned at ~1,000,000 by quoting the EXPLAIN ESTIMATE read figure, three orders of magnitude out. And stranded = 9 will climb as the 48 h grace boundary moves past 0182's 2026-08-18 12:00 high-water mark; that is correct and stays latched until 0209. Do not widen the grace. CleanupRule verified DISABLED before and after the EventBridge deploy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
completed, moved toarchive/prices-production-rollup-freshness-probereturned:peg_scanned_1mover 48 h — the whole fixpeg_appliedstranded_scanned_1huntouched, 7-day windowstrandedCleanupRuleverifiedDISABLEDbefore and after the EventBridge deployThe binary sitting in
target/lambda/rollup-freshness-probe/was three hours older than the source. Deploying without rebuilding would have shipped the pre-0213 probe — the one that reads_1hfor the peg direction — and every signal would have reported success.The discriminator, now recorded in the task file:
Two corrections recorded for the next reader
scannedis rows MATCHED, not rows READ. A pre-deploy expectation putstranded_scannedat ~1,000,000 by quoting theEXPLAIN ESTIMATEread figure as if it were the match count — three orders of magnitude out. The existing_1hnote already recorded the right relationship ("returns 423 rows but reads ~1.37M").stranded = 9will climb, and that is correct. 0182's repair wrote the coarse tiers to a high-water mark of 2026-08-18 12:00; as the 48 h grace boundary moves past it, more_1hcandles fall into the unpriced-past-grace window. It stays latched until 0209. ⛔ Do not widen the grace to quiet it.Still true after this lands
usd-peg-appliedis not evidence the USDT leg is healthy. All rows in the window are unpriced, so the direction reads 0 for want of input, not want of defects —usd-strandedis what carries the darkness. It stays vacuous until enrichment drains far enough forward to reach a 48 h window, which is gated on 0111.