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

Centralize rpcWorker in product-core #3786

Merged
merged 3 commits into from Jul 7, 2023
Merged

Centralize rpcWorker in product-core #3786

merged 3 commits into from Jul 7, 2023

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Jul 6, 2023

Reduces some code duplication across packages

Also updates serialize-error by async importing the esm (which works in cjs land)

I also noticed a possible bug where the 'fetchCJS' callback on desktop was not available from the worker. I did not add this to this PR as I do observe that the 'fetchCJS' concept was using window.require which I'm not sure is available on web worker. If there is a cjs plugin for testing could from a URL was not available on desktop in the worker, but I don't have any mechanism of truly testing this

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Jul 6, 2023
@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Jul 6, 2023

See #3785 for xref'd fetchCJS issue

@cmdcolin cmdcolin added internal and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Jul 6, 2023
@cmdcolin cmdcolin force-pushed the centralize_rpc branch 2 times, most recently from 948b000 to 28dbc74 Compare July 6, 2023 21:55
@cmdcolin cmdcolin merged commit f090f3e into main Jul 7, 2023
11 checks passed
@cmdcolin cmdcolin deleted the centralize_rpc branch July 10, 2023 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant