New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: generate debug symbols on Linux #18676
Conversation
Yes it has generated the new Failures on Mac and Win seem unrelated to this PR |
Hi @alexeykuzmin , Hi @MarshallOfSound , who will be able to review this change ? Thx a lot. |
@CapOM Thank you for the PR! It's definitely something that can be really useful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of including this in the strip binaries step/script this should be done in its own step/script that gets executed before strip binaries.
40b79a4
to
347ee92
Compare
Hi I addressed the remarks, added a separate script, please take a look, thx! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want these to be uploaded in the release you'll have to update both the upload.py
script and the validate-release
script (to check that the assets exist)
347ee92
to
f9efe5c
Compare
Hi @MarshallOfSound , thx for your comment. I pushed what you suggested. Please take a look to |
Hi, gentle ping ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks reasonable I'd like some thought from @nornagon as they're currently refactoring our symbol generation 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems handy, just a few style comments.
FYI, #19042 refactors some symbol dumping stuff for breakpad symbols, but I don't think it'll conflict with this.
f9efe5c
to
c0756d6
Compare
Hi @nornagon , thx for the review. I addressed all of your remarks. Please take a look, thx! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Real close! Thanks for working on this :)
ping @jkleinsc, can we get a release dry run on this PR?
9240529
to
8b99934
Compare
Release builds for this PR here: |
8b99934
to
276fe5e
Compare
I was unable to backport this PR to "8-x-y" cleanly; |
* ci: generate debug symbols on Linux (#18676) * kick ci
Description of Change
For
mac
andwin
there is currentlyelectron-v4.2.3-darwin-x64-dsym.zip
andelectron-v4.2.3-win32-x64-pdb.zip
of about 500MB. There is no such debug package forlinux
. This PR just fixes that.Electron uses breakpad to generate minidumps but there are cases where it does not work properly on Linux so better to use usual coredumps and proper debug symbols on Linux.
#13315
Checklist
npm test
passesRelease Notes
Notes: Generate debug symbols on Linux