Interrupted stub rebuild can truncate a valid SPIR-V output
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 18/100
Línea de trabajo
The stub generator's rebuild path opens the existing SPIR-V output for writing before the new content is complete, so start where that file is opened and written. The test test_failed_rebuild_keeps_existing_stub in open PR #4175 simulates an OSError on a second pass. Work is already under way there, so check that PR before starting. Done means a failed rebuild leaves the original bytes in place.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
The stub generator opens the existing SPIR-V output for writing before the replacement is complete. An ordinary I/O error can leave a truncated file in place of a previously valid stub. The fix and failure-injection tests are in #4175. AI-assisted (Codex).
Commit
aa2988cc555bad7ecd508b48a702adbb32fe7c95
System
Windows, Python 3.12.13, SPIRV-Tools v2026.4. CPU only.
Where
Finding the game (--find)
Command and steps
Generate a stub twice from a synthetic index. On the second pass simulate an OSError during the write, as in test_failed_rebuild_keeps_existing_stub in #4175.
Output
The rebuild reports a write error, and the existing file contains only the incomplete write. With the fix its original bytes remain available.
- Lenguaje dominante
- Python
- Estrellas
- 14.9k
- Forks
- 1.2k
- Merge medio
- 1 h 58 min
- PR fusionados (30 d)
- 40
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 ItsNotRexed/Leonida
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ItsNotRexed/Leonida#3990 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 Medio día Aptitud para principiantes 25/100
ItsNotRexed/Leonida#4257 · 18 comentarios ·
Los mantenedores suelen responder en 1 día
-
Python SPIR-V assembler encodes BF16 constants as IEEE halfPosiblemente ocupada @lumenpearson la tomó hoy. Abiertobug
Dificultad 3/5 Medio día Aptitud para principiantes 25/100
ItsNotRexed/Leonida#4237 ·
Los mantenedores suelen responder en 1 día
-
SPIR-V reflection rejects Int8 array length constantsPosiblemente ocupada @lumenpearson la tomó hoy. Abiertobug
Dificultad 3/5 Medio día Aptitud para principiantes 22/100
ItsNotRexed/Leonida#4221 ·
Los mantenedores suelen responder en 1 día
-
Semantic SPIR-V interpreter narrows binary64 negate and absolute valuePosiblemente ocupada @lumenpearson la tomó hoy. Abiertobug
Dificultad 3/5 Medio día Aptitud para principiantes 18/100
ItsNotRexed/Leonida#4181 ·
Los mantenedores suelen responder en 1 día
Todos los issues de ItsNotRexed/Leonida
Issues similares
-
pydanty:is-working
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pydantic/pydantic-ai#14187 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
[Bug]: legacy_json_to_doc crashes on persisted docs with "relationships": nullPosiblemente ocupada @Harsh23Kashyap la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
run-llama/llama_index#24392 ·
Los mantenedores suelen responder en 2 días
-
Add server: crowllm-mcpAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
pathintegral-institute/mcpm.sh#568 ·
Los mantenedores suelen responder en 21 días