Skip to content

fix: async implementations - #2103

Merged
koladilip merged 21 commits into
developfrom
fix.async-await-issues
May 9, 2023
Merged

koladilip merged 21 commits into
developfrom
fix.async-await-issues

Conversation

@koladilip

Copy link
Copy Markdown
Contributor

Description of the change

forEach used without promise.all so we are not waiting for promise to resolve.

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

@koladilip
koladilip requested a review from a team as a code owner April 26, 2023 10:06
@codecov

codecov Bot commented Apr 26, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.04 🎉

Comparison is base (cf12eb5) 87.89% compared to head (c09cbbe) 87.93%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2103      +/-   ##
===========================================
+ Coverage    87.89%   87.93%   +0.04%     
===========================================
  Files          509      510       +1     
  Lines        25768    25802      +34     
  Branches      6380     6389       +9     
===========================================
+ Hits         22648    22689      +41     
+ Misses        2787     2781       -6     
+ Partials       333      332       -1     
Impacted Files Coverage Δ
src/v0/destinations/bqstream/transform.js 90.32% <ø> (ø)
src/v0/destinations/algolia/transform.js 90.80% <100.00%> (ø)
src/v0/destinations/freshmarketer/transform.js 95.08% <100.00%> (+6.37%) ⬆️
src/v0/destinations/ometria/transform.js 85.90% <100.00%> (ø)
src/v0/destinations/pardot/transform.js 86.84% <100.00%> (-0.18%) ⬇️
src/v0/destinations/zendesk/transform.js 89.57% <100.00%> (ø)

... and 6 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 changed the title fix: async implementation for freshmarketer fix: async implementations Apr 27, 2023
@koladilip
koladilip requested review from ItsSudip, sanpj2292 and utsabc May 3, 2023 05:07
sanpj2292
sanpj2292 previously approved these changes May 3, 2023
@krishna2020

Copy link
Copy Markdown
Collaborator

mihir-4116
mihir-4116 previously approved these changes May 8, 2023
@mihir-4116
mihir-4116 dismissed stale reviews from sanpj2292 and themself via fbaf9e1 May 8, 2023 12:22
@mihir-4116
mihir-4116 requested review from mihir-4116 and sanpj2292 May 8, 2023 12:22
@sonarqubecloud

sonarqubecloud Bot commented May 9, 2023

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

@koladilip
koladilip merged commit 52dee04 into develop May 9, 2023
@koladilip
koladilip deleted the fix.async-await-issues branch May 9, 2023 14:08
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.

6 participants