Comments (4)
Sorry for the delay on this @jnross. This is pretty interesting, we've never ran into this issue. 🤔
I was just thinking if there could be a downside to stapling before the operation is marked as successful. Looking through the docs, I feel like it makes sense though.
Is there way you can reproduce this issue, so that I can give it a try as well?
from fastlane-plugin-notarize.
Thanks for taking a look at this. I can certainly understand being cautious about this, so let me tell you about the motivation:
We had everything set up on our automated build machine, including the use of this plugin, and we were ready to release a new build. But the build job would never complete. It seemed like the notarize plugin kept reporting the status as in progress, but it would never succeed. We tried reproducing this locally and manually by invoking xcrun altool
ourselves and got the same results - the request reported as in-progress for over an hour. But in each attempt we could staple successfully about 5 minutes after the upload. So at last we compromised and modified our automated build job to archive the artifact even though the notarize plugin action had to be cancelled. We were able to get our release to our users and everything worked fine. All in all we submitted 5 builds for notarization. Later that evening, all of requests switched to report success and we received emails for each. But this was more than eight hours after the first build was submitted.
I haven't seen this problem since, but I have no desire to repeat the anxiety of that day.
Since we don't control the service I can't reproduce the 8-hour request delay I described, but I can tell you that it should be pretty easy to see the early staple succeed. I just ran four build+notarize actions and in each case, early stapling was successful before the notarization-info call returned success(see attachment below). The success email was delivered a few minutes after early stapling succeeded.
from fastlane-plugin-notarize.
Last couple of weeks have been pretty hectic @jnross, sorry again for not following up sooner.
I understand the frustration, the plugin should definitely be able to early staple in such cases. After discussing this with a few developers though, I think we should keep the default as is and add early stapling as an option.
If this makes sense to you as well, I'll add this as a comment to the pull request and we can continue from there.
from fastlane-plugin-notarize.
Thanks, that is totally reasonable. I'll push an update to #6.
from fastlane-plugin-notarize.
Related Issues (12)
- Read binary Info.plist files HOT 1
- ITC_Provider error when multiple providers are associated with apple account. HOT 2
- Managing macOS Certificates/Provisioning Profiles HOT 4
- Notarize plugin doesn't deliver error messages to user. HOT 5
- Parameter to disable detailed notarization response log HOT 1
- FIX: added missing comma HOT 1
- Store log file url in environment variable
- Missing option for asc-provider
- PSA: You must use an App-specific password, not your Apple ID password
- 👋 Thoughts on pull requesting this into a core fastlane action? HOT 7
- suggestion - turn on the log for notarisation file upload HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane-plugin-notarize.