Skip to content

fix(cdkv1): error handling for cdkv1 destinations - #2227

Merged
sanpj2292 merged 3 commits into
developfrom
fix.cdkv1-error-handling
Jun 1, 2023
Merged

sanpj2292 merged 3 commits into
developfrom
fix.cdkv1-error-handling

Conversation

@sanpj2292

@sanpj2292 sanpj2292 commented Jun 1, 2023 •

Copy link
Copy Markdown

Description of the change

Currently the error handling is not correct for CDKV1 destinations. Any data-validation or instrumentation errors are getting categorised as transformation errors(that are intended to tell us if the error is unhandled). With this PR, we are looking to fix it.

Task: https://www.notion.so/rudderstacks/Error-Handling-for-CDKV1-destinations-using-new-routes-d01a35e8cc684257a7b92c84cceb1c07?pvs=4

Note: This is happening for new routes only. For older routes, things are working well

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

@sanpj2292
sanpj2292 requested a review from utsabc June 1, 2023 09:27
@sanpj2292 sanpj2292 self-assigned this Jun 1, 2023
@sanpj2292
sanpj2292 requested a review from a team as a code owner June 1, 2023 09:27
@sanpj2292
sanpj2292 requested a review from a team June 1, 2023 09:27
@sanpj2292
sanpj2292 requested a review from shrouti1507 June 1, 2023 09:27
@codecov

codecov Bot commented Jun 1, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch and project coverage have no change.

Comparison is base (6732f5e) 88.56% compared to head (162c874) 88.56%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2227   +/-   ##
========================================
  Coverage    88.56%   88.56%           
========================================
  Files          509      509           
  Lines        25848    25848           
  Branches      6377     6377           
========================================
  Hits         22892    22892           
  Misses        2641     2641           
  Partials       315      315           
Impacted Files Coverage Δ
src/cdk/v1/handler.js 36.36% <ø> (ø)

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

@sanpj2292 sanpj2292 changed the title fix: error handling for cdkv1 destinations fix(cdkv1): error handling for cdkv1 destinations Jun 1, 2023
@sanpj2292 sanpj2292 changed the title fix(cdkv1): error handling for cdkv1 destinations fix(cdkv1): error handling for cdkv1 destinations Jun 1, 2023
@sanpj2292
sanpj2292 requested a review from a team as a code owner June 1, 2023 13:21
@sonarqubecloud

sonarqubecloud Bot commented Jun 1, 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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sanpj2292
sanpj2292 merged commit c3aedbf into develop Jun 1, 2023
@sanpj2292
sanpj2292 deleted the fix.cdkv1-error-handling branch June 1, 2023 14:02
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.

3 participants