Skip to content

feat(e2e): set the device's locale from the e2e provider - #355

Merged
finalerock44 merged 1 commit into
devfrom
feat/e2e-provider-locale
Nov 23, 2026
Merged

finalerock44 merged 1 commit into
devfrom
feat/e2e-provider-locale

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

deviceCloud({ locale: 'en_US' }) starts each session's device in that language and region, set before the build is installed or opened. Device sessions already take a locale (dcd device start --locale); the provider never passed one, so a device came up in its own default.

Written as en_US or en-US and sent as en_US. Anything that is not a language and a region is refused when the config is read, before a session is started or billed. Without the option nothing changes.

What & why

Type of change

  • fix — bug fix
  • feat — new feature
  • perf — performance improvement
  • refactor — code change that's neither a fix nor a feature
  • docs — documentation only
  • chore / ci / build / test — tooling, no user-facing change
  • Breaking change (title has ! or PR notes a BREAKING CHANGE:)

Checklist

  • PR title follows the Conventional Commits format (see comment above)
  • pnpm lint passes
  • pnpm typecheck passes
  • pnpm build passes
  • I have not bumped the version or edited CHANGELOG.md (the release workflow handles this)
  • I have signed the CLA (the bot will prompt on first contribution)
  • Docs / README.md / STYLE_GUIDE.md updated if behaviour or output changed

How to test

`deviceCloud({ locale: 'en_US' })` starts each session's device in that
language and region, set before the build is installed or opened. Device
sessions already take a locale (`dcd device start --locale`); the provider
never passed one, so a device came up in its own default.

Written as `en_US` or `en-US` and sent as `en_US`. Anything that is not a
language and a region is refused when the config is read, before a session
is started or billed. Without the option nothing changes.
@finalerock44 finalerock44 self-assigned this Nov 23, 2026
@claude

claude Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@finalerock44
finalerock44 merged commit ba43df4 into dev Nov 23, 2026
10 checks passed
@finalerock44
finalerock44 deleted the feat/e2e-provider-locale branch November 23, 2026 18:00
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