Skip to content

fix(rokt): hardcode mParticle events endpoint - #5670

Merged
shekhar-rudder merged 1 commit into
developfrom
harness/RUD-3296-fix-rokt-hardcode-mparticle-eve-38c24a27
Oct 14, 2026
Merged

shekhar-rudder merged 1 commit into
developfrom
harness/RUD-3296-fix-rokt-hardcode-mparticle-eve-38c24a27

Conversation

@rudder-devbox

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

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

  • Hardcode Rokt event delivery to the mParticle Custom Feed endpoint.
  • Remove Rokt’s user-configured endpoint validation and normalization logic.
  • Remove apiEndpoint from the typed Rokt config and update unit/component fixtures.

What is the related Linear task?

Resolves RUD-3296

Please explain the objectives of your changes below

Rokt integrations all deliver to https://inbound.mparticle.com/s2s/v2/bulkevents, so customers should no longer provide an endpoint. The companion rudder-integrations-config change removes apiEndpoint from the account definition and should follow this transformer PR so newly created accounts never encounter a transformer that still requires the field.

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

Rokt accounts previously configured for regional or legacy mParticle hosts will now deliver to the single Rokt-approved global Custom Feed host. Existing stored apiEndpoint values remain accepted as passthrough configuration but are 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?

The endpoint is assembled from the fixed base URL and existing bulk-events path. Basic authentication, batching, endpoint metrics labeling, and response handling are unchanged.

Validation

  • npm run lint — passed
  • npm test -- --testPathPattern="src/v0/destinations/rokt/routerTransform.test.ts" --no-coverage — 23 tests passed
  • npm run test:ts -- component --destination=rokt — 11 tests passed
  • npm exec -- tsc --noEmit -p tsconfig.json — passed
  • Confirmed no apiEndpoint or Rokt resolveEndpoint references remain in Rokt source/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 14, 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 14, 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: e1352269-6c7b-4327-bb1c-b2514b9806d6

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.

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Oct 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.11%. Comparing base (9897fbe) to head (c6886b5).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5670      +/-   ##
===========================================
- Coverage    92.11%   92.11%   -0.01%     
===========================================
  Files          708      708              
  Lines        39529    39522       -7     
  Branches      9194     9266      +72     
===========================================
- Hits         36412    36405       -7     
+ Misses        2932     2852      -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.

@shekhar-rudder
shekhar-rudder marked this pull request as ready for review October 14, 2026 06:06
@shekhar-rudder
shekhar-rudder requested review from a team as code owners October 14, 2026 06:06
@shekhar-rudder
shekhar-rudder merged commit d7e8e4f into develop Oct 14, 2026
38 checks passed
@shekhar-rudder
shekhar-rudder deleted the harness/RUD-3296-fix-rokt-hardcode-mparticle-eve-38c24a27 branch October 14, 2026 06:08
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