Page MenuHomePhabricator

[web] Pass platform details to worker
ClosedPublic

Authored by michal on Mar 26 2024, 6:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 10, 9:28 PM
Unknown Object (File)
Wed, Apr 9, 12:29 AM
Unknown Object (File)
Tue, Apr 8, 8:58 PM
Unknown Object (File)
Tue, Apr 8, 8:31 PM
Unknown Object (File)
Sun, Apr 6, 8:58 AM
Unknown Object (File)
Thu, Mar 27, 8:41 PM
Unknown Object (File)
Mar 7 2025, 1:43 AM
Unknown Object (File)
Feb 22 2025, 2:50 AM
Subscribers

Details

Summary

After rebasing on master, D11342 (child diff) will now need to have access to platform details inside olmAPI. Because of that I changed the approach where the platform details is passed only in identity client creation and instead it's now passed during web worker initialization and saved as a global variable.

Depends on D11341

Test Plan
  • Added a console log on processing worker request, made sure that it displayed current platform details after init
  • Check if calls to identity service work

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage