Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

create_parallel_queue reports success while silently skipping a step that did not render

Aperta
#478 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Inizia riproducendo la pipeline YAML dell’issue e segui l’entry point create_parallel_queue, poiché examples/ non lo copre. Verifica che le azioni interne non risolte falliscano in modo visibile, che i riferimenti $ non vengano rimossi silenziosamente, che i valori templated on: vengano suddivisi correttamente e che la sintassi documentata delle azioni interne sia coerente. Aggiungi test mirati che coprano i comportamenti segnalati e conferma che gli errori raggiungano il chiamante.

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

Descrizione

Observed while probing loop bindings by execution.

Inside a create_parallel_queue, a step whose template references an unbound bare name does not write its file, and the pipeline still reports success:

- id: loop
  action: create_parallel_queue
  create_parallel_queue:
    "on": "['A']"
    action_loop:
      - action: filesystem
        parameters:
          action: write
          path: "out/probe.txt"
          content: "{{ nosuch_name }}"

The write is refused internally with still contains unresolved template references, no file appears, and the run's result reports success. Nothing surfaces to the caller.

The $ spelling fails differently and just as quietly: {{ $nosuch }} is stripped to nothing and the literal text is written to the file, so the artifact exists and its contents are wrong.

Two more findings from the same probe, same construct:

  1. A template in on: breaks queue splitting. "on": "['x', '{{ 1 + 1 }}']" yields a single queue item whose value is the list ['x', '2'], rather than two items. Without a template it splits correctly.
  2. Inner actions cannot use tool:. tool: filesystem inside the nested action_loop raises Could not import tool filesystem: No module named 'orchestrator.tools.filesystem_tools'; action: filesystem is required. So the step syntax inside this construct differs from the step syntax everywhere else, undocumented.

The silent-success case is the serious one: it is the failure mode the resilience work was meant to remove, and no test covers this construct. examples/ contains no create_parallel_queue pipeline that validates, so nothing exercises it.

Lingua principale
Python
Stelle
3
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 ContextLab/orchestrator

Tutte le issue di ContextLab/orchestrator

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.