-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Properly fix doc generation issue #3137
Properly fix doc generation issue #3137
Comments
FWIW, recently swift-metrics doc builds and uploads have succeeded: but the doc upload record is still stuck in the uploading state:
One caveat: while 2.5.0 clearly must have uploaded, the same can't necessarily be concluded for |
What's truly bizarre is that 2.5.0 is the exact same git commit ( |
My fix using os level |
Current status:
There isn't really a good choice here. Options are
NB: Going to give 1. a brief try and then 4. seems like our best option. |
|
For extraction, |
I'd also rather not change the format, because it's being used in two different components, making it trickier to deploy. However, SWCompression seems to support |
Unfortunately, |
Ok, the problem is apparently the 0 bytes |
Odd, simply moving that file out of and back into the folder makes it round-trippable. This should be easy enough to detect in the builder and report back. |
I can't reproduce the unzip failure with a newly created doc archive for the same revision in a builder test. Either the env is slightly different or something else has changed since I pulled the "broken" archive from the S3 inbox. FWIW, it didn't seem an isolated "broken" archive - the I'll redeploy an updated builder with all the latest changes when Xcode 16b2 processing is done to see if we still produce these "broken" archives. |
We're actually explicitly |
This is fascinating. I can finally reproduce the round-trip I'll see if the error persists in a fork of swift-metrics so I can still pin it in the test. |
So I've reproduced the zip-roundtrip issue, fixed it via doc uploader 1.9.0 and builder 4.45.1, confirmed it's rezipping and when re-processing swift-metrics with both these fixed versions we get
It's maddening. |
Ok, it's clear what's going wrong here. It's a path issue when re-zipping the input with |
Follow-up to #3134
We fixed it by rolling back to DocUploader 1.6.3 but that likely re-introduced issues with swift-metrics (#3069) this change meant to address. Figure out how to use DocUploader 1.7.3 (or a modified version) in builder for zipping that doesn't create empty archives.
The text was updated successfully, but these errors were encountered: