Skip to content

fix(products): 404 zombie composite slugs (codex-polymarket, predexon-*, etc.) - #727

Merged
Flotapponnier merged 1 commit into
devfrom
fix/products-drop-dead-composite-slugs
Jun 25, 2026
Merged

fix(products): 404 zombie composite slugs (codex-polymarket, predexon-*, etc.)#727
Flotapponnier merged 1 commit into
devfrom
fix/products-drop-dead-composite-slugs

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Zombie slugs survived past the pm-api-latency split→collapse via stale materialize-worker snapshots. #725 stopped feeding them from the bench but their per-slug Redis blobs persist for the TTL window.

Filter at the source in buildProviders() so:

  • /products/ → notFound() (was returning HTTP 200 with no data)
  • sitemap.xml stops listing them
  • related-providers / compare candidates already drop them via the same set

Cache key bumped v2→v3 for immediate invalidation.

Zombie slugs (codex-polymarket, codex-kalshi, predexon-kalshi, predexon-limitless, predexon-polymarket) survived past the pre-collapse pm-api-latency split via stale materialize-worker snapshots. The pm-api-latency cohort fix in #725 stops the bench from feeding them, but Upstash keeps the per-slug blobs around for TTL.
Filter them out in buildProviders() so getProvider() returns undefined, the /products/<slug> route falls through to notFound(), the sitemap stops listing them, and related/compare candidates already filter them via the same set in related-providers.ts.
Bumped buildProviders cache key v2→v3 to invalidate the ISR profile list immediately on deploy instead of waiting for the next benchmarks-tag revalidation.
@Flotapponnier
Flotapponnier merged commit bb72df5 into devJun 25, 2026
1 check passed
@Flotapponnier
Flotapponnier deleted the fix/products-drop-dead-composite-slugs branch June 25, 2026 15:37
Sign up for freeto 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

@Flotapponnier