Skip to content

fix: add distinctId support to the Node client#8

Merged
SvenAlHamad merged 1 commit into
v3from
fix/node-fixed-distinct-id
Jun 5, 2026
Merged

fix: add distinctId support to the Node client#8
SvenAlHamad merged 1 commit into
v3from
fix/node-fixed-distinct-id

Conversation

@SvenAlHamad
Copy link
Copy Markdown
Contributor

The Node WTS client always read or minted user.id in ~/.webiny/config and had no way to use an externally-owned machine id. The Webiny admin and the website install/finish alias both key off the canonical @webiny/global-config top-level id, while the CLI used a separate user.id UUID — fragmenting funnels across CLI/admin/website.

Add an optional distinctId to NodeClientConfig (mirroring the web client's fixedId). When provided it is used as-is and the config file is left untouched.

The Node WTS client always read or minted `user.id` in ~/.webiny/config and
had no way to use an externally-owned machine id. The Webiny admin and the
website install/finish alias both key off the canonical @webiny/global-config
top-level `id`, while the CLI used a separate `user.id` UUID — fragmenting
funnels across CLI/admin/website.

Add an optional `distinctId` to NodeClientConfig (mirroring the web client's
fixedId). When provided it is used as-is and the config file is left untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@SvenAlHamad SvenAlHamad merged commit 63f1fbe into v3 Jun 5, 2026
4 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

🎉 This PR is included in version 3.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant