Repository navigation
Conversation
OMARCHY_UPDATE_UNATTENDED/-y must not hang on gum confirm for orphans on a TTY (omacom#13356). Co-authored-by: AnPod <AnPod@users.noreply.github.com>
Co-authored-by: AnPod <AnPod@users.noreply.github.com>
772c22c to
8dd14ca
Compare
|
Thanks for picking up #13356. #8824 is an older open pull request against What was checked. I read both diffs against current Why #8824.
Both tests do guard the fix: each fails if Second opinion. Codex Medium compared the two PRs without being given my answer and chose #8824 for the same two reasons. It found no defect in #8824. It also ran a stubbed check showing that the base calls What happens next. This waits on the maintainer to choose between the two. |
|
I think #14428, merged earlier today, has overtaken this. |
|
@jandrusk is right: #14428, merged into What was checked. I read current What this branch would do now. It no longer applies: it conflicts with Second opinion. Codex Medium was asked whether the bug is still reachable on What happens next. This waits on the maintainer to close it. #8824, the competing fix, is in the same position and will be looked at on its own. |
Summary
Fixes #13356
omarchy-update -yhung ongum confirminomarchy-update-orphan-pkgswhenever stdin/stdout were TTYs, because the helper ignoredOMARCHY_UPDATE_UNATTENDED.Change
test/shell.d/update-orphan-unattended-test.sh(including a TTY/scriptcase)Test plan
bash test/shell.d/update-orphan-unattended-test.sh