Page MenuHomePhabricator

Refrain from querying blob service from the NSE if CAST is missing
ClosedPublic

Authored by marcin on Jun 24 2024, 3:10 AM.
Tags
None
Referenced Files
F3407234: D12552.diff
Wed, Dec 4, 4:58 AM
Unknown Object (File)
Sat, Nov 16, 11:58 AM
Unknown Object (File)
Nov 1 2024, 1:03 PM
Unknown Object (File)
Nov 1 2024, 1:03 PM
Unknown Object (File)
Nov 1 2024, 1:03 PM
Unknown Object (File)
Nov 1 2024, 1:03 PM
Unknown Object (File)
Nov 1 2024, 1:03 PM
Unknown Object (File)
Nov 1 2024, 1:02 PM
Subscribers

Details

Summary

This differential make the NSE bail blob service query if CAST is missing

Test Plan
  1. Send large notification to the native client.
  2. Ensure notif is displayed but the console logs say that blob service query was aborted because there was no CSAT.
  3. Now flip usingCommServicesAccessToken to true.
  4. Ensure large notif is fetched.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/eng-8366
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

web/cpp/SQLiteQueryExecutorBindings.cpp
252–262

Someone forgot to run clang formatting. Let's cover it in this diff.

REmove unnecessary ternary operators from Android code.

bartek added inline comments.
native/android/app/src/main/java/app/comm/android/commservices/CommAndroidBlobClient.java
93 ↗(On Diff #41636)

You haven't attempted querying so it's better wording

native/ios/Comm/CommIOSServices/CommIOSBlobClient.mm
260 ↗(On Diff #41636)

same as above

This revision is now accepted and ready to land.Jun 24 2024, 4:00 AM
This revision was landed with ongoing or failed builds.Jun 24 2024, 4:41 AM
This revision was automatically updated to reflect the committed changes.