Skip to content

Add NAA bridge type to performance telemetry - #8864

Merged
Sameera Gajjarapu (sameerag) merged 8 commits into
devfrom
sameerag/naa-pwb-additional-telemetry
Oct 14, 2026
Merged

Sameera Gajjarapu (sameerag) merged 8 commits into
devfrom
sameerag/naa-pwb-additional-telemetry

Conversation

@sameerag

Copy link
Copy Markdown
Member

Summary

  • add bridgeType: "NAA" to Nested App Auth popup, host-silent, and cache-silent performance measurements
  • define the shared bridgeType: "NAA" | "PWB" performance telemetry field
  • add focused coverage for all three NAA measurement paths

This complements the 1P PWB telemetry in Azure DevOps PR 27440 so dashboards can use one bridgeType dimension for both bridge implementations.

Validation

  • @azure/msal-common and @azure/msal-browser builds passed
  • @azure/msal-common: 1,168 tests passed
  • @azure/msal-browser: 2,170 tests passed, 3 skipped
  • focused NestedAppAuthController suite: 27 tests passed
  • lint passed with existing warnings only
  • formatting passed
  • Beachball passed
  • @azure/msal-common API Extractor passed and its API review was updated
  • @azure/msal-browser API Extractor is blocked by a reproducible internal API Extractor error on the existing RequestParameterBuilder source-file symbol under Node 22 and Node 25

assistance: agentic-cli
type: telemetry
agent-tool: copilot-cli
agent-model: gpt-5.6-sol
work-item: AB#n/a

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0587e9e4-12b2-49aa-867a-24103c92dcb1
Copilot AI lite review requested due to automatic review settings September 23, 2026 22:11
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0587e9e4-12b2-49aa-867a-24103c92dcb1
@sameerag Sameera Gajjarapu (sameerag) added agentic-cli Copilot CLI / terminal agent drove the bulk of the edits telemetry Telemetry and observability changes labels Sep 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Two moderate test-coverage issues remain, along with missing performance-field documentation.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Low severity

Open (1)
What changed in this PR

Adds bridgeType telemetry for NAA authentication flows, covering popup, host-silent, and cache-silent measurements.

Changes:

  • Defines shared "NAA" | "PWB" telemetry values.
  • Tags NAA performance measurements.
  • Adds focused tests, API updates, and package changefiles.
File Description
lib/​msal-common/​src/​telemetry/​performance/​PerformanceEvent.ts Adds the shared bridge type field.
lib/​msal-common/​apiReview/​msal-common.api.md Updates the API baseline.
lib/​msal-browser/​test/​controllers/​NestedAppAuthController.spec.ts Adds telemetry coverage for NAA measurement paths.
lib/​msal-browser/​src/​controllers/​NestedAppAuthController.ts Records "NAA" for three measurement paths.
change/​@azure-msal-common-naa-bridge-type.json Declares the common package patch.
change/​@azure-msal-browser-naa-bridge-type.json Declares the browser package patch.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Co-authored-by: sameerag <21958742+sameerag@users.noreply.github.com>
@sameerag

Copy link
Copy Markdown
Member Author

Copilot resolve the merge conflicts in this pull request

Copilot AI commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Copilot resolve the merge conflicts in this pull request

Resolved the merge conflict with dev in merge commit 07b1f39, preserving both the upstream platform-broker documentation and the bridgeType field.

Co-authored-by: sameerag <21958742+sameerag@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentic-cli Copilot CLI / terminal agent drove the bulk of the edits telemetry Telemetry and observability changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants