Collab-server keeps phantom state of renamed files
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- backend
Línea de trabajo
Start in the collab-server code that handles File Explorer renames and manages Y.Doc instances, then reproduce the a.txt → b.txt → a.txt sequence described in the issue. Done means reopening a.txt retains Version 3 rather than overwriting it with Version 2, while Ctrl-Z no longer restores the lost content.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
To replicate:
- Open an new file
a.txtin a fresh project. Make edits to it and save them. (This is Version 1 of the document) - Edit the document and do not save those changes (this is Version 2 of the document)
- Rename the file to
b.txtusing the File Explorer. Due to the fix in #160, theb.txtdocument will correctly contain Version 2 of the document - Make further edits to
b.txt. This is Version 3 of the document. You can save these, or not. - Rename
b.txtback toa.txtusing the file explorer.
Expected: the a.txt buffer contains Version 3 of the document
Actual: the a.txt buffer contains Version 2 of the document. Pressing Ctrl-Z restores Version 3 of the document.
Reason: the collab server kept around a phantom Y.Doc for a.txt, and when a buffer for a.txt was opened, the collab server overwrote the document with its document.
Replaces #146 — this is the part of #146 that wasn't fixed by #160.
- Lenguaje dominante
- TypeScript
- Estrellas
- 12
- Forks
- 1
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 66
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
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 leanprover/lean-workbench
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
leanprover/lean-workbench#270 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
leanprover/lean-workbench#54 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
leanprover/lean-workbench#282 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
leanprover/lean-workbench#275 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
leanprover/lean-workbench#272 ·
Los mantenedores suelen responder en 1 día
Todos los issues de leanprover/lean-workbench
Issues similares
-
agentic-workflows
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
opencollective/opencollective-frontend#12789 ·
Los mantenedores suelen responder en 1 día
-
Web download page shows a file as Completed when its download from S3 fails with an error responseAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
awslabs/visual-asset-management-system#2097 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
openwatersio/slackwater#591 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
compiler-explorer/compiler-explorer#9738 ·
Los mantenedores suelen responder en 2 días