Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40922

Add npm install command to "run jstestfuzz" Evergreen function

    XMLWordPrintable

    Details

      Description

      The "run jstestfuzz" function lives here in the etc/evergreen.yml project configuration file. We'd like to remove the vendored copy of the fuzzer's dependencies from the 10gen/jstestfuzz repository. Note that removing the node_modules/ directory is a "break the world" kind of change where older mongodb/mongo commits will fail because the dependencies are no longer present. Until we remove the node_modules/ directory, running npm install should have no effect because the versions of all the fuzzer's transitive dependencies are pinned by the package-lock.json file. We can therefore add the npm install command now in preparation for removing the node_modules/ directory and break fewer older commits.

      This should happen in a type=system task so that if Artifactory is down, then the Evergreen task turns purple. Note that this means it should happen before the shell.exec command to call npm test and npm run.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: