Skip to content

feat(mixpnel): update alias mapping and add validation - #2395

Merged
krishna2020 merged 4 commits into
developfrom
feat/mixpanel-alias-validation
Jul 21, 2023
Merged

krishna2020 merged 4 commits into
developfrom
feat/mixpanel-alias-validation

Conversation

@Gauravudia

Copy link
Copy Markdown
Contributor

Description of the change

  • Add the validation when previousId and userId are the same
  • Mapping userId with distinctId and (previousId or anonymousId) with alias property

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@Gauravudia Gauravudia self-assigned this Jul 21, 2023
@Gauravudia
Gauravudia marked this pull request as ready for review July 21, 2023 11:00
@Gauravudia
Gauravudia requested review from a team as code owners July 21, 2023 11:00
@Gauravudia Gauravudia changed the title feat(mixpnel): reverse alias call Id order and add validation feat(mixpnel): update alias mapping and add validation Jul 21, 2023
@codecov

codecov Bot commented Jul 21, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (8bc9589) 86.59% compared to head (ddee6d0) 86.59%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2395   +/-   ##
========================================
  Coverage    86.59%   86.59%           
========================================
  Files          552      552           
  Lines        27655    27657    +2     
  Branches      6608     6609    +1     
========================================
+ Hits         23948    23950    +2     
  Misses        3352     3352           
  Partials       355      355           
Impacted Files Coverage Δ
src/v0/destinations/mp/transform.js 97.59% <100.00%> (+0.01%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment thread src/v0/destinations/mp/transform.js Resolved
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@krishna2020
krishna2020 merged commit b6df9b0 into develop Jul 21, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the feat/mixpanel-alias-validation branch October 22, 2023 01:26
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