Skip to content

feat(iterable): refactored destination code - #2390

Merged
mihir-4116 merged 12 commits into
developfrom
feat/iterable-refactor
Aug 18, 2023
Merged

mihir-4116 merged 12 commits into
developfrom
feat/iterable-refactor

Conversation

@mihir-4116

Copy link
Copy Markdown
Contributor

Description of the change

  • This pull request (PR) encompasses a complete refactoring of the Iterable Destination code, incorporating numerous enhancements and optimizations. The aim of this refactor is to enhance the overall performance, maintainability, and extensibility of the codebase

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

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

@codecov

codecov Bot commented Jul 21, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 93.89% and project coverage change: -0.04% ⚠️

Comparison is base (a975eeb) 86.67% compared to head (3d2d191) 86.64%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2390      +/-   ##
===========================================
- Coverage    86.67%   86.64%   -0.04%     
===========================================
  Files          563      563              
  Lines        27882    27909      +27     
  Branches      6674     6658      -16     
===========================================
+ Hits         24167    24182      +15     
- Misses        3362     3374      +12     
  Partials       353      353              
Files Changed Coverage Δ
src/v0/destinations/iterable/transform.js 95.41% <92.98%> (-1.48%) ⬇️
src/v0/destinations/iterable/util.js 94.42% <93.99%> (-4.33%) ⬇️
src/controllers/destination.ts 84.52% <100.00%> (ø)
src/services/destination/nativeIntegration.ts 88.88% <100.00%> (+0.13%) ⬆️
src/v0/destinations/iterable/config.js 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread src/v0/destinations/iterable/util.js Resolved
* fix(iterable): batching order issue

* chore: code review changes

* chore: added necessary documentation

* chore: code review changes

* chore: code review changes

* chore: replace rudderId with userId

* chore: replace rudderId with userId
@krishna2020

Copy link
Copy Markdown
Collaborator

@mihir-4116 I think you can make the PR as feat now !!

mihir-4116 and others added 3 commits August 9, 2023 19:38
* fix(iterable): batch job order

* chore: unit tests for orderEvents function

* chore: code review changes

* chore: add log for debugging

* chore: passing a clone to router transform funxtion

* chore: type fixes for dynamic config parser in controller

---------

Co-authored-by: Utsab Chowdhury <[email protected]>
@mihir-4116
mihir-4116 requested a review from a team August 17, 2023 15:18
@mihir-4116 mihir-4116 changed the title fix(iterable): refactored destination code feat(iterable): refactored destination code Aug 17, 2023
@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 1 Code Smell

91.9% 91.9% Coverage
0.0% 0.0% Duplication

@mihir-4116
mihir-4116 merged commit 1ca6602 into develop Aug 18, 2023
@mihir-4116
mihir-4116 deleted the feat/iterable-refactor branch August 18, 2023 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants