Skip to content

fix: sitemap omits chain URLs on error (prod smoke blocker) - #1937

Merged
Flotapponnier merged 1 commit into
mainfrom
hotfix/sitemap-chain-404
Aug 13, 2026
Merged

fix: sitemap omits chain URLs on error (prod smoke blocker)#1937
Flotapponnier merged 1 commit into
mainfrom
hotfix/sitemap-chain-404

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Problem

Prod deploys have been failing all day since the wave-7 chains merge. The sitemap smoke gate finds 6 chain URLs returning 404:

  • /chains/corn, /chains/sanko, /chains/stargaze, /chains/kujira, /chains/evmos, /chains/zetachain

These chains exist in CHAINS but have no associated bench data. Normally getBenchmarksForChain returns [] and they're filtered out (return null). But when an exception is thrown during the build (e.g. KV store cold-start timeout), the catch block was blindly emitting all chain slugs, including ones with no benches. The deployed page then correctly 404s, failing the smoke gate and rolling back every prod deploy.

Fix

Change the catch block to return null (fail-safe) instead of emitting an unverified URL. Chains with real bench data re-enter the sitemap on the next successful build.

@Flotapponnier
Flotapponnier merged commit 7440ce4 into main Aug 13, 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