Skip to content

refactor: combine batch requests with same job ids - #2378

Merged
koladilip merged 1 commit into
feat/mixpanel-batchingfrom
refactor.combineBatchRequestsWithSameJobIds
Jul 18, 2023
Merged

koladilip merged 1 commit into
feat/mixpanel-batchingfrom
refactor.combineBatchRequestsWithSameJobIds

Conversation

@koladilip

Copy link
Copy Markdown
Contributor

Description of the change

refactor: combineBatchRequestsWithSameJobIds

implemented as combineBatchRequestsWithSameJobIds2

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

implemented as combineBatchRequestsWithSameJobIds2
@koladilip
koladilip requested a review from Gauravudia July 18, 2023 09:25
@koladilip
koladilip requested a review from a team as a code owner July 18, 2023 09:25
@koladilip
koladilip requested review from ItsSudip and aashishmalik and removed request for a team July 18, 2023 09:25
@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 3 Code Smells

93.9% 93.9% Coverage
0.0% 0.0% Duplication

@codecov

codecov Bot commented Jul 18, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 96.55% and project coverage change: +0.01 🎉

Comparison is base (d614cc5) 87.40% compared to head (e98ac13) 87.41%.

Additional details and impacted files
@@                    Coverage Diff                     @@
##           feat/mixpanel-batching    #2378      +/-   ##
==========================================================
+ Coverage                   87.40%   87.41%   +0.01%     
==========================================================
  Files                         490      490              
  Lines                       25606    25635      +29     
  Branches                     6336     6341       +5     
==========================================================
+ Hits                        22381    22409      +28     
- Misses                       2863     2864       +1     
  Partials                      362      362              
Impacted Files Coverage Δ
src/v0/destinations/mp/util.js 99.07% <96.55%> (-0.93%) ⬇️

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

@koladilip
koladilip merged commit dc3a670 into feat/mixpanel-batching Jul 18, 2023
Gauravudia added a commit that referenced this pull request Jul 20, 2023
* feat(mixpanel): add strict parameter and send unencoded data

* chore: resolve merge conflicts

* fix: post call for create user

* feat(mixpanel): batching

* chore: add unit test cases

* feat: add multiplexing and remove external call for create user

* refactor: api ordering

* refactor: combineBatchRequestsWithSameJobIds utils

* refactor: processAndChunkEvents (#2351)

* fix: processEvent function and router testcase

* refactor: combine batch requests with same job ids (#2378)

refactor: combineBatchRequestsWithSameJobIds

implemented as combineBatchRequestsWithSameJobIds2

* fix: combineBatchRequestsWithSameJobIds2

* fix: combineBatchRequestsWithSameJobIds2

* refactor: combineBatchRequestsWithSameJobIds utils

* refactor: remove unused imports

---------

Co-authored-by: Dilip Kola <[email protected]>
Co-authored-by: Dilip Kola <[email protected]>
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.

2 participants