Runtime does not start workers for tools declared on a `planner=` agent
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 82/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- backend, distributed-systems
Direzione di ricerca
Inizia da src/conductor/ai/agents/runtime/runtime.py, concentrandoti su come vengono raccolti gli strumenti del worker per un agent e i suoi slot planner= e fallback=. Riproduci il problema con examples/agents/86_coding_agent.py e verifica che raggiunga il planner invece di rimanere bloccato; l’errore successivo "No JSON plan found" è un difetto separato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In short: an agent passed as planner= gets no workers started for its tools, so its tasks sit in the queue with nothing polling them and the example hangs forever.
Files: src/conductor/ai/agents/runtime/runtime.py; reproduced by examples/agents/86_coding_agent.py
Symptom
$ python examples/agents/86_coding_agent.py
Hangs forever, no output after the worker banner. Output at 180s and 300s is byte-identical — no progress. Still reproduces on Orkes Conductor 5.5.0 against main at 8ff5f88f (240s, no progress).
Cause
Workers start only for the parent agent's tools=. Tools declared on the agent passed as planner= get none, so the planner's read_file tasks stay SCHEDULED with nothing polling them.
grep -n '\.planner' runtime.pymatches only comments — no code reads that slot when collecting worker tools._ensure_models_for_agentwalksa.agentsrecursively, so the old form was covered.- The named slots
planner=/fallback=replaced the olderagents=[planner, fallback]form, and the traversal was never extended to them.
Fix
Collect worker tools through planner= and fallback=, not only agents=.
Verify
python examples/agents/86_coding_agent.py reaches the planner and stops hanging. Confirmed: supplying those four workers from a second process ends the hang (128s vs indefinite).
Notes
This does not make 86 pass. It then fails with No JSON plan found and no fallback agent configured, a separate defect.
Reproduce on Orkes Conductor 5.5.0, not OSS 3.32.0. On OSS 3.32.0 the example no longer reaches this hang — it fails first, at 42s, with a separate defect that masks this one:
Plan compilation failed: Validation 0 has unsafe success_condition:
unexpected trailing input: '('passed') >= 0' at position 9 in: $.indexOf('passed') >= 0
No other example is known to expose this. 115_plan_execute_planner_context.py and adk/24_planner.py both use planner= but cannot reach it, and both pass:
115's planner declares the same four tools as its parent harness, so the parent'stools=already starts those workers.adk/24_planner.pypassesBuiltInPlanner(...), which carries no tools at all.
- Lingua principale
- Python
- Stelle
- 104
- Fork
- 44
- Merge medio
- 4g 18h
- PR unite (30g)
- 3
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 conductor-oss/python-sdk
-
Async SSE client reuses httpx.AsyncClient across event loops -> "Event loop is closed"Forse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
conductor-oss/python-sdk#507 ·
-
`.[agents]` extra omits `langchain-anthropic`, so a shipped example cannot runForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug dependencies
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
conductor-oss/python-sdk#486 ·
-
Framework-agent failures return `None` instead of the failed task's reasonForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
conductor-oss/python-sdk#483 ·
-
Example 39c_serverless_code_execution.py needs to be changed for it to workForse già presa @nthmost-orkes l’ha presa 11 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
conductor-oss/python-sdk#512 ·
-
TaskType.NOOP missing — NOOP system task has no enum value or builder classForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
conductor-oss/python-sdk#430 ·
Tutte le issue di conductor-oss/python-sdk
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
FuRongJun-1999/dsh-memory#65 ·
I maintainer di solito rispondono entro 1 giorno
-
ci needs-ac
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Ikalus1988/MisakaNet#2930 ·
I maintainer di solito rispondono entro 1 giorno
-
`FakeBackendV2.run` fails with `NoiseError` on circuits with delays on qubits where T2 > 2·T1Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Qiskit/qiskit-aer#2466 ·
-
area/cli
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100