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

Workspace namespaces: more than one Workspace per Durable Object storage

オープン
#219 コメント 1 件 リアクション 1 件 担当者 1 名 GitHub で見る

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

@aron-cf がすでに取り組んでいます。

2026年10月8日 から。

評価

この issue はまだ評価されていません。

説明

enhancement

A Durable Object's storage holds exactly one Workspace, because the vfs_* table names are fixed. @cloudflare/shell in cloudflare/agents had a namespace option that gave each Workspace its own tables. That let one agent keep separate workspaces side by side, for example a scratch area and a durable project, or one per sub-task.

We're deprecating Shell for Computer. Nobody is blocked on this today, but I'm filing it so it's tracked.

Proposal
  • Add an optional namespace to WorkspaceOptions. Its default would keep today's table names, so existing data doesn't move.
  • A namespace prefixes every vfs_* / _vfs_* table, along with the execution-runtime tables.
  • Validate it strictly (for example ^[a-z][a-z0-9_]*$), because it goes into table names as text.
  • Two Workspaces with different namespaces on the same storage must not see each other's files, changes, sync cursors, or mounts.

A different option is to say "one workspace per Durable Object" and point people at facets or child DOs. If that's the intended model, document it and close this.

主要言語
TypeScript
スター
9.5k
フォーク
552
平均マージ
2日 6時間
マージ済み PR(30日)
47

環境構築

はじめの一歩

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

cloudflare/computer のほかの issue

cloudflare/computer の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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