TS search summary lists adapters that raised and were rolled back as running

Aperta
#1,146 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
75/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start in Scheduler.spawn_ts_jobs and trace how eligible adapters are recorded when run_job succeeds, raises before submission, or raises after submission. Add the described mock-adapter test: the info line should list only the adapter whose job remains tracked as running, with the rolled-back adapter listed as raised.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Follow-up from a Copilot review on #1102 (comment 4729075872); not a v2.0.0 blocker.

In Scheduler.spawn_ts_jobs, running is eligible_methods minus the engine-absent skips. An
adapter whose run_job raised and was rolled back (not submitted) is still listed as running in
the TS search for reaction ...: running [...] line. Build the list from the adapters that kept a
TS-search job (including a submitted job that stays tracked after an exception), and list the
rolled-back ones separately as raised. Test: a mock adapter that raises before submission next
to one that runs; assert the info line names only the second as running.

Lingua principale
Python
Stelle
55
Fork
26
Merge medio
3g 3h
PR unite (30g)
8

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ReactionMechanismGenerator/ARC

Tutte le issue di ReactionMechanismGenerator/ARC

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.