Skip to content

refactor: remove-previous-retry-logic #258

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

Merged
merged 5 commits into from
Apr 1, 2025

Conversation

polbins
Copy link
Contributor

@polbins polbins commented Mar 20, 2025

Summary

This is a pre-requisite change prior to implementing the updated retry logic.

The goal of this PR is to revert the previous logic that doesn't align with the updated one that we want. (e.g. we're not going to modify the flushInterval on EventPipeline, and put most of the retry logic inside the Pipeline itself)

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?:

@izaaz izaaz requested review from igor-amp and Copilot March 20, 2025 19:52
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Files not reviewed (10)
  • android/src/main/java/com/amplitude/android/storage/AndroidStorageV2.kt: Language not supported
  • android/src/main/java/com/amplitude/android/utilities/AndroidStorage.kt: Language not supported
  • android/src/test/java/com/amplitude/android/ResponseHandlerTest.kt: Language not supported
  • core/src/main/java/com/amplitude/core/platform/EventPipeline.kt: Language not supported
  • core/src/main/java/com/amplitude/core/utilities/EventsFileManager.kt: Language not supported
  • core/src/main/java/com/amplitude/core/utilities/FileResponseHandler.kt: Language not supported
  • core/src/main/java/com/amplitude/core/utilities/FileStorage.kt: Language not supported
  • core/src/main/java/com/amplitude/core/utilities/http/AnalyticsResponse.kt: Language not supported
  • core/src/main/java/com/amplitude/core/utilities/http/HttpClient.kt: Language not supported
  • samples/kotlin-android-app/src/main/java/com/amplitude/android/sample/CustomOkHttpClient.kt: Language not supported

@polbins polbins marked this pull request as draft March 20, 2025 20:21
@polbins
Copy link
Contributor Author

polbins commented Mar 20, 2025

Marking as draft, this should be merged together with the updated retry logic.
But feel free to add in your review if you'd like! It shouldn't change much.

@polbins polbins changed the base branch from main to AMP-124458/reformatting-and-warning-fixes March 20, 2025 20:24
@polbins polbins force-pushed the AMP-124458/remove-previous-retry-logic branch 2 times, most recently from 4712624 to 43e7f7d Compare March 20, 2025 22:36
Base automatically changed from AMP-124458/reformatting-and-warning-fixes to main March 21, 2025 23:25
polbins added 4 commits March 24, 2025 10:58
- see changes original PR at #113
- we're going to update the retry logic in a separate PR
@polbins polbins force-pushed the AMP-124458/remove-previous-retry-logic branch from 43e7f7d to 6ec357a Compare March 24, 2025 17:58
@polbins polbins mentioned this pull request Mar 25, 2025
1 task
@polbins polbins marked this pull request as ready for review March 25, 2025 16:49
@polbins polbins requested a review from igor-amp March 25, 2025 16:55
Copy link
Contributor

@igor-amp igor-amp left a comment

Choose a reason for hiding this comment

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

Don't merge without: #259

@polbins polbins merged commit e0afd44 into main Apr 1, 2025
4 checks passed
@polbins polbins deleted the AMP-124458/remove-previous-retry-logic branch April 1, 2025 23:07
Copy link

github-actions bot commented Apr 2, 2025

🎉 This PR is included in version 1.20.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants