Skip to content

ci: Strip Linux release binaries - #15

Merged
philprime merged 4 commits into
mainfrom
philprime/ci/strip-linux-release
Sep 11, 2026
Merged

ci: Strip Linux release binaries#15
philprime merged 4 commits into
mainfrom
philprime/ci/strip-linux-release

Conversation

@philprime

Copy link
Copy Markdown
Member

Strip statically linked Linux release binaries so debug metadata is not shipped to users. The current artifacts are approximately 171 MB, while stripping the existing x86-64 binary reduces it to approximately 64 MB.

The workflow uploads the symbol-bearing ELF to Sentry before relinking the distributed binary with its target SDK linker. It also requires the stripped binary to retain the uploaded ELF build ID, contain no DWARF debug sections, and remain below 80 MB.

The pull request build will validate the stripping and size checks for both Linux architectures. Sentry upload remains limited to non-pull-request builds where the authentication token is available.

Upload symbol-bearing ELF files to Sentry before relinking stripped release artifacts. Enforce an 80 MB size ceiling and matching build IDs so server-side symbolication remains valid.
@philprime
philprime marked this pull request as ready for review September 10, 2026 20:56
Comment thread .github/workflows/build-binaries.yml Outdated
@philprime
philprime merged commit e68d2d1 into main Sep 11, 2026
15 checks passed
@philprime
philprime deleted the philprime/ci/strip-linux-release branch September 11, 2026 09:58
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