Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Migrate LivechatVisitors model to raw #25756

Merged
merged 21 commits into from
Jun 24, 2022

Conversation

KevLehman
Copy link
Contributor

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

@KevLehman KevLehman requested review from a team as code owners June 3, 2022 21:12
@KevLehman KevLehman requested a review from a team June 3, 2022 21:14
@lgtm-com
Copy link

lgtm-com bot commented Jun 3, 2022

This pull request introduces 3 alerts when merging 7cd747c into 0b1073e - view on LGTM.com

new alerts:

  • 3 for Syntax error

@lgtm-com
Copy link

lgtm-com bot commented Jun 9, 2022

This pull request introduces 1 alert when merging d42f0ec into 83851a0 - view on LGTM.com

new alerts:

  • 1 for Syntax error

@KevLehman KevLehman requested a review from ggazzo June 15, 2022 17:02
@KevLehman KevLehman added this to the 5.0.0 milestone Jun 15, 2022
ggazzo
ggazzo previously approved these changes Jun 17, 2022
thassiov
thassiov previously approved these changes Jun 17, 2022
@sampaiodiego sampaiodiego dismissed stale reviews from thassiov and ggazzo via 3951fd5 June 23, 2022 15:14
apps/meteor/app/livechat/imports/server/rest/sms.js Outdated Show resolved Hide resolved
apps/meteor/app/livechat/server/api/lib/livechat.js Outdated Show resolved Hide resolved
@@ -32,7 +32,7 @@ addMigration({
});

if (updates.length) {
Promise.await(VisitorsRaw.col.bulkWrite(updates));
Promise.await(LivechatVisitors.col.bulkWrite(updates));
Copy link
Member

Choose a reason for hiding this comment

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

migrations can be async

Suggested change
Promise.await(LivechatVisitors.col.bulkWrite(updates));
await LivechatVisitors.col.bulkWrite(updates);

Copy link
Contributor Author

@KevLehman KevLehman Jun 23, 2022

Choose a reason for hiding this comment

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

C'mon, this mig is from like 4 months ago :trollface: (But here's again to not to have it inside the loop)

…ketChat/Rocket.Chat into chore/migrate-model-livechat-visitor
sampaiodiego
sampaiodiego previously approved these changes Jun 23, 2022
@lgtm-com
Copy link

lgtm-com bot commented Jun 23, 2022

This pull request introduces 7 alerts when merging b362bea into b77c075 - view on LGTM.com

new alerts:

  • 7 for Syntax error

@sampaiodiego sampaiodiego merged commit 24ffc28 into develop Jun 24, 2022
@sampaiodiego sampaiodiego deleted the chore/migrate-model-livechat-visitor branch June 24, 2022 16:41
@sampaiodiego sampaiodiego changed the title Chore: Migrate from meteor model to raw Chore: Migrate LivechatVisitors model to raw Jun 24, 2022
gabriellsh added a commit that referenced this pull request Jun 27, 2022
…turbo

* 'develop' of github.com:RocketChat/Rocket.Chat: (42 commits)
  Chore: Major refactors in pageobjects (#26015)
  [BREAK] Remove show message in main thread preference (#26002)
  Regression: Webhook Integration Creation + string error toast msg (#26008)
  Chore: convert e2e to ts (#25958)
  Regression: Room Endpoint Call Issues (#25928)
  Chore: Fixes e2e playwright intermittences (#25984)
  Chore: Fuselage update (#26004)
  Chore: Small fix on callProvider (#25963)
  [FIX] Initial members value on Create Channel Modal (#26000)
  Chore: Migrate from meteor model to raw (#25756)
  Chore: VoIP Context (#25994)
  Chore: Fuselage update (#25983)
  [FIX] sidebar colors (#25987)
  Regression: Non-reactive routes (#25990)
  [BREAK] use urlParams on omnichannel/agent/extension/ (#25982)
  [FIX] toolbox menu behind thread component (#25925)
  [FIX] Sort by scope or creation date not working on canned responses list (#25475)
  Chore: Colors (#25969)
  Revert "[BREAK] use urlParams on omnichannel/agent/extension/" (#25980)
  Regression: Prevent Form Submit on Reset Click
  ...
@murtaza98 murtaza98 mentioned this pull request Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants