-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[action][download_dsyms] fix: download_dsyms
with wait_for_dsym_processing
is not checking the latest data from Connect API
#19523
[action][download_dsyms] fix: download_dsyms
with wait_for_dsym_processing
is not checking the latest data from Connect API
#19523
Conversation
@joshdholtz you might want to take a look at this one. |
Thank you!! Looking at now 🙂 |
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
download_dsyms
with wait_for_dsym_processing
is not checking the latest data from Connect APIdownload_dsyms
with wait_for_dsym_processing
is not checking the latest data from Connect API
@googlebot I consent. |
@bguidolim Thank you for adding this! Thank you for fixing this 😊 I also added some unit tests if you don't mind taking a quick look at this 😇 |
@joshdholtz LGTM! Thanks :) |
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.
Looks good to me. Thank you for fixing this 👍
I pointed minor improvements to make the change even better! Looking forward to seeing this in next version 😍
Any plans on when this will get into a release? The change to use the Apple API key for download dsyms action is really welcome, but without this change I don't think we can upgrade to that method since it won't find the dSYM files. |
This is blocking our CI flows as well now. Getting the API Key in place consolidated a lot of the meta around our project and it would great to get this last bit working. |
@joshdholtz @ainame ping |
@bguidolim I'm not very familiar in the ruby space and a bit off-topic, but do you know if there is any way that we can install a version of fastlane with these changes before they are released and published so we can start using it on our CIs? |
… the latest data from Connect API
Co-authored-by: Satoshi Namai <s.namai.09@gmail.com>
@grEvenX you can use this on your Gemfile:
|
@bguidolim Thanks, tested and it works perfectly with these changes 👍 |
Does the Fastlane team have any feeling for when this would appear in a release? |
@bguidolim @ainame any ETA of this fix in public release? |
@christianYoopies it's all set from my side. |
@joshdholtz Please, can we merge this in and release a new fastlane version? 🙏🏼 Thanks! |
My Xmas gift would be this PR merged. 🎅🏻 |
Ah sorry! November was a 🎢 for me so getting things caught back up 😊 Looking again and then I'll get a new version out! |
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.
This is 🔥 Thank you so much for fixing this and I'll get this released ASAP!
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.
Congratulations! 🎉 This was released as part of fastlane 2.199.0 🚀
Checklist
bundle exec rspec
from the root directory to see all new and existing tests passbundle exec rubocop -a
to ensure the code style is validMotivation and Context
PR #19508 introduced
download_dsyms
to the Appstore Connect API, however when the symbols are still in the processing phase and we call the action with the parameterwait_for_dsym_processing
set totrue
, the action was not updating the build data in order to get the newly created download URL.Fix #19569
Description
A change was made to check if the number of available URLs is the same as build bundles (app or app clips) that include symbols. If these numbers are different and the flag
wait_for_dsym_processing
is true, so it waits 30 seconds and requests new data from the API.The previous behavior is still there of already processed symbols.
Testing Steps
To test this you should use a combination of
upload_to_testflight
+download_dsyms(wait_for_dsym_processing: true)
in order to make it work.