Switch T3's runners to ARC's public PYTHONPATH-policy name once ARC exposes one
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 38/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 16
- Fork
- 8
- Merge medio
- 1h 46m
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ReactionMechanismGenerator/T3
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
ReactionMechanismGenerator/T3#233 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 53/100
ReactionMechanismGenerator/T3#239 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ReactionMechanismGenerator/T3#238 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
ReactionMechanismGenerator/T3#237 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
ReactionMechanismGenerator/T3#236 ·
Tutte le issue di ReactionMechanismGenerator/T3
Issue simili
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JTHCode/secretguard#24 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 ·
I maintainer di solito rispondono entro 1 giorno