Skip to content

feat(adj): map Adjust adid and user agent - #5731

Merged
maheshkutty merged 2 commits into
developfrom
harness/RUD-3414-feat-adj-map-adjust-adid-and-us-c444bbb0
Oct 27, 2026
Merged

maheshkutty merged 2 commits into
developfrom
harness/RUD-3414-feat-adj-map-adjust-adid-and-us-c444bbb0

Conversation

@rudder-devbox

@rudder-devbox rudder-devbox Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

What are the changes introduced in this PR?

  • Map integrations.Adjust.adid to Adjust's platform-neutral adid parameter through the canonical destination integrations lookup.
  • Map context.userAgent to user_agent through the existing Track mapping configuration.
  • Cover Android and iOS identifier combinations in processor fixtures, including iOS without IDFA, and update router expectations for user_agent.

What is the related Linear task?

Resolves RUD-3414

Please explain the objectives of your changes below

Adjust cloud-mode Track requests can now forward an Adjust device identifier supplied in the event's Adjust integration object and the event's user agent. adid remains independent of platform-specific gps_adid, idfa, and idfv fields.

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

Track requests include adid when a truthy integrations.Adjust.adid is present, and include user_agent when context.userAgent is present. The destination also accepts the canonical Adjust integration name aliases ADJ, adjust, and adj. Requests without these inputs remain unchanged. context.externalId is not used for adid.

Any new dependencies introduced with this change?

N/A

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

N/A. The transform reuses getIntegrationsObj.

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

adid is resolved outside the Android and Apple identifier branches, allowing it to coexist with existing platform-specific identifiers. user_agent uses the standard mapping and serialization path rather than manual encoding.

Validation

  • npm run lint — passed.
  • npm run test:ts -- component --destination=adj — passed, 22 tests.
  • npm test -- --testPathPattern=adj --no-coverage — passed, 8 tests.
  • Full check:secret-paths with integrations config — passed; Adjust remains [].
  • npm run build:ci — passed in the initial implementation; no build changes in this review update.

⚠️ Known Issues

  • The complete npm run build wrapper reaches and passes build:ci, then fails in the asset-copy step because cpio is not installed in the host environment. No source compile or bundling failure was observed.
  • Live integration verification was skipped because the local stack uses a published, SHA-pinned transformer image; starting stock services could not prove the edited source was running.

Developer checklist

  • My code follows the style guidelines of this project
  • No breaking changes are being introduced.
  • All related docs linked with the PR? N/A; public Adjust mapping docs require a follow-up update.
  • All changes manually tested?
  • Any documentation changes needed with this change? Yes; public Adjust mapping docs are out of scope here.
  • 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 26, 2026

Copy link
Copy Markdown
Contributor Author

👋 I'm rudder-devbox. I opened this PR from task RUD-3414.

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 26, 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
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 50681102-4505-4e70-9228-e6549c6f0aa0

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 26, 2026 15:20
@maheshkutty
maheshkutty requested review from a team as code owners October 26, 2026 15:20
Copilot AI balanced review requested due to automatic review settings October 26, 2026 15:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

maheshkutty
maheshkutty previously approved these changes Oct 26, 2026
@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.40%. Comparing base (ca0dbb9) to head (06c0903).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5731   +/-   ##
========================================
  Coverage    92.39%   92.40%           
========================================
  Files          737      737           
  Lines        40853    40859    +6     
  Branches      9508     9587   +79     
========================================
+ Hits         37748    37754    +6     
  Misses        2921     2921           
  Partials       184      184           

☔ 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.

Comment thread src/v0/destinations/adj/transform.js Resolved
Copilot AI balanced review requested due to automatic review settings October 27, 2026 06:06
@rudder-devbox

rudder-devbox Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

Knowledge distillation completed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the Adjust device ID and user-agent forwarding changes.

No open issues 🎉

Review effort: Balanced

@sonarqubecloud

Copy link
Copy Markdown

@maheshkutty
maheshkutty merged commit 8cf808e into develop Oct 27, 2026
52 of 53 checks passed
@maheshkutty
maheshkutty deleted the harness/RUD-3414-feat-adj-map-adjust-adid-and-us-c444bbb0 branch October 27, 2026 07:05
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.

4 participants