Self-hosted platform: no command clears the local install record after its database is gone
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- postgresql, typescript
Línea de trabajo
Lee docs/guide/platform/installation/uninstall.md, especialmente las indicaciones alrededor de la línea 92 y la lista «Remove retained resources». Documenta cómo borrar el registro de instalación local y los archivos adyacentes de recuperación y secretos cuando la base de datos se haya perdido permanentemente. Luego explica cómo eliminar manualmente los recursos de Cloudflare conservados. La tarea estará terminada cuando los pasos de recuperación sean claros y coherentes con la lista de recursos existente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
If the platform PostgreSQL database is deleted or can no longer be reached, the local
installation record stays, and no Void command can clear it. The installation name stays
blocked on this machine.
database deleted / unreachable
│
▼
void platform uninstall <id> ──▶ needs the database lifecycle lock first ──▶ fails
void platform install --resume ──▶ reads the saved checkpoint from the database ──▶ fails
void platform install (same name) ──▶ "Installation <id> already uses this name.
Resume it with void platform install --resume" ──▶ loop
A user can still pick a new name, so this is a cleanup dead end, not a full block. The Cloudflare
resources of that installation also stay, and uninstall cannot list them.
Repro (code reading; base 23ddc6e35)
- Install a platform (or stop an install after the database claim).
- Delete the PostgreSQL database at the provider.
- Run
void platform uninstall <id>: it stops at the database lock. - Run
void platform install --name <same-name>: refused, points to--resume. - Run
void platform install --resume --name <id>: it stops at the database read.
Cause
- Every lifecycle command, uninstall included, takes the database lifecycle lock before any change:
packages/void/src/cli/platform-management.ts:591-606(acquirePlatformDatabaseLifecycleLock).
uninstall --planreads project Zero Trust state and projects from the database:
platform-management.ts:311-323. - A non-draft resume reads the authoritative manifest from the database first:
packages/void/src/cli/platform-lifecycle.ts:476-486(readPlatformDatabaseLifecycleManifest). - The name check blocks any record that is not
uninstalled:
packages/void/src/cli/platform-registry.ts:256-268. docs/guide/platform/installation/uninstall.md:92says uninstall stops when the database cannot
be reached, with no next step. Deleting~/.void/platforms/<account>/<id>.jsonis only mentioned
for after a finished uninstall (uninstall.md:38).
Options
- Docs only: say that when the database is gone for good, the user can delete
~/.void/platforms/<account>/<id>.json(and the.recovery.enc/.secrets.encnext to it),
then remove the Cloudflare resources by hand (the list in "Remove retained resources").
Smallest; no code risk. - A
void platform forget <id>command that removes only the local record after a typed
confirmation, prints the recorded Cloudflare resources first, and refuses while the database
is reachable. Needs CLI help, docs and interactive hints. - Let
uninstall --purge-resourcesrun without the database when the user passes an explicit
flag (for example--database-gone). Largest: the database lock and the Zero Trust guard exist
to stop races with the API, so this needs a careful design of what is still safe to delete.
Recommendation: option 1 now; option 2 if users hit it more than once.
🤖 Generated with Claude Code
- Lenguaje dominante
- TypeScript
- Estrellas
- 402
- Forks
- 32
- Merge medio
- 12 h 28 min
- PR fusionados (30 d)
- 77
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de voidzero-dev/void
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
voidzero-dev/void#478 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
voidzero-dev/void#463 ·
Los mantenedores suelen responder en 1 día
-
Deploy after a secret change fails for Workers over ~750 KB: source read-back capped at 1 MiBAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
voidzero-dev/void#459 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
voidzero-dev/void#480 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
voidzero-dev/void#477 ·
Los mantenedores suelen responder en 1 día
Todos los issues de voidzero-dev/void
Issues similares
-
"Contains" page watch never matches when its text has a trailing spacePosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
CopilotKit/openmuse#184 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
bootstrap-vue-next/bootstrap-vue-next#3357 ·
Los mantenedores suelen responder en 1 día
-
[quality] tide.ts: six mutation survivors in the merge-queue gate, draft refusal, fork-403 workflow-file diagnosis and getPull's fork flag are unpinned by any testPosiblemente ocupada @hivecommons-hive la tomó hoy. Abiertoagent/quality needs-kind stage/040-covered-by-pr testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
cncf/prow-github-actions#517 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Unsampled pageload span is profiled when profileLifecycle is 'trace' (browser UI profiling)Posiblemente ocupada @Jxxunnn la tomó hoy. AbiertoBrowser Waiting for: Product Owner
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
getsentry/sentry-javascript#25497 · 1 comentario ·
Los mantenedores suelen responder en 1 día