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

feat(xcode): All uploads in foreground #2168

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

szokeasaurusrex
Copy link
Member

@szokeasaurusrex szokeasaurusrex commented Sep 27, 2024

Perform all uploads from Xcode in the foreground. The new behavior is equivalent to the old --force-foreground behavior.

Since uploads are now always executed in the foreground, (soft) deprecate the --force-foreground option by hiding it in the command help text. The --force-foreground option no longer has any effect, but passing it will continue to be possible at least until the next major release to keep the API backwards compatible.

Background functionality is completely removed from Sentry-CLI with this change.

Closes #2166
Fixes #2148

@szokeasaurusrex szokeasaurusrex linked an issue Sep 27, 2024 that may be closed by this pull request
@szokeasaurusrex
Copy link
Member Author

@mitsuhiko it appears you were the one who originally added the background upload functionality in 2017, or perhaps even earlier. Are you at all opposed to removing the background upload functionality completely? Happy to provide more context if needed

@philipphofmann
Copy link
Member

philipphofmann commented Sep 30, 2024

As stated on Slack, there is nothing against this from the mobile side. We only need to ensure that we keep the same functionality in the https://github.com/getsentry/sentry-fastlane-plugin when updating to the sentry-cli version, including this PR.

@mitsuhiko
Copy link
Member

I have no context sadly any more on any of this. I assume it was super slow originally.

@szokeasaurusrex
Copy link
Member Author

Okay, thanks everyone! I will go ahead with merging and releasing this change, and I will monitor for any user feedback. We can adjust accordingly

@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-background-upload branch from 063f40b to d060289 Compare October 3, 2024 08:23
@szokeasaurusrex szokeasaurusrex changed the base branch from szokeasaurusrex/refactor-may-detach to master October 3, 2024 08:23
@szokeasaurusrex szokeasaurusrex enabled auto-merge (squash) October 3, 2024 08:23
Perform all uploads from Xcode in the foreground. The new behavior is equivalent to the old `--force-foreground` behavior.

Since uploads are now always executed in the foreground, (soft) deprecate the `--force-foreground` option by hiding it in the command help text. The `--force-foreground` option no longer has any effect, but passing it will continue to be possible at least until the next major release to keep the API backwards compatible.

Background functionality is completely removed from Sentry-CLI with this change.

Closes #2166
Fixes #2148
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/remove-background-upload branch from d060289 to 4afa9f0 Compare October 3, 2024 08:42
@szokeasaurusrex szokeasaurusrex merged commit 3bc9d38 into master Oct 3, 2024
14 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/remove-background-upload branch October 3, 2024 15:15
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.

Remove background upload functionality [Xcode, Sentry CLI] Upload fails in background
4 participants