Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix!: stop workspace before update#18425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
johnstcn wants to merge12 commits intomain
base:main
Choose a base branch
Loading
fromcj/prebuild-template-upgrade

Conversation

johnstcn
Copy link
Member

@johnstcnjohnstcn commentedJun 18, 2025
edited
Loading

Fixes#17840

NOTE: calling this out as a breaking change so that it is highly visible in the changelog.

  • CLI: Modifiescoder update to stop the workspace if already running.
  • UI: Modifies "update" button to always stop the workspace if already running.

@johnstcnjohnstcn changed the titleCj/prebuild template upgradefix: stop workspace before updateJun 18, 2025
@johnstcnjohnstcn changed the titlefix: stop workspace before updatefix!: stop workspace before updateJun 18, 2025
@johnstcnjohnstcnforce-pushed thecj/prebuild-template-upgrade branch from42420b1 tofa2d4ebCompareJune 18, 2025 15:17
@johnstcnjohnstcn added the release/breakingThis label is applied to PRs to detect breaking changes as part of the release process labelJun 18, 2025
@@ -21,19 +20,39 @@ export interface ActionButtonProps {
tooltipText?:string;
}

exportconstUpdateButton:FC<ActionButtonProps>=({
exportconstUpdateAndStartButton:FC<ActionButtonProps>=({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I would probably keep this as one component that takes a prop likeisRunning or something to change the text, since that seems to be the main difference

loading,
})=>{
return(
<Tooltiptitle="Stop workspace, if running, and restart it with the latest template version.">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
<Tooltiptitle="Stop workspace, if running, and restart it with the latest template version.">
<Tooltiptitle="Stop workspace and restart it with the latest template version.">

more confident wording. unless I'm misunderstanding, that's the point of this change.

exportconstUpdateAndStartButton:FC<ActionButtonProps>=({
handleAction,
})=>{
exportconstUpdateAndStartButtonRequireActiveVersion:FC<
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

similarly, this could also just be anactiveVersionRequired prop, rather than exponentially increasing the number ofUpdate(.+)Button(.+?) components we have

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

@aslilacaslilacaslilac left review comments

At least 1 approving review is required to merge this pull request.

Assignees

@johnstcnjohnstcn

Labels
release/breakingThis label is applied to PRs to detect breaking changes as part of the release process
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

bug: template upgrade fails on claimed prebuilt workspace
2 participants
@johnstcn@aslilac

[8]ページ先頭

©2009-2025 Movatter.jp