Skip to content

Merge StopTB-related fixes from release-3.8.3 into release-3.8.2#442

Merged
vishwab1 merged 3 commits into
release-3.8.2from
vb/release-3.8.2-merge
Jul 22, 2026
Merged

Merge StopTB-related fixes from release-3.8.3 into release-3.8.2#442
vishwab1 merged 3 commits into
release-3.8.2from
vb/release-3.8.2-merge

Conversation

@vishwab1

Copy link
Copy Markdown
Member

📋 Description

JIRA ID:

Please provide a summary of the change and the motivation behind it. Include relevant context and details.


✅ Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)
  • New feature (non-breaking change which adds functionality)
  • 🔥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🛠 Refactor (change that is neither a fix nor a new feature)
  • ⚙️ Config change (configuration file or build script updates)
  • 📚 Documentation (updates to docs or readme)
  • 🧪 Tests (adding new or updating existing tests)
  • 🎨 UI/UX (changes that affect the user interface)
  • 🚀 Performance (improves performance)
  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

ℹ️ Additional Information

Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.

vishwab1 and others added 3 commits July 22, 2026 10:25
checkDatabaseConnectivity() was deriving the status field from the
background diagnostic severity (pool usage, long transactions, deadlocks)
even after the live SELECT 1 connectivity check succeeded - so a CRITICAL
finding from the background scan (e.g. connection pool >95% full) caused
/common-api/health to report mysql.status=DOWN despite the database being
fully reachable and serving real queries (confirmed: login worked fine
while health reported DOWN).

status now reflects connectivity only (UP if SELECT 1 succeeds, DOWN only
on an actual connection failure); severity continues to surface the
background diagnostic findings independently, so capacity/performance
warnings are still visible without being misreported as an outage.

Removed resolveDatabaseStatus() and the now-unused STATUS_DEGRADED
constant, both made dead by this change.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ics and address flows

* Update `gpsTimestamp` in `BeneficiaryDemographicsModel` and `Address` from `Timestamp` to `Long` to support epoch-millisecond values received from clients.
* Add missing GPS-related fields (`latitude`, `longitude`, `digipin`, `isGpsUnavailable`, and `gpsUnavailableReason`) to the `Address` DTO for complete GPS data transfer.
* Extend mapper decorators (`BenCompleteDetailMapperDecorator`, `CommonIdentityMapperDecorator`, and `IdentityBenEditMapperDecorator`) to propagate GPS information across beneficiary and identity workflows.
…roperties

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 31289b91-6578-4b16-94e9-a488bb7628f1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
34.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@vishwab1
vishwab1 merged commit 01a5f5f into release-3.8.2 Jul 22, 2026
3 of 5 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