Skip to content

fix(tiktok_ads_offline_events): remove default Lead mapping - #5702

Merged
maheshkutty merged 1 commit into
developfrom
harness/RUD-3387-fix-tiktok-ads-offline-events-r-9cb8d35a
Oct 20, 2026
Merged

maheshkutty merged 1 commit into
developfrom
harness/RUD-3387-fix-tiktok-ads-offline-events-r-9cb8d35a

Conversation

@rudder-devbox

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

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

  • Remove the unsupported default lead → Lead mapping from TikTok Ads Offline Events.
  • Replace the positive Lead processor fixtures with a regression case asserting the existing 400 InstrumentationError.
  • Preserve explicit and default Purchase mappings unchanged.

What is the related Linear task?

Resolves RUD-3387

Please explain the objectives of your changes below

TikTok offline event sets do not support Lead. Plain lead track events now follow the transformer's existing invalid-event path instead of producing a payload TikTok rejects.

The integrations-config update is handled independently. Existing saved configurations explicitly mapping an event to Lead remain trusted at runtime; config migration and additional validation are intentionally out of scope.

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

A plain lead track event without an explicit mapping now returns a 400 InstrumentationError. Purchase and all other supported mappings are 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?

No performance impact. Existing saved explicit Lead mappings are not migrated or blocked by this transformer change.

Validation

  • npm run lint — passed
  • npm run format:ci — passed
  • npm run test:ts -- component --destination=tiktok_ads_offline_events — passed, 15/15 tests
  • Full generate:secret-paths — passed; generated artifact unchanged
  • npm test -- --testPathPattern="tiktok_ads_offline_events" --no-coverage — no co-located unit tests found for this destination
  • Scoped Lead search — no remaining Lead references in destination source or component fixtures

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?

  • 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 20, 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 20, 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: cf296945-cedc-4e1f-8d8d-a971429f9b68

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.

@maheshkutty
maheshkutty marked this pull request as ready for review October 20, 2026 11:19
@maheshkutty
maheshkutty requested review from a team as code owners October 20, 2026 11:20
@maheshkutty
maheshkutty enabled auto-merge October 20, 2026 11:23
@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.21%. Comparing base (4b476f9) to head (da80d63).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5702   +/-   ##
========================================
  Coverage    92.21%   92.21%           
========================================
  Files          725      725           
  Lines        40174    40174           
  Branches      9396     9396           
========================================
+ Hits         37045    37046    +1     
+ Misses        2865     2864    -1     
  Partials       264      264           

☔ 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 merged commit 370715f into develop Oct 20, 2026
33 checks passed
@maheshkutty
maheshkutty deleted the harness/RUD-3387-fix-tiktok-ads-offline-events-r-9cb8d35a branch October 20, 2026 11:31
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