Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6796

FLE webpack tests fail during release builds

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: CI
    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      The Webpack bundling tests fail when we merge a release PR.  The release action and the webpack tests run concurrently, and what happens is as follows:

      1. The FLE webpack tests bundle mongodb-client-encryption into a tarball and install it into the webpack application
      2. `npm i` is run inside the webpack application
      3. prebuild attempts to download a prebuild.  But at this point, the release is in-progress and the prebuilds have not been published to the new Github release, so the install fails.

       

      We likely want to `--build-from-source` or manually build the bindings into the webpack'd application instead of relying on prebuild to download the bindings.

            Assignee:
            Unassigned Unassigned
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None