Skip to content

hotfix: register cosmos-hub chain (unblocks prod smoke) - #1268

Merged
Flotapponnier merged 1 commit into
mainfrom
hotfix/cosmos-hub-chain
Jul 17, 2026
Merged

hotfix: register cosmos-hub chain (unblocks prod smoke)#1268
Flotapponnier merged 1 commit into
mainfrom
hotfix/cosmos-hub-chain

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Why

Prod deploy has been auto-rolling back for 24h. Latest smoke run (474653e) fails on:

✗ https://openchainbench.com/products/cosmos-hub → status=404

The validator-yield bench declares `cosmos-hub` as a result slug, so `buildProviders()` creates a profile for it → sitemap advertises `/products/cosmos-hub`. But `getProvider("cosmos-hub")` on the page path can return undefined mid-render (the appearance sourcing race also seen with quicknode/coingecko/infura before), so smoke sees a 404 and rolls the deploy back.

Fix

Add `cosmos-hub` to `CHAIN_BY_SLUG` (same registry that already carries sui, cardano, avalanche, etc. from the same bench). Two effects:

  • Sitemap filters `/products/cosmos-hub` (line 274 of src/app/sitemap.ts).
  • Sitemap emits `/chains/cosmos-hub` instead — served by the generic `/chains/[slug]/page.tsx` from the ChainEntry.

Same pattern used for every other chain-slug that appears as a validator-yield result.

Blocked by this getting to prod

@Flotapponnier
Flotapponnier merged commit d994400 into main Jul 17, 2026
1 check failed
@Flotapponnier
Flotapponnier deleted the hotfix/cosmos-hub-chain branch July 17, 2026 14:11
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