Skip to content

Release: wait for the node to exit before stripping - #8

Merged
hotpixelgroup merged 1 commit into
masterfrom
arm-strip-race
Jul 27, 2026
Merged

Release: wait for the node to exit before stripping#8
hotpixelgroup merged 1 commit into
masterfrom
arm-strip-race

Conversation

@hotpixelgroup

Copy link
Copy Markdown
Owner

The ARM64 release job failed with strip: unable to copy file 'build/bin/bitcoind'; reason: Text file busy.

bitcoin-cli stop returns when the RPC call is accepted, not when the process has exited, so the Strip step raced a still-running bitcoind.

The race was always there — x86_64 and macOS just won it. And before this release the strip failure was swallowed by 2>/dev/null || true, so it would have shipped a 291MB binary silently either way. Now that strip is load-bearing and gated on size, this waits for the process to actually exit and fails loudly if it never does.

For the record, the size fix itself worked: x86_64 went from 291 MB to 13 MiB.

The ARM64 job failed with 'strip: unable to copy file; reason: Text file
busy'. 'bitcoin-cli stop' returns when the RPC is accepted, not when the
process has gone, so strip raced a still-running bitcoind.

The race was always there — x86_64 and macOS simply won it, and before
this release the strip failure was swallowed by '2>/dev/null || true' so
nobody would have noticed either way. Now that strip is load-bearing,
wait for the process to actually exit and fail loudly if it never does.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@hotpixelgroup
hotpixelgroup merged commit 6295451 into master Jul 27, 2026
2 checks passed
@hotpixelgroup
hotpixelgroup deleted the arm-strip-race branch July 27, 2026 07:14
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