Skip to content

Fix release smoke-test SIGPIPE - #3

Merged
KaiCao2003 merged 1 commit into
mainfrom
codex/fix-release-smoke-sigpipe
Jul 26, 2026
Merged

Fix release smoke-test SIGPIPE#3
KaiCao2003 merged 1 commit into
mainfrom
codex/fix-release-smoke-sigpipe

Conversation

@KaiCao2003

Copy link
Copy Markdown
Owner

Outcome

Prevents the standalone release smoke test from reporting exit 141 after it successfully discovers the bundled bridge.

With set -o pipefail, the previous awk ... { print; exit } could close the pipe while ps was still writing. macOS then reported the upstream ps SIGPIPE as a build failure. The updated expression records and prints only the first matching child while continuing to consume the process list.

Verification

  • Reproduced the original exit 141 during the clean-main v0.1.0 build.
  • bash -n native/Brain3D/Scripts/build-release-app.sh: pass.
  • Patched process lookup under pipefail: exit 0.
  • git diff --check: pass.

The failed build's app and zip remain preserved locally and will not be published. A fresh clean-main standalone build will run after this PR passes CI and merges.

@KaiCao2003
KaiCao2003 merged commit 2052d12 into main Jul 26, 2026
6 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