Skip to content

ci: keep the debug symbols of the .deb as artifact - #613

Merged
juliusknorr merged 2 commits into
mainfrom
ci/keep-dbgsym
Dec 3, 2026
Merged

juliusknorr merged 2 commits into
mainfrom
ci/keep-dbgsym

Conversation

@juliusknorr

@juliusknorr juliusknorr commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

The .deb build already strips the core binaries into a -dbgsym .ddeb, but the packages stage only copied *.deb and *.rpm, so the symbols were lost. Profiling x2t then only shows library names.

  • Copy the .ddeb into the packages output
  • Upload it as dbgsym-<arch> on nightly, tag and manually dispatched builds (euro-office brand, 14 days). On tags the symbols are kept for 90 days and attached to the GitHub release next to the packages
  • develop/README.md: how to install it in the dev container

Core is built without -g, so this gives function names, no line numbers. The .rpm is built unstripped (__strip /bin/true) and stays as is. No consumer picks up the .ddeb: the image installs an exact .deb name, and uploads and publishing glob *.deb/*.rpm.

To check: a workflow_dispatch run should show dbgsym-amd64 and dbgsym-arm64, and their size.

AI-assisted change, reviewed and tested by me.

dh_strip already builds a -dbgsym .ddeb with the symbol tables of the core binaries, but the packages stage only copied *.deb and *.rpm. Copy it too and upload it as dbgsym-<arch> on nightly, tag and dispatched builds, so x2t can be profiled with function names.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
No-test: CI packaging config
Assisted-by: ClaudeCode:claude-opus-5-5
@juliusknorr juliusknorr added build Build process related changes packages performance labels Nov 24, 2026
@juliusknorr
juliusknorr marked this pull request as ready for review November 30, 2026 19:53
@juliusknorr
juliusknorr requested a review from a team as a code owner November 30, 2026 19:53
@juliusknorr
juliusknorr requested review from OlhaUshkalenko, meisam-ui and rikled and removed request for a team November 30, 2026 19:53

@rikled rikled left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, .ddeb lands where the find looks (checked in the v9.3.8 log), shipped .deb unchanged.

  • 14-day retention means symbols for release tags vanish while the images live on. Attach the .ddeb to the GitHub release, or longer retention for tags?

…ease

Tag builds keep the dbgsym artifact for 90 days instead of 14, and
publish-euro-office-release attaches the .ddeb files to the GitHub
release, so symbols stay available as long as the release images.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
No-test: CI workflow config
Assisted-by: ClaudeCode:claude-opus-5-5
@juliusknorr

Copy link
Copy Markdown
Member Author

Good point, did both: tag builds now keep the dbgsym-* artifact for 90 days (nightlies stay at 14), and publish-euro-office-release attaches the .ddeb files to the GitHub release together with the packages.

@juliusknorr
juliusknorr merged commit 8d2427a into main Dec 3, 2026
22 checks passed
@juliusknorr
juliusknorr deleted the ci/keep-dbgsym branch December 3, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build process related changes packages performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants