Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

🤖 fix: renaming a Daytona workspace fails while its sandbox is stopped

オープン
#7,250 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
backend

調査の方向性

Start with WorkspaceService.rename() and src/node/runtime/DaytonaSSHRuntime.ts, especially the ensureReady() and renameWorkspace() paths described in the issue. Read how terminals and turns ensure the runtime is ready, then add the runtime test for a stopped sandbox. Done means the sandbox starts once and the workspace rename succeeds.

索引モデルが issue の本文から書いたものです。

説明

Follow-up from the Codex review of #7100 (thread: https://github.com/coder/xum/pull/7100#discussion_r4353981200, src/node/runtime/DaytonaSSHRuntime.ts:510).

Problem

Renaming a Daytona workspace whose sandbox auto-stopped (30 min idle) or was archived by Daytona fails. WorkspaceService.rename() calls the inherited SSH rename (a remote mv) directly. The Daytona runtime restarts a stopped sandbox only inside ensureReady(), and its one-shot SSH recovery refuses to start a sandbox for a command that did not go through ensureReady(). So the rename fails until the user runs a turn or opens a terminal, which starts the sandbox.

Proposed fix

Bring the sandbox up before the remote move: either WorkspaceService.rename() calls runtime.ensureReady() for runtimes that need it (as terminals and turns do), or DaytonaSSHRuntime overrides renameWorkspace() to run ensureReady() first. Add a runtime test with a stopped sandbox that expects one start and a successful rename.

Why it is deferred

#7100 runs its review loop under a P0/P1-only rule; P2 findings get a tracked follow-up.

主要言語
TypeScript
スター
2.1k
フォーク
140
平均マージ
4時間 57分
マージ済み PR(30日)
946

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/xum のほかの issue

coder/xum の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。