action-destinations icon indicating copy to clipboard operation
action-destinations copied to clipboard

Updated delivr ai activate action destination from AWS S3 and SFTP server to delivr ai REST API

Open erjakhar96 opened this issue 1 year ago • 4 comments

Updated delivr ai activate action destination where customer can sync Segment.io audience to delivr.ai Audience segmentation and activate to delivr.ai supported destinations.

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.

  • [x] Added unit tests for new functionality
  • [x] Tested end-to-end using the local server
  • [x] [Segmenters] Tested in the staging environment

erjakhar96 avatar Jul 10 '24 06:07 erjakhar96

@SunilPortqii I saw you made one change from the last review, did you see the other review comments? Once addressed we can move forward.

If you have any other questions or concerns, let me know. Additionally, if easier to discuss over a call, you can schedule time here: https://calendly.com/tgilbert-segment/segment-partner-call

tcgilbert avatar Jul 20 '24 14:07 tcgilbert

Hi @tcgilbert I made the changes suggested by you, please let me know if still anything missing I will schedule a call, Thanks

erjakhar96 avatar Jul 22 '24 05:07 erjakhar96

Hey @SunilPortqii - Thanks for making those updates.

Last thing to take care of is ensuring the CI checks pass. Right now they are failing for this PR. Please ensure that your tests are passing, and that you have your types up to date. Here are some useful commands to:

# Update Types: 
./bin/run generate:types --path ./packages/destination-actions/src/destinations/delivrai-activate/index.ts

# Run Tests: 
yarn cloud test --testPathPattern=src/destinations/delivrai-activate

tcgilbert avatar Jul 22 '24 13:07 tcgilbert

Hi @tcgilbert I re-run the types update command, the test cases passed at my end, let me know if anything missing ,Thanks

erjakhar96 avatar Jul 24 '24 05:07 erjakhar96

Hi @tcgilbert I re-run the types update command, the test cases passed at my end, let me know if anything missing ,Thanks

@erjakhar96 Okay great. Apologies but, one last update:

We’ve recently updated our CI checks for partner pull requests. Could you please pull from the main branch on your fork and merge the updates into your PR branch once more? This will allow us to run the CI checks with the new config again and ensure they pass.

tcgilbert avatar Aug 01 '24 16:08 tcgilbert

@erjakhar96 afraid the tests are still failing. Looks like the issue is with the types in the utils file:

Screenshot 2024-08-06 at 3 47 19 PM

tcgilbert avatar Aug 06 '24 19:08 tcgilbert

Hi @tcgilbert I added the fix but on my end this command "yarn cloud test --testPathPattern=src/destinations/delivrai-activate" gives all passed any other command that I am missing

erjakhar96 avatar Aug 09 '24 05:08 erjakhar96

hey @erjakhar96 - The CI is still failing, but I understand the issue now.

Essentially, you can't manually add types to the generated types file if they do not exist as a field in the action. With that in mind, you will need to decide if you want to ingest device_type in the action. If you do, then you will need to add a field for it. If not then you will need to remove this from the code.

If you have any other questions or concerns, let me know.

Screenshot 2024-08-09 at 10 30 20 AM Screenshot 2024-08-09 at 10 32 50 AM

tcgilbert avatar Aug 09 '24 14:08 tcgilbert

Thanks, @tcgilbert for highlight the issue , we added device type field , please verify , Thanks

erjakhar96 avatar Aug 14 '24 08:08 erjakhar96

hi @erjakhar96 and @tcgilbert this PR has been deployed. Thomas are you OK taking care of moving to Private Beta, etc?

joe-ayoub-segment avatar Aug 20 '24 17:08 joe-ayoub-segment