Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8269

Bundle shell node-runtime-worker-thread on the compass side

    • Type: Icon: Investigation Investigation
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Tech debt
    • None
    • Developer Tools

      Currently we are bundling @mongosh/node-runtime-worker-thread package in mongosh. As an investigation, do not bundle it there and then on the Compass side, evaluate the integration. This will avoid unsetting `webSecurity` electron flag in development mode.

      Also, investigate the bundle size of the worker.js (webworker). Currently (compass with node worker), the bundle size is ~4.5MB and with web worker its ~6MB.

            Assignee:
            Unassigned Unassigned
            Reporter:
            basit.chonka@mongodb.com Basit Chonka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: