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

Experimental: Kill Xcode processes before retying altool commands in CI environment #192

Merged
merged 7 commits into from
Jan 13, 2022

Conversation

priitlatt
Copy link
Contributor

@priitlatt priitlatt commented Jan 12, 2022

Another attempt to further mitigate againt occasional Unable to authenticate (-19209) errors that altool throws when in fact correct authentication credentials are provided.

When running app-store-connect publish in CI environment (environment variable CI is set to a truthy value) kill ongoing Xcode processes before retrying altool command that failed due to an error from which it is possible to recover (such as Unable to authenticate (-19209)).

New Python dependency:

  • psutil with version 5.8.0+ to manage ongoing system processes with simple Python inerface in a platform-agnostic way.

Chagnes apply to actions:

  • app-store-connect publish

@priitlatt priitlatt changed the title Improvement: Kill Xcode processes before retying altool commands in CI environment Experimental: Kill Xcode processes before retying altool commands in CI environment Jan 12, 2022
@priitlatt priitlatt marked this pull request as ready for review January 12, 2022 14:06
stubs/psutil/__init__.pyi Show resolved Hide resolved
stubs/psutil/_common.pyi Show resolved Hide resolved
@priitlatt priitlatt merged commit 7c1ec74 into master Jan 13, 2022
@priitlatt priitlatt deleted the bugfix/altool-retry-kill-xcode branch January 13, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants