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)
Mon, Apr 8, 12:06 PM
Unknown Object (File)
Sat, Apr 6, 6:28 AM
Unknown Object (File)
Fri, Apr 5, 2:13 PM
Unknown Object (File)
Wed, Apr 3, 7:23 AM
Unknown Object (File)
Mon, Apr 1, 1:17 PM
Unknown Object (File)
Mon, Apr 1, 11:40 AM
Unknown Object (File)
Mon, Apr 1, 10:16 AM
Unknown Object (File)
Sat, Mar 30, 9:39 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
Lint Not Applicable
Unit
Tests Not Applicable