Skip to content

Strip debug info and trimpaths - #60

Merged
agajdosi merged 2 commits into
mainfrom
strip_build
Sep 25, 2026
Merged

agajdosi merged 2 commits into
mainfrom
strip_build

Conversation

@agajdosi

Copy link
Copy Markdown
Member

Reduce binary size by striping debug data and trimpaths to not show potential personal information on panics.

I have tested manually and usefulness of the panics is not affected by the stripping, lines and file names are still present:

➜  bk_client git:(main) ✗ out/v1.12.23/bk_client-macos-arm64


⬡  2026/09/23 12:41:08.253128 Blendkit-Client v1.12.23 started manually
	port=62485
	server=https://www.blendkit.com
	proxy_which=SYSTEM
	proxy_address=
	trusted_ca_certs=
	ssl_context=
	pid=
⬡  2026/09/23 12:41:08.253416 ✅ Using proxy settings from system network settings
2026/09/23 12:41:08 [proxy.Provider.readDarwinNetworkSettingProxy]: https proxy is not enabled.
⬡  2026/09/23 12:41:08.263504 🔒 SSL verification is enabled by default
⬡  2026/09/23 12:41:08.264395 ✅ Settings store ready (v1.12.23, rev 1): /Users/ag/devel/blenderkit/bk_client/out/v1.12.23/bk_client-settings.json
⬡  2026/09/23 12:41:23.474460 🤝 Blender (v5.3.0, add-on v3.21.2.260918) subscribed: 94622
<- 2026/09/23 12:41:24.353345 ✅ health_check (5169ecaf-8c6f-4656-9f47-ec45fed688c9)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x100f85640]

goroutine 35 [running]:
main.handleChannels()
	github.com/blenderkit/blenderkit/client/main.go:217 +0xcf0
created by main.main in goroutine 1
	github.com/blenderkit/blenderkit/client/main.go:352 +0x94c

…mpaths to not show potential personal information on panics
@agajdosi
agajdosi marked this pull request as ready for review September 25, 2026 08:36

@yac yac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@agajdosi
agajdosi merged commit 96dc691 into main Sep 25, 2026
94 checks passed

This branch was successfully deployed

1 active deployment
signing — 80957e27 Deployed Sep 25, 2026 by github-actions[bot] via code_sign_macos #270
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.

2 participants