#11 Workflow YAML parser: no block-scalar (run: |) support

closed
Opened by atgreen

src/yaml.lisp doesn't support YAML block scalars (run: | / >). A run: | step is parsed with the literal value "|", and the indented script lines are mis-handled — so the step executes bash -c '|'syntax error near unexpected token '|'.

Impact:

Also: yaml-lines strips # comments and drops blank lines globally, before parsing — which would corrupt block-scalar content (comments/blanks inside a script) even once | is recognized.

Fix: handle key: | (and >) during line consumption — take the following more-indented lines verbatim (no comment-strip, no blank-drop) as the scalar value, dedented by the block's indent.

Comments (1)

atgreen3991721611

Fixed in af43d7e — yaml.lisp now parses key: | / key: > block scalars (literal and folded, with -/+ chomping), taking the more-indented body verbatim so shell # comments inside a run: | survive. Deployed and verified: multi-line run: steps execute correctly, and release.yml was switched to on: [tag] so it no longer fails on every push.