Skip to content

chore: Add migration to populate contact names in external call history entries#40534

Draft
aleksandernsilva wants to merge 1 commit into
release-9.0.0from
chore/voice-contact-name-history-backfill
Draft

chore: Add migration to populate contact names in external call history entries#40534
aleksandernsilva wants to merge 1 commit into
release-9.0.0from
chore/voice-contact-name-history-backfill

Conversation

@aleksandernsilva
Copy link
Copy Markdown
Contributor

@aleksandernsilva aleksandernsilva commented May 14, 2026

Proposed changes (including videos or screenshots)

This pull request introduces a new database migration to the project. The migration targets the CallHistory collection and ensures that all external media call entries have a contactName field populated, using the value from contactExtension when contactName is missing or empty.

Database migration:

  • Added migration version 336 (v336.ts) to fill the contactName field on external media call history entries by copying the value from contactExtension if contactName is missing or empty.
  • Registered the new migration in the migration index (index.ts).

Issue(s)

DMV-2

Steps to test or reproduce

Further comments

Originated from #40484

@aleksandernsilva aleksandernsilva added this to the 9.0.0 milestone May 14, 2026
@dionisio-bot
Copy link
Copy Markdown
Contributor

dionisio-bot Bot commented May 14, 2026

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 14, 2026

⚠️ No Changeset found

Latest commit: ce7f0db

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 14, 2026

Important

Review skipped

Draft detected.

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: dc852bc6-48b8-41ef-95ea-efc84f9dfb5f

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 and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 69.62%. Comparing base (bb1ddd3) to head (ce7f0db).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##           release-9.0.0   #40534      +/-   ##
=================================================
- Coverage          69.65%   69.62%   -0.03%     
=================================================
  Files               3322     3322              
  Lines             122579   122534      -45     
  Branches           21867    21811      -56     
=================================================
- Hits               85379    85315      -64     
- Misses             33860    33897      +37     
+ Partials            3340     3322      -18     
Flag Coverage Δ
e2e 59.04% <ø> (-0.19%) ⬇️
e2e-api 46.22% <50.00%> (-0.91%) ⬇️
unit 70.38% <ø> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 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.

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.

1 participant