Skip to content

chore: update error type for getRecordIDForExtract util - #2433

Merged
Gauravudia merged 2 commits into
developfrom
chore/get-recordIdForExtract-errorClass
Aug 4, 2023
Merged

Gauravudia merged 2 commits into
developfrom
chore/get-recordIdForExtract-errorClass

Conversation

@Gauravudia

@Gauravudia Gauravudia commented Aug 4, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

Throw instrumentation error for missing recordId. Default raw error response is creating unnecessary generic transformation error in transformer

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 Aug 4, 2023
@Gauravudia
Gauravudia requested a review from a team as a code owner August 4, 2023 05:43
yashasvibajpai
yashasvibajpai previously approved these changes Aug 4, 2023
@codecov

codecov Bot commented Aug 4, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 91.30% and no project coverage change.

Comparison is base (3b536d9) 86.61% compared to head (778e9c4) 86.62%.
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2433   +/-   ##
========================================
  Coverage    86.61%   86.62%           
========================================
  Files          556      556           
  Lines        27783    27795   +12     
  Branches      6641     6642    +1     
========================================
+ Hits         24065    24078   +13     
+ Misses        3363     3362    -1     
  Partials       355      355           
Files Changed Coverage Δ
src/services/userTransform.ts 10.84% <66.66%> (+1.08%) ⬆️
src/warehouse/util.js 90.90% <75.00%> (ø)
src/util/ivmFactory.js 90.07% <100.00%> (+0.21%) ⬆️
src/util/utils.js 82.79% <100.00%> (+1.61%) ⬆️

... and 1 file with indirect coverage changes

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

@Gauravudia Gauravudia changed the title chore: throw platform error for getRecordIDForExtract util chore: throw instrumentation error for getRecordIDForExtract util Aug 4, 2023
@Gauravudia Gauravudia changed the title chore: throw instrumentation error for getRecordIDForExtract util chore: update error type for getRecordIDForExtract util Aug 4, 2023
@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 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

75.0% 75.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@Gauravudia
Gauravudia merged commit 9809d04 into develop Aug 4, 2023
@Gauravudia Gauravudia changed the title chore: update error type for getRecordIDForExtract util chore: [INT-257] update error type for getRecordIDForExtract util Aug 4, 2023
@linear

linear Bot commented Aug 4, 2023

Copy link
Copy Markdown

@Gauravudia Gauravudia changed the title chore: [INT-257] update error type for getRecordIDForExtract util chore: update error type for getRecordIDForExtract util Aug 4, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the chore/get-recordIdForExtract-errorClass branch November 5, 2023 01:27
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.

5 participants