Skip to content

fix: use /en/quiz locale prefix in decide health checks - #10

Merged
beveradb merged 1 commit into
mainfrom
feat/sess-20260518-1923-decide-locale-prefix
May 18, 2026
Merged

fix: use /en/quiz locale prefix in decide health checks#10
beveradb merged 1 commit into
mainfrom
feat/sess-20260518-1923-decide-locale-prefix

Conversation

@beveradb

Copy link
Copy Markdown
Contributor

Summary

  • Scheduled Decide Health Check workflow was failing on the test "quiz page loads with genre selection" — failed run #26064397324.
  • Root cause: decide.nomadkaraoke.com is a Next.js static export, so the next-intl middleware never runs. page.goto("/quiz") hits the static 404 page; only /en/quiz (locale-prefixed) is generated. Locale-aware Link clicks on the homepage still worked, which is why only the direct-navigation tests broke.
  • Updated 4 page.goto("/quiz") calls in e2e/health-check.spec.ts and e2e/onboarding-comprehensive.spec.ts to /en/quiz.

Verification

  • npx playwright test e2e/health-check.spec.ts --project=chromium → 9/9 pass (previously 1 failed, 3 did not run).
  • npx playwright test e2e/onboarding-comprehensive.spec.ts --project=chromium → 2/2 pass.

Out of scope (follow-up)

The same failed run also logged Mail command failed: 501 5.1.7 Bad sender address syntax from the Postmark notification step (introduced in #9). That's a separate bug worth tracking — Postmark likely needs a verified sender signature for admin@nomadkaraoke.com, or the from: value needs to be reformatted.

@coderabbitai ignore

🤖 Generated with Claude Code

Production decide.nomadkaraoke.com is a Next.js static export, so the
next-intl locale middleware never runs and bare /quiz returns 404.
Direct page.goto("/quiz") in the e2e specs was failing 3x with retries
and tripping the scheduled health check. Homepage flows still worked
because the Link components are locale-aware.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@beveradb
beveradb merged commit ebdab18 into main May 18, 2026
2 checks passed
@beveradb
beveradb deleted the feat/sess-20260518-1923-decide-locale-prefix branch May 18, 2026 23:30
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