Skip to content

fix(PostgresDatabaseAdapter): error handling for new participant#113

Merged
nicky-ru merged 1 commit into
mainfrom
fix/existing-participant
Dec 2, 2025
Merged

fix(PostgresDatabaseAdapter): error handling for new participant#113
nicky-ru merged 1 commit into
mainfrom
fix/existing-participant

Conversation

@nicky-ru
Copy link
Copy Markdown

@nicky-ru nicky-ru commented Dec 2, 2025

  • Added handling for unique constraint violation to log a warning if a participant already exists.
  • Improved error logging to include userId and roomId for better traceability.

What kind of change is this?

  • feat: (new feature)
  • fix: (bug fix)
  • chore: (updates to dependencies or build processes)
  • docs: (documentation changes)
  • style: (formatting, missing semi colons, etc; no code change)
  • refactor: (refactoring production code)
  • test: (adding tests, refactoring tests; no production code change)
  • perf: (performance improvements)

…addition

- Added handling for unique constraint violation to log a warning if a participant already exists.
- Improved error logging to include userId and roomId for better traceability.
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.82%. Comparing base (7904298) to head (4e83a05).

❌ Your project status has failed because the head coverage (50.82%) is below the target coverage (70.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #113   +/-   ##
=======================================
  Coverage   50.82%   50.82%           
=======================================
  Files         180      180           
  Lines       24413    24413           
  Branches     2243     2243           
=======================================
  Hits        12407    12407           
  Misses      11962    11962           
  Partials       44       44           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nicky-ru nicky-ru merged commit 84769b5 into main Dec 2, 2025
4 checks passed
@nicky-ru nicky-ru deleted the fix/existing-participant branch December 2, 2025 10:10
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.

2 participants