Skip to content

feat(tiktok_ads_offline_events): add Purchase and Lead mappings - #5689

Merged
maheshkutty merged 1 commit into
developfrom
harness/INT-7410-feat-tiktok-ads-offline-events-5a7dfd5c
Oct 19, 2026
Merged

maheshkutty merged 1 commit into
developfrom
harness/INT-7410-feat-tiktok-ads-offline-events-5a7dfd5c

Conversation

@rudder-devbox

@rudder-devbox rudder-devbox Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

  • Add additive purchase → Purchase and lead → Lead default mappings for TikTok Ads Offline Events.
  • Document why the legacy PlaceAnOrder mapping remains supported.
  • Add processor coverage for explicit configured mappings and unmapped default mappings for both events.
  • Leave transform.js and all existing mappings unchanged.

What is the related Linear task?

Resolves INT-7410

Please explain the objectives of your changes below

This enables unmapped purchase and lead track events to resolve to TikTok's supported offline event names. Explicit configured Purchase and Lead values continue through the existing pass-through path.

A companion rudder-integrations-config PR is required to expose these values in the Standard Events dropdown and schema. The repositories can merge independently.

Validation:

  • npm run lint — passed
  • npm run test:ts -- component --destination=tiktok_ads_offline_events — passed, 16 tests
  • Full npm run generate:secret-paths with integrations-config — passed; generated artifact unchanged
  • npm test -- --testPathPattern=tiktok_ads_offline_events --no-coverage — no destination-specific unit-test files matched; component coverage is the applicable suite

Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?

Unmapped purchase and lead track events now resolve to Purchase and Lead. Existing mappings, including order completed → PlaceAnOrder, remain unchanged.

Any new dependencies introduced with this change?

N/A

Any new generic utility introduced or modified. Please explain the changes.

N/A

Any technical or performance related pointers to consider with the change?

The configured mapping path already forwards to values verbatim, so no transform logic or performance characteristics changed.

⚠️ Known Issues

End-to-end verification was skipped because the mini transformer image is SHA-pinned and cannot load this checkout's source change. The connections-crud scenario also failed during seeding because PBAC provisioning remained initial; no stock-container result is claimed as validation of the new mappings.


Developer checklist

  • My code follows the style guidelines of this project

  • No breaking changes are being introduced.

  • All related docs linked with the PR?

  • All changes manually tested?

  • Any documentation changes needed with this change? No transformer documentation changes are required.

  • Is the PR limited to 10 file changes?

  • Is the PR limited to one linear task?

  • Are relevant unit and component test-cases added in new readability format?

Reviewer checklist

  • Is the type of change in the PR title appropriate as per the changes?

  • Verified that there are no credentials or confidential data exposed with the changes.

@rudder-devbox

rudder-devbox Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor Author

👋 I'm rudder-devbox. I opened this PR from a Linear ticket.

Mention @devbox or @rudder-devbox and I'll act on it — on a top-level PR comment,
in a review summary, or on an inline comment on the diff. Without a mention I won't see it.

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d89a9d98-4b76-4c10-975f-cabc9e84f3d8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.15%. Comparing base (0ba2227) to head (b89c422).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5689   +/-   ##
========================================
  Coverage    92.15%   92.15%           
========================================
  Files          719      719           
  Lines        39967    39967           
  Branches      9282     9355   +73     
========================================
  Hits         36833    36833           
+ Misses        2949     2869   -80     
- Partials       185      265   +80     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud

Copy link
Copy Markdown

@maheshkutty
maheshkutty marked this pull request as ready for review October 19, 2026 04:46
@maheshkutty
maheshkutty requested review from a team as code owners October 19, 2026 04:46
@maheshkutty
maheshkutty merged commit a18688a into develop Oct 19, 2026
38 checks passed
@maheshkutty
maheshkutty deleted the harness/INT-7410-feat-tiktok-ads-offline-events-5a7dfd5c branch October 19, 2026 06:01
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.

2 participants