Skip to content

fix: preserve created workspace id in restore-workspace - #313

Merged
ArtyomSavchenko merged 4 commits into
hcengineering:mainfrom
mc-putchar:fix-remote-script
Jul 22, 2026
Merged

fix: preserve created workspace id in restore-workspace#313
ArtyomSavchenko merged 4 commits into
hcengineering:mainfrom
mc-putchar:fix-remote-script

Conversation

@mc-putchar

Copy link
Copy Markdown
Contributor

Fix an issue in the workspace restoration script where the newly generated workspace UUID was lost, causing downstream initialization steps to fail.

Changes:

  • Capture generated Workspace ID in the creation phase, parsing the workspaceUuid from the command output.
  • Corrected the parameter order for the assign-workspace tool command to properly pass the admin email first, followed by the workspace ID.
  • Replaced the static use of the initial $WORKSPACE argument with the dynamically extracted WORKSPACE_ID for both the assignment and the subsequent backup-restore steps, preserving the original behavior in case --skip-workspace argument is passed.

@huly-github-staging

Copy link
Copy Markdown

Connected to Huly®: SELFH-313

Comment thread restore-workspace.sh Outdated
Comment thread restore-workspace.sh Outdated
@ArtyomSavchenko
ArtyomSavchenko merged commit 8655845 into hcengineering:main Jul 22, 2026
1 check passed
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.

2 participants