Skip to content

chore: revert Event Logger integration but keep API retry improvements (RMCCX-10248)#406

Merged
maureenorea-clores merged 1 commit into
rakutentech:masterfrom
maureenorea-clores:revert/event-logger
Feb 4, 2026
Merged

chore: revert Event Logger integration but keep API retry improvements (RMCCX-10248)#406
maureenorea-clores merged 1 commit into
rakutentech:masterfrom
maureenorea-clores:revert/event-logger

Conversation

@maureenorea-clores

@maureenorea-clores maureenorea-clores commented Jan 30, 2026

Copy link
Copy Markdown
Collaborator

Description

Reverted 1bdfb9e but kept API retry improvements

Links

N/A

Checklist

  • I have read the contributing guidelines.
  • I wrote/updated tests for new/changed code
  • I removed all sensitive data before every commit, including API endpoints and keys, and internal links
  • I checked that all possible internal and platform/library exceptions are gracefully handled and will not crash the host app
  • I checked for open & known issues (especially crashes) for any newly added platform APIs or libraries
  • I tested non-trivial changes on a real device
  • I added ticket/changes in changelog
  • I ran ./gradlew check without errors

@sonarqubecloud

Copy link
Copy Markdown

@rakutentech-danger-bot

Copy link
Copy Markdown
Collaborator
4 Warnings
⚠️ Tests were not updated.
⚠️ No coverage data found for com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/schedulers/EventMessageReconciliationScheduler
⚠️ No coverage data found for com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/schedulers/ConfigScheduler
⚠️ No coverage data found for com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/schedulers/MessageMixerPingScheduler

JaCoCo Code Coverage 97.09% ✅

Class Covered Meta Status
com/rakuten/tech/mobile/inappmessaging/runtime/manager/MessageReadinessManager 93% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/view/InAppMessageBaseView 89% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/view/InAppMessagingTooltipView 74% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/coroutine/MessageActionsCoroutine 95% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/workers/DisplayMessageWorker 88% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/workers/ImpressionWorker 93% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/workers/MessageMixerWorker 87% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/workers/ConfigWorker 92% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/data/responses/ping/Message 93% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/utils/WorkerUtils 100% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/data/repositories/CampaignRepository 100% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/EventTrackerHelper 87% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/InAppMessaging 100% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/InApp 96% 0%
com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/schedulers/EventMessageReconciliationScheduler No coverage data found : -% No coverage data found : -% 🃏
com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/schedulers/ConfigScheduler No coverage data found : -% No coverage data found : -% 🃏
com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/schedulers/MessageMixerPingScheduler No coverage data found : -% No coverage data found : -% 🃏
com/rakuten/tech/mobile/inappmessaging/runtime/workmanager/schedulers/ImpressionScheduler 100% 0%

Generated by 🚫 Danger

@maureenorea-clores maureenorea-clores marked this pull request as ready for review January 30, 2026 06:31
response.isSuccessful -> response.body()
response.code() >= HttpURLConnection.HTTP_INTERNAL_ERROR -> checkAndRetry(callClone) {
logFailedResponse(response)
WorkerUtils.logRequestError(DISP_TAG, response.code(), response.errorBody()?.string())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is the objective of WorkerUtils.logRequestError(...)?
how this differs from InAppLogger(TAG).error(...)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

logRequestError logs in the console and return the error to client

@puneetksh puneetksh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just one question, I have asked on this PR, else, the changes in this PR are looking good to me.

@maureenorea-clores maureenorea-clores merged commit 19c65cc into rakutentech:master Feb 4, 2026
7 checks passed
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.

3 participants