Skip to content

feat(mixpanel): batching - #2341

Merged
Gauravudia merged 25 commits into
developfrom
feat/mixpanel-batching
Jul 20, 2023
Merged

Gauravudia merged 25 commits into
developfrom
feat/mixpanel-batching

Conversation

@Gauravudia

@Gauravudia Gauravudia commented Jul 5, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

  • Added mixpanel batching support for /track, /import, /engage and /groups endpoint.
  • Added combineBatchRequestsWithSameJobIds utility to combine batch request with same jobIds for different endpoints where multiplexing is used.

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 5, 2023
@Gauravudia
Gauravudia marked this pull request as ready for review July 5, 2023 19:10
@Gauravudia
Gauravudia requested review from a team as code owners July 5, 2023 19:10
@Gauravudia
Gauravudia requested review from sandeepdsvs and utsabc July 5, 2023 19:10
@Gauravudia
Gauravudia requested review from ItsSudip, chandumlg and krishna2020 and removed request for sandeepdsvs and utsabc July 5, 2023 19:10
@codecov

codecov Bot commented Jul 5, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 96.40% and project coverage change: +0.05 🎉

Comparison is base (6c0fed7) 86.99% compared to head (37eec73) 87.04%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2341      +/-   ##
===========================================
+ Coverage    86.99%   87.04%   +0.05%     
===========================================
  Files          550      550              
  Lines        27489    27583      +94     
  Branches      6579     6595      +16     
===========================================
+ Hits         23915    24011      +96     
+ Misses        3234     3233       -1     
+ Partials       340      339       -1     
Impacted Files Coverage Δ
src/v0/destinations/mp/transform.js 97.57% <94.56%> (-0.90%) ⬇️
src/v0/destinations/mp/config.js 100.00% <100.00%> (ø)
src/v0/destinations/mp/util.js 100.00% <100.00%> (ø)

... and 2 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.

@koladilip

koladilip commented Jul 7, 2023 •

Copy link
Copy Markdown
Contributor

#2351 mad some suggestions @Gauravudia

Comment thread src/v0/destinations/mp/transform.js Resolved
Comment thread src/v0/destinations/mp/util.js Resolved
ItsSudip
ItsSudip previously approved these changes Jul 18, 2023
@Gauravudia
Gauravudia requested a review from sanpj2292 July 18, 2023 06:07
refactor: combineBatchRequestsWithSameJobIds

implemented as combineBatchRequestsWithSameJobIds2
@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

93.9% 93.9% Coverage
0.0% 0.0% Duplication

@krishna2020

Copy link
Copy Markdown
Collaborator

Do not delete the brach as dedicated transformer on the above branch are being run for few customers

@Gauravudia

Copy link
Copy Markdown
Contributor Author

Deleting the branch. Changes are live for all customers.

@Gauravudia
Gauravudia deleted the feat/mixpanel-batching branch September 1, 2023 12:22
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.

4 participants