cherry-pick: tripwire relax (combines main + dev logic)#1358
Merged
Conversation
…rod deploys) (#1356) Tripwire was firing on /products/thirdweb because thirdweb has 4 fresh appearances (ink-rpc, world-chain-rpc, kaia-rpc, opbnb-rpc) all with rank=0. Root cause: the CDN aggregate blob was published AFTER the Vercel build read the store snapshot, so the site's cached ranks lagged the blob by one publish cycle. Fix: only fire the tripwire when at least ONE appearance has a non-zero p50. If every appearance has p50=0, the provider is genuinely warming up (never had data), not degraded. Preserves the tripwire's purpose (catch mid-render store corruption) while letting new providers ship without a rollback loop. Co-authored-by: Florent Tapponnier <contact@mobula.io>
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.
Combines both tripwire checks: fires only when appearances>=3 AND all rank=0 AND allClaimLive AND anyMeasuredAppearance. Unblocks the rollback loop on /products/thirdweb.