Skip to content

feat: add ap-southeast-4 test region (TWG-23) - #30

Merged
mcteamster merged 5 commits into
mainfrom
feat/twg-23-ap-southeast-4-test-region
Oct 3, 2026
Merged

mcteamster merged 5 commits into
mainfrom
feat/twg-23-ap-southeast-4-test-region

Conversation

@mcteamster

Copy link
Copy Markdown
Owner

Summary

Adds an isolated ap-southeast-4 test region (test.twinge.mcteamster.com) so E2E tests run against their own AWS stack rather than spamming production servers.

Changes

Service

  • Added ap-southeast-4: test.twinge.mcteamster.com to endpoints.json
  • Added ap-southeast-4 to the CDK regions array in twinge-service.js
  • Room codes from ap-southeast-4 always end in X (using XX suffix)

Client

  • Added TEST: wss://test.twinge.mcteamster.com to ENDPOINTS
  • Added ap-southeast-4: TEST to AWS_REGIONS
  • Added TEST to the Region union type
  • X suffix maps to TEST region in getRegionFromCode; Z remains the catch-all DEFAULT
  • TEST intentionally absent from FLAGS (hidden from region picker UI)

E2E

  • global-setup.ts seeds region=TEST in localStorage via Playwright storageState — origin derived from BASE_URL env var
  • playwright.config.ts wired to globalSetup and storageState
  • e2e/.auth/ gitignored
  • CI workflow now builds client and serves via vite preview locally — BASE_URL=http://localhost:4173

Tested

  • 18/19 passing in parallel (Win test is a pre-existing flakiness issue under parallel load — passes in isolation)
  • ap-southeast-4 stack deployed to AWS — test.twinge.mcteamster.com live

@mcteamster
mcteamster merged commit e2e3bb4 into main Oct 3, 2026
1 check passed
@mcteamster
mcteamster deleted the feat/twg-23-ap-southeast-4-test-region branch October 3, 2026 14:55
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