Skip to content

release: to prod#1480

Merged
joelorzet merged 4 commits into
prodfrom
staging
Jun 6, 2026
Merged

release: to prod#1480
joelorzet merged 4 commits into
prodfrom
staging

Conversation

@joelorzet

Copy link
Copy Markdown

No description provided.

joelorzet added 4 commits June 5, 2026 20:56
- processCodeTemplates scans the code in a single pass and skips {{...}} refs
  inside // line comments, /* */ and /** */ (JSDoc) block comments, and
  commented-out code, so documentation/example refs no longer fail strict
  resolution and abort the node
- attach the rendered code after the leftover-literal assert so commented refs
  left intact are not re-flagged as unresolved
- include the line number in unresolved-ref errors (a ref can repeat in a node)
- thorough tests: every comment style x both ref forms, interleaved real and
  commented code, and refs inside all common JS structures (if/switch/for/
  while/do-while/for-of/for-in/ternary/object/array/class/async/generator/
  IIFE/labeled/try)
A Condition inside a For Each loop that references a node on a not-taken branch
(a convergence node) threw "references node ... but no output was found": the
body's executeActionStep did not pass nodeMap + executionResults, so the
existing dead-branch grace (resolve a never-executed node ref to undefined)
could not fire. Top-level conditions already pass that context; mirror it in the
body so a loop-body Condition resolves the absent ref to undefined and its
doesNotExist / === undefined rules evaluate instead of failing closed.
fix(workflow): ignore template refs inside code-node comments
…anch-grace

fix(workflow): give For Each body conditions the dead-branch grace
@joelorzet joelorzet requested review from a team, OleksandrUA, eskp and suisuss and removed request for a team June 6, 2026 00:44
@joelorzet joelorzet merged commit c97ed50 into prod Jun 6, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant