Skip to content

Read Node, pnpm, and Go versions from the synced UI - #343

Merged
rossnelson merged 1 commit into
mainfrom
rossnelson/node-version-from-ui
Oct 21, 2026
Merged

rossnelson merged 1 commit into
mainfrom
rossnelson/node-version-from-ui

Conversation

@rossnelson

Copy link
Copy Markdown
Collaborator

Problem

The sync from UI fails at pnpm install:

ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)
Expected version: >=22.23.4
Got: v22.23.3

temporalio/ui#4058 raised engines.node to >=22.23.4. The setup-node action here asks for node-version: 22, and the runner cache gives 22.23.3. The commit sync and the v2.57.0 release sync both fail.

Change

The actions read the versions from files, not from pins in this repo:

  • setup-node: Node comes from ui-release/.node-version. pnpm comes from packageManager in ui-release/package.json. ui-release/ is the checkout of temporalio/ui at the ref that is built.
  • setup-go: Go comes from go.mod. The sync copies go.mod from ui/server.

When temporalio/ui changes these versions, this repo does not need a change.

pnpm changes from 10.34.7 to 10.10.0. temporalio/ui CI uses the same version, and temporalio/ui owns the lockfile.

After merge

Send the v2.57.0 release dispatch again:

gh api repos/temporalio/ui-server/dispatches \
  -f event_type=sync-from-ui-release \
  -f 'client_payload[ref]=refs/tags/v2.57.0' \
  -f 'client_payload[release_tag]=v2.57.0' \
  -f 'client_payload[release_url]=https://github.com/temporalio/ui/releases/tag/v2.57.0'

@rossnelson
rossnelson requested a review from a team as a code owner October 21, 2026 18:47
@rossnelson
rossnelson merged commit 3509b47 into main Oct 21, 2026
6 checks passed
@rossnelson
rossnelson deleted the rossnelson/node-version-from-ui branch October 21, 2026 18:48
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