Skip to content

fix: device locales take a 2-3 letter code; correct m4 & m1 runner type notes; explain encryption flag - #333

Merged
finalerock44 merged 4 commits into
devfrom
fix/runner-type-messages
Nov 17, 2026
Merged

finalerock44 merged 4 commits into
devfrom
fix/runner-type-messages

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

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

The --device-locale help for dcd cloud and dcd live asked for an
ISO 639-1 (two-letter) language code. DeviceCloud accepts a 2-3 letter
lowercase language code (ISO 639-1, or ISO 639-2/3 such as "fil"), an
underscore and an uppercase ISO 3166-1 country code, as in "de_DE" or
"fil_PH". Say so.
The note printed for --runner-type m4 said Android runs would revert to
the default runner. The API rejects them instead. The m1 note said all
devices at API level 34-36. m1 runs Android API 34-37 on every device
except generic-tablet, and on iOS, where M1 is already the default, it
runs as default.
Uploads always go over TLS. DCD_ENCRYPT=0 turns off the client-side
envelope encryption on top of it, which "upload them unencrypted" did
not make clear.
@finalerock44 finalerock44 self-assigned this Nov 17, 2026
@claude

claude Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Code review

Skipped a full review: this PR only changes help text and info messages (the --device-locale flag descriptions, the m4/m1 runner-type notes in dcd cloud, and the DCD_ENCRYPT description in server.json). It changes no logic, so there is nothing to check for bugs. Whether the new runner-type and locale wording matches the API's actual behaviour can't be checked from this repo.

Minor: dcd device's --locale flag (src/commands/device.ts) still has the old wording, if you want the three to match.

🤖 Generated with Claude Code

@finalerock44
finalerock44 merged commit 191eda2 into dev Nov 17, 2026
9 checks passed
@finalerock44
finalerock44 deleted the fix/runner-type-messages branch November 17, 2026 17:37
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