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

@aleksandernsilva aleksandernsilva commented May 14, 2026

Copy link
Copy Markdown
Contributor

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

dionisio-bot Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor

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

changeset-bot Bot commented May 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 4532d3f

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

coderabbitai Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor

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: 546d6a4a-00f6-481c-a001-9d3dff54d376

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

codecov Bot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.07%. Comparing base (1a6aafa) to head (4532d3f).

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##           release-9.0.0   #40534      +/-   ##
=================================================
+ Coverage          70.05%   70.07%   +0.02%     
=================================================
  Files               3355     3355              
  Lines             129153   129153              
  Branches           22385    22381       -4     
=================================================
+ Hits               90475    90502      +27     
+ Misses             35384    35359      -25     
+ Partials            3294     3292       -2     
Flag Coverage Δ
unit 69.95% <ø> (+0.03%) ⬆️

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.

@ggazzo ggazzo force-pushed the chore/voice-contact-name-history-backfill branch from ce7f0db to 4532d3f Compare June 11, 2026 19:53
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