[TS PBT] Save campaign-file artifacts before stdout publication
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
- 74/100
Línea de trabajo
Lee CampaignFileRequest.kt alrededor de las líneas 57–59 y sigue cómo codifica la campaña y publica stdout y el artefacto solicitado. Añade o adapta una prueba de regresión con un destino de salida que confirme que el artefacto se puede leer en su primer añadido y que luego falla con un error de E/S. Se considera terminado cuando el artefacto se guarda antes de publicar stdout, ambas salidas conservan un JSON idéntico y el fallo al escribir el archivo mantiene el fallback completo de stdout y el error original.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
campaign-file encodes the completed campaign, writes the entire JSON to stdout, and only then saves the requested artifact file. A slow, failed or interrupted stdout operation can therefore discard a result that the runner has already produced and serialized.
The order is present in the minimal public parent #581 (028d5b0c116502525cdb2329f24bde665807922f), in CampaignFileRequest.kt:57-59.
Observed in the frozen local class pilot: multi-algorithms-singly-list-wide / 16061113 / SYMBOLIC_ONLY retained exactly 65536 bytes of campaign JSON on stdout, but no campaign.json. The prefix includes stop=DEADLINE, stoppedAt=CONFIRMATION, elapsedMillis=19611, and Native verification deadline reached; 99 inputs remain unchecked. The outer process guard then returned exit -9. The runner and JSON encoding had completed; stdout publication preceded the missing file write. The retained stdout SHA-256 is c60098bca32dc8ed3bc91816afd5213d5e0a8bab3fa27e7b150da76cc67eed46.
Acceptance:
- Save the requested destination before the first stdout append.
- Keep one JSON encoding and the existing identical stdout/file JSON contract.
- Preserve complete stdout fallback and the original I/O error when the file write itself fails.
- A meaningful regression uses an output sink that checks that a readable artifact already exists on its first append, then fails with an I/O error. The failure must leave the artifact intact.
- Do not rerun the property or add a writer/protocol framework.
This is a narrow result-publication fix under #354. It does not resolve the separate caller/JVM deadline-origin mismatch (#613) or establish the internal cause of other zero-stdout missing-artifact runs. A killed process remains incomplete for primary experimental credit even if its artifact can be retained.
- Lenguaje dominante
- Kotlin
- Estrellas
- 33
- Forks
- 27
- Merge medio
- 3 d 21 h
- PR fusionados (30 d)
- 88
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 UnitTestBot/usvm
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 18/100
UnitTestBot/usvm#618 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
UnitTestBot/usvm#613 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
UnitTestBot/usvm#604 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
UnitTestBot/usvm#592 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
UnitTestBot/usvm#577 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de UnitTestBot/usvm
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
software-mansion/enriched-markdown#1033 ·
Los mantenedores suelen responder en 2 días
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Improve navigation menuAbiertoapp
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
LawnchairLauncher/lawnicons#4180 ·
Los mantenedores suelen responder en 1 día
-
Kotlin extra warnings in GeneratedAppGlideModuleImplPosiblemente ocupada @bacecek la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 18 días