From d0e40aa489bf0a5ce3471f5951eea702b70c258a Mon Sep 17 00:00:00 2001 From: Florent Tapponnier Date: Sun, 28 Jun 2026 13:25:18 +0200 Subject: [PATCH] chore(cache): bump providers-v5 + bench-unfiltered-v16 + all-benchmarks-v20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flushes stale snapshots that don't include the 6 newly identified HL frontends (invo, bitget-wallet, defi-saver, unitywallet, marsgo, metamask-alt) added in #772. Without this, /products/ 404s for them even after the YAML + builders.json updates landed because the cached provider list still mirrors the pre-deploy snapshot. Same pattern as the v11→v15/v15→v19 historical bumps. --- src/lib/providers.ts | 6 +++++- src/lib/spec.ts | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/lib/providers.ts b/src/lib/providers.ts index 0629eed8..a908d794 100644 --- a/src/lib/providers.ts +++ b/src/lib/providers.ts @@ -478,7 +478,11 @@ const buildProvidersCached = unstable_cache( // serving the v3 list (containing 0x... slugs) until the `benchmarks` // tag fires, leaving thin /products/ URLs in the sitemap for the // next 60s window after deploy. - ["providers-v4"], + // v5: bumped to flush the stale snapshot that didn't include the 6 + // newly identified HL frontends (invo, bitget-wallet, defi-saver, + // unitywallet, marsgo, metamask-alt). Without the bump, /products/ + // 404s for them even after the YAML + builders.json updates landed. + ["providers-v5"], { revalidate: 60, tags: ["benchmarks"] }, ); diff --git a/src/lib/spec.ts b/src/lib/spec.ts index 1bd05c35..bda826c5 100644 --- a/src/lib/spec.ts +++ b/src/lib/spec.ts @@ -258,7 +258,9 @@ const loadBenchmarkUnfilteredCached = unstable_cache( // expectedN + dataConfidence aggregate (sample-health system). Cached // v13 entries lack these fields, so the sample-health badge would // not render on existing benches until the cache aged out. - ["bench-unfiltered-v15"], + // v16: bumped to flush stale HL frontends snapshot after adding 6 + // identified frontends in #772 (invo/bitget-wallet/etc.). + ["bench-unfiltered-v16"], { revalidate: 300, tags: ["benchmarks"] }, ); @@ -393,7 +395,9 @@ const loadAllBenchmarksCached = unstable_cache( // Without this, /api/citable + products + sitemap surfaces would // keep serving v17 benches without the new dataConfidence / // sampleHealth / expectedN fields. - ["all-benchmarks-v19"], + // v20: bumped with bench-unfiltered-v16 to flush the HL frontends + // snapshot that didn't include the 6 newly identified frontends. + ["all-benchmarks-v20"], { revalidate: 300, tags: ["benchmarks"] }, ); export const loadAllBenchmarks = cache(loadAllBenchmarksCached);