Switch T3's runners to ARC's public PYTHONPATH-policy name once ARC exposes one
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 38/100
Línea de trabajo
Read t3/runners/rmg_runner.py and check whether ARC exposes a public equivalent for _pythonpath_lines on arc.job.env_run. Once available, update the import and verify _rmg_env_shell_script() still uses ARC’s PYTHONPATH policy for both launch paths. Done when the private import is gone with no behavior change; the issue is explicitly waiting on ARC to expose the helper.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What
t3/runners/rmg_runner.py imports a private name from ARC:
from arc.job.env_run import _pythonpath_lines
It is used by _rmg_env_shell_script(), which builds the bash -lc script that both
run_rmg_incore() and run_rmg_sa_incore() use to launch work inside rmg_env. Importing
_pythonpath_lines is deliberate: it makes ARC the single owner of the PYTHONPATH policy for
every RMG child, so ARC and T3 cannot drift apart on whether the parent's PYTHONPATH reaches the
child. The alternative — a second copy of the policy in T3 — is the failure this import prevents.
The cost is that the coupling runs through a leading-underscore name on T3's production launch
path, not in a devtools script. If ARC renames it, T3's runner import fails.
What to do
When ARC exposes a public equivalent (for example a pythonpath_lines or a documented helper on
arc.job.env_run), switch this import to it and drop the private name. No behaviour change is
expected: the policy itself stays ARC's.
Until then the current import is the intended state — it fails loudly rather than silently, which
is why it was chosen.
Not in scope
- Copying the policy into T3.
- Any change to the launch templates or to which launcher runs.
- Lenguaje dominante
- Python
- Estrellas
- 16
- Forks
- 8
- Merge medio
- 1 h 46 min
- PR fusionados (30 d)
- 1
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 ReactionMechanismGenerator/T3
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
ReactionMechanismGenerator/T3#233 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 53/100
ReactionMechanismGenerator/T3#239 · 2 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
ReactionMechanismGenerator/T3#238 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
ReactionMechanismGenerator/T3#237 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
ReactionMechanismGenerator/T3#236 ·
Todos los issues de ReactionMechanismGenerator/T3
Issues similares
-
docs(contributing): the two things that silently block a PRPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoavailable documentation good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 95/100
Nixitov/Riptide-Native#944 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
JTHCode/secretguard#24 ·
Los mantenedores suelen responder en 1 día
-
area: middleware documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
omarelshamy25x/shamy-hijri#63 ·
Los mantenedores suelen responder en 1 día