Add Mobile Onboarding Telemetry data model, AttributeName, and feature flag (common4j), Fixes AB#3549086#3039
Draft
Copilot wants to merge 2 commits into
Draft
Add Mobile Onboarding Telemetry data model, AttributeName, and feature flag (common4j), Fixes AB#3549086#3039Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
|
✅ Work item link check complete. Description contains link AB#3549086 to an Azure Boards work item. |
…e flag Co-authored-by: wzhipan <40340482+wzhipan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add foundational data model for Mobile Onboarding Telemetry, Fixes AB#3549086
Add Mobile Onboarding Telemetry data model, AttributeName, and feature flag (common4j)
Mar 20, 2026
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.
Foundational PBI for the Mobile Onboarding Telemetry feature — creates the data model, OTel span attribute, and feature flag that all other PBIs in this feature depend on.
New classes (
common4j/.../telemetry/)OnboardingTelemetryData— Gson-serializable data class modeling the"onboarding"sub-schema within the MATS blob. All fields use@SerializedNamesnake_case keys. Schema version defaults to"1.0.0"via@Builder.Default.OnboardingStep— Lightweight step record (step_id,duration_ms).OnboardingStepId— 28-value enum of discrete auth-journey milestones (e.g.DeviceRegistrationStarted,TokenIssued,ComplianceRemediationCompleted).All three use Lombok
@Builder+@Getter+@Accessors(prefix = "m").Enum additions
AttributeName.session_correlation_id— OTel span attribute for the session-scoped correlation ID.AttributeName.java.Feature flag
CommonFlight.ENABLE_ONBOARDING_TELEMETRY—("EnableOnboardingTelemetry", false).Tests
OnboardingTelemetryDataTestcovers JSON key correctness via@SerializedName, full serialization/deserialization roundtrip,@Builder.Defaultschema version, nullable field defaults, andOnboardingStepIdcompleteness.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
dl.google.com/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -XX:MaxMetaspaceSize=1024m -XX:+HeapDumpOnOutOfMemoryError -Xmx3072m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant(dns block)identitydivision.pkgs.visualstudio.com/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -XX:MaxMetaspaceSize=1024m -XX:+HeapDumpOnOutOfMemoryError -Xmx3072m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.