Skip to content

fix(ci): fetch sitemap from deploy URL, check pages on prod domain - #2161

Open
Flotapponnier wants to merge 1 commit into
mainfrom
fix/smoke-two-host
Open

fix(ci): fetch sitemap from deploy URL, check pages on prod domain#2161
Flotapponnier wants to merge 1 commit into
mainfrom
fix/smoke-two-host

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • Smoke fetches /sitemap.xml from the deployment URL (fresh, no CDN cache)
  • Pages are checked against https://openchainbench.com (second arg to smoke script)
  • Fixes two layered issues: CDN stale cache on sitemap AND preview URL noindex on all pages

Root cause

PR #2160 changed the smoke to run against the deploy URL, but the Vercel preview URL injects noindex on every page by design (staging protection). So every page check failed. This PR adds a second checkHost argument: sitemap comes from the deploy URL (bypassing CDN), individual pages are checked against prod (correct noindex state).

Test plan

  • Next prod deploy: smoke fetches fresh sitemap from deploy URL, checks pages on prod, passes

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