Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Workspace namespaces: more than one Workspace per Durable Object storage

Aperta
#219 1 commento 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@aron-cf ci sta già lavorando.

Dal 8/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
TypeScript
Stelle
9.5k
Fork
552
Merge medio
2g 4h
PR unite (30g)
49

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudflare/computer

Tutte le issue di cloudflare/computer

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.