Investigate skipping pdb compression during build, making symbol server do it
Categories
(Firefox Build System :: General, enhancement)
Tracking
(firefox57 wontfix)
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: ted, Unassigned)
References
(Blocks 1 open bug)
Details
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 3•5 years ago
|
||
Is there any interest in doing this still? There's no priority set, so I think the answer is "not really".
I ask because I'm triaging the Symbols bugs and one of them blocks this one and if this one isn't going to be worked on, then I'll close mine out.
(In reply to Will Kahn-Greene [:willkg] ET needinfo? me from comment #3)
Is there any interest in doing this still? There's no priority set, so I think the answer is "not really".
I think gsvelto would have the best picture of what the current situation looks like.
Comment 5•5 years ago
|
||
Yes, this sounds like something useful. But it should happen on the build side. The only thing we'd have to do server-side is to check that the resulting files haven't grown too much if we don't compress them beforehand.
IIUC, this would let us remove all references to makecab from the tree? That would be some nice cleanup.
Reporter | ||
Comment 7•4 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #5)
Yes, this sounds like something useful. But it should happen on the build side. The only thing we'd have to do server-side is to check that the resulting files haven't grown too much if we don't compress them beforehand.
I"m curious as to what you mean by "on the build side"? Currently the compression happens during the build task itself as part of symbolstore.py
. This bug proposes moving the compression to Tecken in between "accept a zip file" and "upload each item to S3", like how it already gzip compresses .sym files. Adding this to the symbol upload task would be a net loss because we optimized that by allowing Tecken to accept a URL to a symbols.zip, so the symbol upload task doesn't ever touch the actual symbols, it simply POSTs the URL to the symbols.zip artifact from the build.
Comment 8•4 years ago
|
||
See the commit message in https://phabricator.services.mozilla.com/D85250
Comment 9•4 years ago
|
||
(In reply to (not currently active) Ted Mielczarek from comment #7)
I"m curious as to what you mean by "on the build side"? Currently the compression happens during the build task itself as part of
symbolstore.py
. This bug proposes moving the compression to Tecken in between "accept a zip file" and "upload each item to S3", like how it already gzip compresses .sym files. Adding this to the symbol upload task would be a net loss because we optimized that by allowing Tecken to accept a URL to a symbols.zip, so the symbol upload task doesn't ever touch the actual symbols, it simply POSTs the URL to the symbols.zip artifact from the build.
I think I meant that we shouldn't compress the symbols with makecab in the (local) build but honestly I'm not sure I remember what my reasoning was at the time. It seems Mike found another solution in the meantime.
Updated•2 years ago
|
Description
•