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

refactor: af user deletion #1735

Merged
merged 4 commits into from
Jan 5, 2023

Conversation

anantjain45823
Copy link
Contributor

@anantjain45823 anantjain45823 commented Dec 27, 2022

Description of the change

Refactor of Appsflyer deleteuser.js file to reduce complexity, increase understandability, and test different scenarios and implement mocking.

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

#1713 (comment)
#1713 (comment)

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

@anantjain45823 anantjain45823 added DO NOT MERGE Don't merge this PR without having discussion Ready for Review labels Dec 27, 2022
@anantjain45823 anantjain45823 self-assigned this Dec 27, 2022
@anantjain45823 anantjain45823 requested a review from a team as a code owner December 27, 2022 07:06
@utsabc
Copy link
Member

utsabc commented Dec 27, 2022

Please add proper description with more info about what is this Pr trying to achieve @anantjain45823

@anantjain45823 anantjain45823 changed the base branch from fix.user-deletion-handlers to fix.user-deletion-handlers-v2 January 4, 2023 04:10
@anantjain45823 anantjain45823 removed the DO NOT MERGE Don't merge this PR without having discussion label Jan 4, 2023
@saikumarrs saikumarrs merged commit 6a827fb into fix.user-deletion-handlers-v2 Jan 5, 2023
saikumarrs added a commit that referenced this pull request Jan 5, 2023
* fix: make all the destination user deletion handlers uniform

* fix: update the metadata fetch code to send to bugsnag

* fix: req metadata function in user deletion handler

* fix: correction for the MAX_BATCH_SIZE value (#1720)

Co-authored-by: Anant <[email protected]>

* fix: update to add robust error handling (#1719)

* fix: update deletion flows

* fix: update test cases

* fix: update test cases to remove the ones which require mocking

* fix: handled specific success sattus for braze and intercom

* fix: make config error for af as retryable

* fix: user deletion handlers test cases (#1723)

* feat: mock cases for clevertap

* feat: mock cases for engage

Co-authored-by: Anant <[email protected]>

* fix(destination): avoid creating parallel delete user requests in clevertap (#1751)

* fix: user deletion module update (#1750)

* chore: coverage and testing for mixpanel and engage

* fix: updated api and test coverage for intercom

* refactor: coverage and testing for sendgrid

* feat: Batch Support with testing and mocking for Amplitude

* feat: Batch Support with testing and mocking for Braze

* fix: conflicts

* fix: conflicts+1

* fix: conflicts and resolved comments

* fix: added comments

* fix: resolved Comments

* fix: resolved Conflicts

* fix: resolved Comments

* fix: resolved Comments+1

* fix: resolved Comments+2

Co-authored-by: Anant <[email protected]>

* refactor: af user deletion (#1735)

* refactor: af user deletion

* fix: conflicts

Co-authored-by: Anant <[email protected]>

Co-authored-by: Utsab Chowdhury <[email protected]>
Co-authored-by: Anant Jain <[email protected]>
Co-authored-by: Anant <[email protected]>
@devops-github-rudderstack devops-github-rudderstack deleted the fix.af-user-deletion branch April 6, 2023 01:29
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