Skip to content

Conversation

@Jignesh-dimagi
Copy link
Contributor

@Jignesh-dimagi Jignesh-dimagi commented Jan 27, 2026

Product Description

Backmerge Commcare 2.61.4

Labels and Review

  • Do we need to enhance the manual QA test coverage ? If yes, the "QA Note" label is set correctly
  • Does the PR introduce any major changes worth communicating ? If yes, the "Release Note" label is set and a "Release Note" is specified in PR description.
  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@Jignesh-dimagi Jignesh-dimagi added the skip-integration-tests Skip android tests. label Jan 27, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 27, 2026

📝 Walkthrough

Walkthrough

This pull request refactors the push notification system and bumps the version to 2.61.4. It introduces a migration path for push notification channel IDs by adding new constants and deleting the old channel, then recreating it with higher priority (DEFAULT to HIGH). The core change consolidates the notification sync API by replacing multiple NotificationsSyncWorkerManager constructors with a single parameterized constructor and introducing new startSyncWorker(s) entry points for handling notification payloads. Related updates propagate to PushNotificationViewModel and CommCareFirebaseMessagingService to use the new API. Notification priority is elevated to PRIORITY_MAX and channel references are updated. An early return optimization is added to skip unnecessary server calls in PushNotificationApiHelper when no notification IDs are present.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

QA Note

Suggested reviewers

  • shubham1g5
  • conroy-ricketts
  • OrangeAndGreen
🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 31.25% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ⚠️ Warning The PR description lacks critical technical details and safety assurances required by the template for a backmerge involving notification channel priority changes and API refactoring. Add Technical Summary with links to relevant tickets, Safety story detailing testing performed, Automated test coverage details, and QA Plan. Complete the Labels and Review checklist with specific answers.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Backmerge Commcare 2.61.4' directly describes the main objective of the PR (merging version 2.61.4 into master) and aligns with the actual changeset containing version bumps and related fixes.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch commcare_2.61

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

xmlns:tools="http://schemas.android.com/tools"
android:versionCode="106"
android:versionName="2.62">
android:versionName="2.61.4">
Copy link
Contributor

Choose a reason for hiding this comment

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

Once you have made the release tag, this should change back to 2.62 on this branch so that we keep the master version set to the upcoming release, would also be nice to update hotfix doc to reflect this step.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I was thinking to give another PR for 2.62 as mentioned in ticket description so that release branch is alway clean.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I was thinking to give another PR for 2.62 as mentioned in ticket description so that release branch is alway clean.

Changed in commcare_2.61 branch only

@Jignesh-dimagi Jignesh-dimagi merged commit 876cd26 into master Jan 29, 2026
8 checks passed
@Jignesh-dimagi Jignesh-dimagi deleted the commcare_2.61 branch January 29, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-integration-tests Skip android tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants