Fall back to mongo-orchestration on RHEL 7 when mongodb-runner is requested

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Unknown
    • None
    • Component/s: Evergreen Tools
    • None
    • Not Needed

      RHEL 7 is limited to Node 16, which cannot load ESM-only modules. mongodb-runner@6.8.2 depends on yargs@18 (ESM-only), causing failures on that platform. After merging DRIVERS-3538, there is a failing task on RHEL 7.

      A workaround was added in DRIVERS-3434 to pin a transitive dependency and avoid the same class of problem, but this approach requires ongoing maintenance as mongodb-runner evolves.

      Instead, we should detect RHEL 7 at runtime and automatically fall back to mongo-orchestration, removing the need for the pin introduced in DRIVERS-3434. The test-mongodb-runner-partial task on RHEL 7 will continue to run and will exercise mongo-orchestration.

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: