ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Component/s: Evergreen Tools
    • None
    • Not Needed

      Summary

      The npm package mongodb-runner is being renamed to @mongodb-js/mongodb-runner as part of an npm publishing ownership cleanup. Starting with the next mongodb-runner release, this repo's pinned dependency in mongodb_runner.py needs to reference the new package name.

      Motivation

      Who is the affected end user?

      Consumers of this repo's mongodb-runner orchestration helper (_install_mongodb_runner in .evergreen/orchestration/mongodb_runner.py), which generates a package.json pinning the old package name.

      How does this affect the end user?

      Once the old mongodb-runner package stops receiving releases under its current name, the version pin in _MR_VERSION (mongodb_runner.py:64) will no longer resolve to newer releases. The generated dependency entry at mongodb_runner.py:148 ("mongodb-runner": _MR_VERSION) needs to become "@mongodb-js/mongodb-runner": _MR_VERSION. The exposed binary name stays mongodb-runner, so the {{.bin/mongodb-runner

      Unknown macro: {ext}

      }} lookup on line 141 continues to work unchanged.

      How likely is it that this problem or use case will occur?

      Certain — this is a planned upstream rename, not a hypothetical.

      If the problem does occur, what are the consequences and how severe are they?

      Minor if caught before the next release: a one-line dependency name change. If missed, future mongodb-runner version bumps in this repo would fail to install once the old package name is no longer published.

      Is this issue urgent?

      Not urgent today. Needs to land before this repo picks up a mongodb-runner release published under the new name.

      Is this ticket required by a downstream team?

      No — internal maintenance of this repo's dependency.

      Is this ticket only for tests?

      No functional test impact expected; this is a dependency name update with no behavior change.

      Acceptance Criteria

      • mongodb_runner.py:148 installs @mongodb-js/mongodb-runner instead of mongodb-runner.
      • The generated package.json's dependencies entry uses the new package name while continuing to resolve the mongodb-runner binary from node_modules/.bin.
      • Confirm no other package.json in this repo lists mongodb-runner as a dependency (none found as of this ticket).

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

              Created:
              Updated: