Skip to content

build: faster symbol archives, skip test artifacts on publish - #52987

Merged
MarshallOfSound merged 1 commit into
42-x-yfrom
manual-bp/42-x-y/52745
Aug 19, 2026
Merged

MarshallOfSound merged 1 commit into
42-x-yfrom
manual-bp/42-x-y/52745

Conversation

@VerteDinde

Copy link
Copy Markdown
Member

Backport of #52745

See that PR for details.

Manual backport notes: 42-x-y's publish workflows still use pipeline-segment-electron-publish.yml (no publish: input) and have the extra linux arm / windows x86 jobs, so generate-test-artifacts: false was added to every publish job in linux-publish.yml, macos-publish.yml and windows-publish.yml; release-build.yml does not exist on this branch and is dropped. The build-electron/action.yml and script/lib/util.py hunks are identical to main.

Notes: none

* build: compress symbol archives faster and skip test artifacts on publish

dsym.tar.xz was written by single-threaded xz, which takes 25-45 minutes
per macOS publish job for the ~7GB of dSYMs; use multi-threaded xz
(bsdtar --options xz:threads=0, XZ_OPT=-T0 for GNU tar). Drop the symbol
zips from deflate level 9 to 6, which is ~1.7x faster for ~0.4% larger
output; pdb.zip on Windows took 8-16 minutes at level 9.

Publish and release-build jobs have no test consumers, so pass
generate-test-artifacts: false to skip the src_artifacts tar (12+ minutes
on Windows) and the linux arm64 cross-arch snapshot (~6 minutes). The
mksnapshot_args fixup is also needed by the released mksnapshot.zip, so it
now runs for release builds regardless of that flag.

No-Verification-Needed: CI workflow and packaging script changes only

* build: only zip symbols when the build asked for them

No-Verification-Needed: CI action condition only
(cherry picked from commit 7eb7b5f)
@MarshallOfSound
MarshallOfSound merged commit 6fb93dd into 42-x-y Aug 19, 2026
108 checks passed
@MarshallOfSound
MarshallOfSound deleted the manual-bp/42-x-y/52745 branch August 19, 2026 07:38
@release-clerk

release-clerk Bot commented Aug 19, 2026

Copy link
Copy Markdown

No Release Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants