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

[STRATCONN-4294] | Add MultiStatusResponse to AddProfileToList of Klaviyo. #2526

Merged
merged 13 commits into from
Dec 12, 2024

Conversation

Innovative-GauravKochar
Copy link
Contributor

@Innovative-GauravKochar Innovative-GauravKochar commented Oct 22, 2024

Jira ticket
This pull request aims to add multiStatusResponse batch support for the AddProfileToList action of Klaviyo(Actions).

Local & Stage Testing Documentation

Testing

Include any additional information about the testing you have completed to
ensure your changes behave as expected. For a speedy review, please check
any of the tasks you completed below during your testing.

  • Added unit tests for new functionality
  • Tested end-to-end using the local server
  • [If destination is already live] Tested for backward compatibility of destination. Note: New required fields are a breaking change.
  • [Segmenters] Tested in the staging environment
  • [Segmenters] [If applicable for this change] Tested for regression with Hadron.

Copy link

codecov bot commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 84.78261% with 7 lines in your changes missing coverage. Please review.

Project coverage is 78.43%. Comparing base (5913cd9) to head (5c3ab4d).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...tion-actions/src/destinations/klaviyo/functions.ts 84.09% 3 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2526      +/-   ##
==========================================
+ Coverage   78.41%   78.43%   +0.02%     
==========================================
  Files        1030     1030              
  Lines       18315    18343      +28     
  Branches     3469     3472       +3     
==========================================
+ Hits        14362    14388      +26     
+ Misses       2800     2799       -1     
- Partials     1153     1156       +3     

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

@Innovative-GauravKochar Innovative-GauravKochar marked this pull request as ready for review November 4, 2024 13:47
@Innovative-GauravKochar Innovative-GauravKochar requested a review from a team as a code owner November 4, 2024 13:47
Copy link
Contributor

@varadarajan-tw varadarajan-tw left a comment

Choose a reason for hiding this comment

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

Looks good. Left a few questions/comments

Copy link
Contributor

@harsh-joshi99 harsh-joshi99 left a comment

Choose a reason for hiding this comment

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

LGTM! ✨

varadarajan-tw
varadarajan-tw previously approved these changes Nov 19, 2024
varadarajan-tw
varadarajan-tw previously approved these changes Dec 6, 2024
itsarijitray
itsarijitray previously approved these changes Dec 6, 2024
multiStatusResponse.setSuccessResponseAtIndex(validPayloadIndicesBitmap[index], {
status: 200,
sent: payload,
body: JSON.stringify(response?.data)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Why do we have to Stringify? Could we directly set response?.data?

@joe-ayoub-segment joe-ayoub-segment merged commit 59fe0e6 into main Dec 12, 2024
14 checks passed
@joe-ayoub-segment joe-ayoub-segment deleted the STRATCONN-4294 branch December 12, 2024 15:01
@joe-ayoub-segment
Copy link
Contributor

PR deployed

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