Skip to content

fix: static-to-dynamic 500s + thirdweb tripwire - #1746

Merged
Flotapponnier merged 1 commit into
devfrom
fix/static-to-dynamic-500s
Aug 3, 2026
Merged

fix: static-to-dynamic 500s + thirdweb tripwire#1746
Flotapponnier merged 1 commit into
devfrom
fix/static-to-dynamic-500s

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • /alternatives/[slug]: revalidate = 60 + fetchPerpCohort() (which uses cache: "no-store) → "Page changed from static to dynamic" for dydx/gains/hyperliquid/polymarket. Fixed with force-dynamic.
  • /products/polymarket: same root cause — loadBenchFromBlob("perp-fees-at-size") fires a cache: "no-store" fetch from an ISR page. The bench was already deleted so this always returned null. Removed the call, passing null directly to getPerpVenueContext.
  • /products/thirdweb: degraded-store-read tripwire fires because thirdweb is now in 11 new RPC benches that are all warming up (dataConfidence="insufficient", rank=0 everywhere). Tripwire now requires at least one appearance with confident data before throwing.

Test plan

  • alternatives/dydx, /alternatives/gains, /alternatives/hyperliquid, /alternatives/polymarket return 200
  • /products/polymarket returns 200
  • /products/thirdweb returns 200
  • CI smoke test passes

@Flotapponnier
Flotapponnier merged commit be92fc3 into dev Aug 3, 2026
1 check failed
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