Skip to content

ci: Strip Linux release binaries - #15

Open
philprime wants to merge 1 commit into
mainfrom
philprime/ci/strip-linux-release
Open

ci: Strip Linux release binaries#15
philprime wants to merge 1 commit 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
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