Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1039

Windows builds are failing too often

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.1.4
    • Affects Version/s: None
    • Component/s: Build, CI
    • None
    • Not Needed
    • Iteration Orlando, Iteration Phnom Penh

      Currently, most of our Windows builds in CI are failing. This is turning out to be a significant problem for releasing mongosh.

      Most likely, this is happening because of the way in which boxednode includes native addons. Since we use multiple ones that include node-addon-api, we have multiple addons including a nothing.c dummy source file. On Windows, compiling multiple files with the same name (even when from different directories) fails because the compiler attempts to write them all to the same output filename, which is not allowed on Windows.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: