Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Network check by default #2480

Merged
merged 6 commits into from
Aug 17, 2024
Merged

Disable Network check by default #2480

merged 6 commits into from
Aug 17, 2024

Conversation

rpdome
Copy link
Member

@rpdome rpdome commented Aug 16, 2024

This network check doesn't seem reliable.
(a handful of broker requests failed with this check, but then succeeded with OneAuth.)

This PR will disable the test by default - bringing the behavior in BOTH Broker and Common to match with OneAuth's.


NOTE: Doze mode network check is not in scope of this work.
(that check is set by SDK.

  • In MSAL, that's true by default (via MSAL config).
  • In OneAuth, it's always false. There's no way for an app to set, and OneAuth never touches it).

@rpdome rpdome requested a review from a team as a code owner August 16, 2024 22:01
@rpdome rpdome merged commit 21a7644 into dev Aug 17, 2024
15 of 18 checks passed
@rpdome rpdome deleted the rapong/disableNetworkCheck branch August 17, 2024 01:48
rpdome added a commit that referenced this pull request Aug 19, 2024
This "test" is not reliable.
(a handful of broker requests failed with this check, but then succeeded
with OneAuth.)

This PR will disable the test by default - bringing the behavior in BOTH
Broker and Common to match with OneAuth's.

---

NOTE: [Doze mode network
check](https://github.com/AzureAD/microsoft-authentication-library-common-for-android/blob/3bd7337d4bc0df4974cc30701b22a43b3a4d8059/common/src/main/java/com/microsoft/identity/common/internal/platform/AndroidPlatformUtil.java#L122)
is not in scope of this work.
(that check is set by SDK.
- In MSAL, that's true by default (via MSAL config).
- In OneAuth, it's always false. There's no way for an app to set, and
OneAuth never touches it).
# Conflicts:
#	changelog.txt
#	common4j/src/main/com/microsoft/identity/common/java/flighting/CommonFlight.java
rpdome added a commit that referenced this pull request Sep 12, 2024
This "test" is not reliable.
(a handful of broker requests failed with this check, but then succeeded
with OneAuth.)

This PR will disable the test by default - bringing the behavior in BOTH
Broker and Common to match with OneAuth's.

---

NOTE: [Doze mode network
check](https://github.com/AzureAD/microsoft-authentication-library-common-for-android/blob/3bd7337d4bc0df4974cc30701b22a43b3a4d8059/common/src/main/java/com/microsoft/identity/common/internal/platform/AndroidPlatformUtil.java#L122)
is not in scope of this work.
(that check is set by SDK.
- In MSAL, that's true by default (via MSAL config).
- In OneAuth, it's always false. There's no way for an app to set, and
OneAuth never touches it).
# Conflicts:
#	changelog.txt
#	common4j/src/main/com/microsoft/identity/common/java/flighting/CommonFlight.java
rpdome added a commit that referenced this pull request Sep 13, 2024
This "test" is not reliable.
(a handful of broker requests failed with this check, but then succeeded
with OneAuth.)

This PR will disable the test by default - bringing the behavior in BOTH
Broker and Common to match with OneAuth's.

---

NOTE: [Doze mode network
check](https://github.com/AzureAD/microsoft-authentication-library-common-for-android/blob/3bd7337d4bc0df4974cc30701b22a43b3a4d8059/common/src/main/java/com/microsoft/identity/common/internal/platform/AndroidPlatformUtil.java#L122)
is not in scope of this work.
(that check is set by SDK.
- In MSAL, that's true by default (via MSAL config).
- In OneAuth, it's always false. There's no way for an app to set, and
OneAuth never touches it).
# Conflicts:
#	changelog.txt
#	common4j/src/main/com/microsoft/identity/common/java/flighting/CommonFlight.java

# Conflicts:
#	changelog.txt
@rpdome rpdome mentioned this pull request Sep 18, 2024
rpdome added a commit that referenced this pull request Sep 18, 2024
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