Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Workspace namespaces: more than one Workspace per Durable Object storage

Abierto
#219 1 comentario 1 reacción 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@aron-cf ya está trabajando en esto.

Desde el 8/10/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
9.5k
Forks
552
Merge medio
2 d 6 h
PR fusionados (30 d)
47

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cloudflare/computer

Todos los issues de cloudflare/computer

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.