You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
function as pipeline stage with stdout redirect loses the stage output #412
A function running as a pipeline stage with its stdout redirected loses the stage output: neither the stage's pwd line nor the piped payload reaches the redirect file.
Reproducer (probe wt37-374 K109)
f() { cd ..;pwd; cat; }; printf x | f > OUT;printf'after:%s\n'"$(pwd)">> OUT
GNU OUT: <parent> line, then xafter:<cwd> line (pwd line, the x payload, then the after line). rubash CLI OUT: only after:<cwd> - the whole redirected stage output is missing.
Compare K108 (printf x | { cd ..; pwd; cat; } > OUT): the brace-group stage output survives (modulo path domain) - the loss is specific to the function-stage path.
Activity
tests(#374): wt37 round-2 gap families ignored with tickets + residua…
docs: wt38 pool lanes dispatched (#397-#412)
fix(#412): function pipeline stage with an output redirect keeps its …
caomengxuan666 commentedon Oct 3, 2026
Landed on master through the wt38 pool recovery waves (CI green); see the issueNNN regression suite and lane matrices on the ticket.