Filesystem doesn't retry Drive's 409 Conflict on delete
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
Línea de trabajo
Empieza por la implementación de rm del sistema de archivos y compara cómo gestiona el borrado con el helper pydrive_retry añadido para las pruebas en #461. Añade reintentos para las respuestas 409 de Drive con el motivo conflict únicamente al borrar, conservando el tratamiento actual de 404 como un éxito. Revisa las pruebas relacionadas con el borrado y confirma que un nuevo intento de borrado tiene éxito después del intento inicial.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Right after a file changes, Drive sometimes answers a DELETE with 409 Conflict (reason conflict). Live CI hit this three times during test cleanup on the 2.0 fix PRs: twice right after a content update and once right after a conversion to a Google Doc. #461 makes the tests' retry helper (pydrive_retry) retry it. The filesystem's own rm doesn't retry it.
Neither rclone's Drive backend nor google-api-python-client retries a 409, so 2.0 leaves the filesystem as it is.
If a user reports fs.rm() failing with 409 right after a write, add the retry, for reason conflict on delete only. It's safe: if an earlier attempt went through, the repeated delete gets the 404 that the delete code already treats as done.
🤖 Generated with Claude Code
- Lenguaje dominante
- Python
- Estrellas
- 671
- Forks
- 76
- Merge medio
- 17 h 55 min
- PR fusionados (30 d)
- 46
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 iterative/PyDrive2
-
Test cleanups after the 2.0 fix PRsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
maintenance priority-p2 tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
iterative/PyDrive2#399 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
-
awaiting response priority-p1 triage
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
iterative/PyDrive2#412 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
feature request fs priority-p2
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
iterative/PyDrive2#236 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de iterative/PyDrive2
Issues similares
-
A JSON chat answer blocks the backend event loop for the whole RAG runPosiblemente ocupada @NopeCharon la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Los mantenedores suelen responder en 1 día
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPosiblemente ocupada @jejjohnson la tomó hoy. Abiertotype:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
jejjohnson/integrix#144 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
freelawproject/litigant-portal#1307 ·
Los mantenedores suelen responder en 2 días