Segmented US national runs wait on stuck regional children until the parent times out
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- backend, distributed-systems
Línea de trabajo
Start with the parent run_simulation function, which waits on regional child runs with no per-child deadline and is killed by the 3,600 s Modal timeout. The payload does not name the files or tests involved, so locate the orchestration code yourself. Done means a stuck child is cancelled and retried once, the run fails with the region group named, and the parent cancels its children before its own timeout. PR #795 already targets this issue, so check it before starting.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
A segmented US national run waits on each regional child with no deadline of its own. If a child never finishes, the parent run_simulation waits until its 3,600 s Modal timeout kills it. Because the parent is killed rather than failing in code, nothing cancels its children, and they keep running.
On 9 October 2026, both US national reports for 2023 hit this. They used the same policy and started at about 05:45 UTC.
- Their 20 regional children were re-run 180 and 131 times on new containers, and none finished. The few that logged an error were interrupted during dataset loading after 229–517 s.
- First report: the parent ended at 3,599.8 s with Modal's
InputCancellation("Input was cancelled by user"), which is its timeout. Its children kept restarting for about another 50 minutes. - Second report: the parent failed after 3,167 s with
Server has lost track of input, from polling a restarting child.
Reports for other years needed at most three extra child runs, and all succeeded.
Expected
- A child with no result within a reasonable deadline is cancelled and retried once.
- The run fails with a clear message naming the region group if the retry also fails or runs out of time.
- The parent fails in code, and cancels its children, before its Modal timeout.
Follow-up (not in scope)
Find why the 2023 children's containers kept being terminated, which needs Modal container logs. Respawned children also start new traces with no parent span.
- Lenguaje dominante
- Python
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 1 d 4 h
- PR fusionados (30 d)
- 27
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 PolicyEngine/policyengine-sim-api
-
Integration tests fail due to missing UV virtual environment setupPosiblemente 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
PolicyEngine/policyengine-sim-api#314 ·
Los mantenedores suelen responder en 1 día
-
Update policyengine to 6.3.4Posiblemente ocupada @policyengine la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 40/100
PolicyEngine/policyengine-sim-api#796 ·
Los mantenedores suelen responder en 1 día
-
Stage 12 coordinator can outlive its timeout while waiting and leaves workers runningPosiblemente ocupada @anth-volk la tomó hoy. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 20/100
PolicyEngine/policyengine-sim-api#792 ·
Los mantenedores suelen responder en 1 día
-
Stage 12 failure records keep only the exception class namePosiblemente ocupada @anth-volk la tomó hoy. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
PolicyEngine/policyengine-sim-api#790 ·
Los mantenedores suelen responder en 1 día
-
Stage 12 runs exhaust the database session pooler's 15-client limitPosiblemente ocupada @anth-volk la tomó hoy. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
PolicyEngine/policyengine-sim-api#788 ·
Los mantenedores suelen responder en 1 día
Todos los issues de PolicyEngine/policyengine-sim-api
Issues similares
-
vis.image() reports "Unsupported number of image channels: 224" for an HxWxC imagePosiblemente ocupada @piyush182004 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
fossasia/visdom#1997 · 3 comentarios ·
Los mantenedores suelen responder en 6 días
-
Byse new domainAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Gujal00/ResolveURL#1525 ·
Los mantenedores suelen responder en 1 día
-
Serialisation fails with pydantic 2.14: wrap serialisers pass SerializationInfo as index_keyPosiblemente ocupada @hugohills-regnosys la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
finos/rune-python-runtime#45 ·
-
[Bug]: LangGraph Store sync put bypasses namespace validationPosiblemente ocupada @ktz03 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
volcengine/OpenViking#6050 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hummingbot/condor#283 ·
Los mantenedores suelen responder en 1 día