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
F2835752: D12552.diff
Sat, Sep 28, 2:30 PM
Unknown Object (File)
Wed, Sep 25, 9:48 PM
Unknown Object (File)
Wed, Sep 25, 9:48 PM
Unknown Object (File)
Wed, Sep 25, 9:48 PM
Unknown Object (File)
Wed, Sep 25, 9:48 PM
Unknown Object (File)
Wed, Sep 25, 9:48 PM
Unknown Object (File)
Fri, Sep 20, 6:48 AM
Unknown Object (File)
Thu, Sep 19, 10:41 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 ↗(On Diff #41634)

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.