* preflight check for stacked prs before submit * close pipe read end in test to avoid FD leak * concise var reuse