Repository navigation
Staging -> Main (5.3.0 Release) - #551
Merged
Merged
Conversation
Introduce a dedicated path that lets operational device attributes
(timezone, push token, Live Activity tokens) be sent to the Edge Network
without being gated by collect consent, driven entirely by a Launch rule.
Routing
- Listen for a dedicated event: type "com.adobe.eventType.edgeBypassConsent"
with the standard requestContent source (Event.isBypassConsentEvent).
These events are produced by the rules engine's forward-operational-data
consequence; Edge owns the type constant and the routing.
- Queue such hits on a separate, always-on bypassConsentHitQueue that is
started at init and never wired to collect-consent changes, so it is
never suspended or cleared. The primary experience-event queue and its
consent gating are unchanged.
Request
- Add EdgeRequestType.deviceAttributes ("mobile/device-attributes").
- Build the request body via RequestBuilder.generateNoConsentPayload: pass
the producer's event data through unchanged and enrich it with the
SDK-owned xdm (implementationDetails + identityMap) and meta.state.
NoConsentEdgeHit carries this dynamic payload (no typed model, no
response streaming).
- Resolve the endpoint from the app's Edge configuration (edge.configId,
edge.environment, edge.domain) exactly like the interact/set-consent
paths; drop the hit with a warning if edge.configId is missing.
Response
- Treat HTTP 202 (Accepted) as a success response so device-attributes
hits are completed rather than logged as an unrecoverable error and
retried. Existing 200/204/207 handling is unchanged.
Tests
- Add unit tests for isBypassConsentEvent, bypass-consent queue routing
under collect consent = no, the generateNoConsentPayload body shape,
the device-attributes endpoint/configId selection, and 202-as-success.
This reverts commit ed8b25c. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move device attributes (edgeBypassConsent) processing into bypass-owned types under Sources/DeviceAttributes: hit processor, request builder, network sender, response handler, constants and event helpers. Shared interact files return to main, except the deviceAttributes endpoint case and bypass wiring in Edge and EdgeState. - Success is 200/202; recoverable errors retry without a response event; other outcomes publish failed/network. - Success responses apply only locationHint:result (EdgeNetwork) and state:store handles. - Identity reset no longer clears the bypass queue; hits queued before the persisted reset date are skipped. - The bypass queue starts after Edge bootup. - Response event is named Device Attributes Response.
Device attributes requests now wait on the same Configuration and Identity shared states as experience and consent events. Removes the dedicated readiness helper and its missing-queue exception.
- Check the latest Edge Identity ECID before each send; drop with identityChanged if it changed, retry if Identity is unavailable. - Remove the reset-date skip; apply state:store only while the ECID is unchanged. - Consolidate device-attributes constants under EdgeConstants.DeviceAttributes and align names with Android.
…st URLs without a host
Isolated consent-independent device-attributes endpoint path to Edge Network
Updating version to 5.3.0
Dev v5.3.0 -> Staging
sagar-sharma-adobe
approved these changes
Oct 21, 2026
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: