Skip to content

Fix split_pipeline bugs causing incorrect reasons#24

Merged
ldayton merged 3 commits intomainfrom
fix-split-pipeline-bugs
Jan 13, 2026
Merged

Fix split_pipeline bugs causing incorrect reasons#24
ldayton merged 3 commits intomainfrom
fix-split-pipeline-bugs

Conversation

@ldayton
Copy link
Copy Markdown
Owner

@ldayton ldayton commented Jan 13, 2026

Summary

  • Fix split_pipeline using cmd instead of node for standalone commands, causing repeated reasons (e.g., bash-oracle, bash-oracle, bash-oracle)
  • Fix _reconstruct_command returning empty string for compound commands (while, for, if), now returns kind name

Lily Dayton and others added 3 commits January 13, 2026 08:27
Was passing `cmd` (leftover from previous pipeline iteration) instead of
`node`, causing commands after a pipeline to all report the last pipeline
command. Also adds failing test for compound commands in pipelines.
For while/for/if/case loops, return the kind name instead of empty
string so reasons display properly (e.g., "while" instead of "").
@ldayton ldayton merged commit 52a3bc5 into main Jan 13, 2026
1 check passed
@ldayton ldayton deleted the fix-split-pipeline-bugs branch January 13, 2026 17:07
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