Skip to content
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

[snapshot] initialize directories on retry and clear collected_errors on retry #12737

Merged

Conversation

joshdholtz
Copy link
Member

Fixes #10786

Wut

  1. In a failure copy_screenshots would delete the cache directory but not recreate it for following retry runs
  • A retry new recreate the cache directories
  1. A successful retry would always result in an overall failure since collected_errors was never getting cleared before a retry
  • This is now also fixed

@joshdholtz joshdholtz changed the title Joshdholtz snapshot initialize directories on retry [snapshot] initialize directories on retry and clear collected_errors on retry Jun 13, 2018
Copy link
Member

@KrauseFx KrauseFx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@joshdholtz joshdholtz merged commit 7c758c4 into master Jun 14, 2018
@joshdholtz joshdholtz deleted the joshdholtz-snapshot-initialize-directories-on-retry branch June 14, 2018 16:10
@fastlane-bot
Copy link

Hey @joshdholtz 👋

Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉
The code change now lives in the master branch, however it wasn't released to RubyGems yet.
We usually ship about once a week, and your PR will be included in the next one.

Please let us know if this change requires an immediate release by adding a comment here 👍
We'll notify you once we shipped a new release with your changes 🚀

@fastlane-bot
Copy link

Congratulations! 🎉 This was released as part of fastlane 2.98.0 🚀

@fastlane fastlane locked and limited conversation to collaborators Aug 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snapshot: Missing screenshots after retry
4 participants