Skip to content

Conversation

@melissaahn
Copy link
Contributor

@melissaahn melissaahn commented Nov 7, 2025

Summary

Updating the execute method definition so that OneAuth can start mocking request if they'd like.

AB#3423519

@melissaahn melissaahn requested a review from a team as a code owner November 7, 2025 18:50
Copilot AI review requested due to automatic review settings November 7, 2025 18:50
@melissaahn melissaahn added the No-Changelog This Pull-Request has no associated changelog entry. label Nov 7, 2025
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

❌ Work item link check failed. Description does not contain AB#{ID}.

Click here to Learn more.

1 similar comment
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

❌ Work item link check failed. Description does not contain AB#{ID}.

Click here to Learn more.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for additional required parameters in WebApps operations by introducing a new data class WebAppsAdditionalRequiredParameters and updating the broker controller's API. It also adds a new error constant FLIGHT_DISABLED for feature flight scenarios.

Key changes:

  • Adds FLIGHT_DISABLED error string constant for handling disabled feature flights
  • Introduces WebAppsAdditionalRequiredParameters data class to encapsulate metadata about calling applications (package name, app name/version, SDK type/version) and UI capability flag
  • Updates executeWebAppRequest method signature to accept the new additional parameters

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
common4j/src/main/com/microsoft/identity/common/java/exception/ErrorStrings.java Adds FLIGHT_DISABLED error constant for feature flight validation scenarios
common/src/main/java/com/microsoft/identity/common/internal/controllers/BrokerMsalController.java Updates executeWebAppRequest method signature to include WebAppsAdditionalRequiredParameters parameter and imports the new data class
common/src/main/java/com/microsoft/identity/common/internal/broker/ipc/WebAppsAQdditionalRequiredParameters.kt Introduces new data class containing caller metadata and UI capability flag for WebApps broker operations (note: filename contains critical spelling error)

@github-actions github-actions bot changed the title Edge TB: Updating execute method definition Edge TB: Updating execute method definition, Fixes AB#3423519 Nov 7, 2025
mohitc1
mohitc1 previously approved these changes Nov 7, 2025
Copy link
Contributor

@mohitc1 mohitc1 left a comment

Choose a reason for hiding this comment

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

:shipit:

@mohitc1 mohitc1 dismissed their stale review November 7, 2025 19:01

revoking review

Copy link
Contributor

@mohitc1 mohitc1 left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Contributor

@p3dr0rv p3dr0rv left a comment

Choose a reason for hiding this comment

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

LGTM

@melissaahn melissaahn merged commit 451be4c into dev Nov 7, 2025
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No-Changelog This Pull-Request has no associated changelog entry.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants