Repository navigation
feat(rokt): map track conversion types from destination config - #5679
shekhar-rudder merged 1 commit into
Conversation
|
👋 I'm rudder-devbox. I opened this PR from a Linear ticket. Mention |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5679 +/- ##
===========================================
- Coverage 92.12% 92.12% -0.01%
===========================================
Files 713 713
Lines 39591 39597 +6
Branches 9276 9277 +1
===========================================
+ Hits 36474 36478 +4
- Misses 2852 2854 +2
Partials 265 265 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|



What are the changes introduced in this PR?
trackmessages with a required event name.custom_attributes.conversiontypethrough exact, case-sensitiveeventsMappingconfiguration.properties.conversiontypeand the event name as conversion-type sources.What is the related Linear task?
Resolves RUD-3351
Please explain the objectives of your changes below
This makes Rokt conversion types customer-configurable and prevents unconfigured events from being delivered with inferred conversion types.
A coordinated
rudder-integrations-configchange is required before rollout to exposeeventsMapping, set the default mapping, and advertise onlytrackas a supported cloud message type.Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?
Rokt no longer accepts page, screen, or identify messages. Track events without an exact configured mapping now fail with a 400 instrumentation error.
properties.conversiontypeis ignored.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?
Mapping resolution performs a linear lookup over the customer-configured event mapping. Existing configs without the new field behave as an empty mapping and therefore forward no events until configured.
Validation
npm run lint— passed.npm run test:ts -- component --destination=rokt— passed, 11 tests.npm run build:test— passed.Local mini integration verification was skipped because
rudder-transformeris SHA-pinned and cannot run source from this checkout in the sandbox. No live transformer behavior was inferred from the stock image; the targeted unit and component suites above are the available source-level evidence.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.