Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce new tags and error classes #1631

Merged
merged 73 commits into from
Dec 20, 2022
Merged

Conversation

saikumarrs
Copy link
Member

@saikumarrs saikumarrs commented Dec 6, 2022

Description of the change

  • Introduced a revamped set of tags.
  • A set of new error classes is added for each significant failure scenario.
  • Default tags like destType, module, implementation etc. are now added at the version router level.
  • Removed ApiError and TransformationError classes and replaced them with the newly added classes.

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

N/A

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

@saikumarrs saikumarrs self-assigned this Dec 6, 2022
Copy link
Contributor

@koladilip koladilip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall looks fine

v0/destinations/clickup/util.js Outdated Show resolved Hide resolved
v0/util/errorTypes/abortedError.js Outdated Show resolved Hide resolved
@saikumarrs saikumarrs added DO NOT MERGE Don't merge this PR without having discussion DO NOT TOUCH labels Dec 7, 2022
@saikumarrs saikumarrs marked this pull request as ready for review December 8, 2022 12:14
@saikumarrs saikumarrs requested review from a team and sivashanmukh as code owners December 8, 2022 12:14
koladilip
koladilip previously approved these changes Dec 8, 2022
mihir-4116 and others added 7 commits December 15, 2022 16:07
* feat: router tranform refacor

* feat: router tranform refactor

* feat: code review changes
* feat: refactor-processRouterDest

* feat: refactor-processRouterDest
* feat: refactor-processRouterDest

* feat: refactor-processRouterDest
* fix: remove all usages of TRANSFORMER_METRIC

* fixcorrect usages of error types

* feat: add assertConfig default binding

* chore: remove unwanted arguments from function definition

* chore: remove unwanted null

* chore: simplified the syntax

* fix: set default status code

* chore: use optional chaining syntax

* fix: remove unwanted status code argument
src/v0/destinations/active_campaign/util.js Outdated Show resolved Hide resolved
src/v0/destinations/af/deleteUsers.js Outdated Show resolved Hide resolved
src/v0/destinations/af/deleteUsers.js Outdated Show resolved Hide resolved
src/v0/destinations/af/transform.js Outdated Show resolved Hide resolved
src/v0/destinations/af/transform.js Outdated Show resolved Hide resolved
src/v0/destinations/marketo_static_list/transform.js Outdated Show resolved Hide resolved
src/v0/destinations/salesforce/transform.js Outdated Show resolved Hide resolved
src/v0/destinations/salesforce/transform.js Outdated Show resolved Hide resolved
src/v0/destinations/salesforce/transform.js Outdated Show resolved Hide resolved
src/v0/destinations/snapchat_custom_audience/utils.js Outdated Show resolved Hide resolved
ujjwal-ab and others added 7 commits December 15, 2022 22:42
* fix: refactor error types

* fix: rt workflow to send stat tags in pinterest tag

* fix: router transform issues in marketo_static_list

* fix: restore router transform implementation

* fix: issues in router transformation across destinations

Co-authored-by: saikumarrs <saibattinoju@rudderstack.com>
Co-authored-by: Sai Sankeerth <sanpj2292@github.com>
* fix[gaec]: revert destination response

* fix: authErrorCategory field in the response

Co-authored-by: saikumarrs <saibattinoju@rudderstack.com>
@saikumarrs saikumarrs merged commit 0615a31 into master Dec 20, 2022
@github-actions github-actions bot mentioned this pull request Dec 20, 2022
@saikumarrs saikumarrs removed DO NOT MERGE Don't merge this PR without having discussion DO NOT TOUCH labels Feb 28, 2023
@github-actions github-actions bot deleted the feat.new-error-types branch March 20, 2023 02:06
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.

7 participants