Skip to content

fix: mixpanel group call - #2318

Merged
Gauravudia merged 2 commits into
hotfix/mp-group-callfrom
fix/mixpanel-group-call
Jun 30, 2023
Merged

Gauravudia merged 2 commits into
hotfix/mp-group-callfrom
fix/mixpanel-group-call

Conversation

@Gauravudia

@Gauravudia Gauravudia commented Jun 30, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

For group call in mixpanel if group key is not provided then processGroupEvents function is returning an empty array to caller function. Which in turn returns a response with "batchedRequest": [] with statusCode: 200 after transformation to server.
Instead of returning empty array, Added a check on group key and failed the event accordingly while doing the transformation.

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 requested a review from a team as a code owner June 30, 2023 04:53
@Gauravudia Gauravudia self-assigned this Jun 30, 2023
@Gauravudia
Gauravudia requested a review from a team as a code owner June 30, 2023 04:53
@Gauravudia
Gauravudia requested review from ItsSudip, sauravlal15 and yashasvibajpai and removed request for a team, sauravlal15 and yashasvibajpai June 30, 2023 04:53
@Gauravudia
Gauravudia requested a review from chandumlg June 30, 2023 04:59
@codecov

codecov Bot commented Jun 30, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01 ⚠️

Comparison is base (e2a2239) 87.07% compared to head (c6dc9e0) 87.07%.

Additional details and impacted files
@@                   Coverage Diff                    @@
##           hotfix/mp-group-call    #2318      +/-   ##
========================================================
- Coverage                 87.07%   87.07%   -0.01%     
========================================================
  Files                       500      500              
  Lines                     25663    25652      -11     
  Branches                   6345     6340       -5     
========================================================
- Hits                      22347    22336      -11     
  Misses                     2944     2944              
  Partials                    372      372              
Impacted Files Coverage Δ
src/v0/destinations/mp/transform.js 98.46% <100.00%> (+0.01%) ⬆️
src/v0/util/index.js 86.98% <100.00%> (+0.05%) ⬆️

... and 3 files with indirect coverage changes

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

@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 8 Code Smells

74.9% 74.9% Coverage
0.0% 0.0% Duplication

@sanpj2292 sanpj2292 mentioned this pull request Jun 30, 2023
3 of 10 tasks
@Gauravudia
Gauravudia merged commit 2f78436 into hotfix/mp-group-call Jun 30, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the fix/mixpanel-group-call branch October 3, 2023 01:24
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.

3 participants