Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4069

PyMongo Evergreen and Task Running Refactor

    • Type: Icon: Epic Epic
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Python Drivers
    • 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?
    • To Do
    • Evergreen scripts hygiene
    • 6
    • 2
    • 6
    • 100
    • Hide

      Engineer(s): Steve, Jib, Noah

      • Completed over last 2 weeks
        • Completed migration to subprocess over shell in evergreen
        • Migrated to ensuring we always use Rust and Hatch on Evergreen builds
      • Focus over next two weeks
        • On hold til Jan, will define scope more clearly
        • Currently not an active priority, is QOL picked up in Greenerbuild
      Show
      Engineer(s): Steve, Jib, Noah Completed over last 2 weeks Completed migration to subprocess over shell in evergreen Migrated to ensuring we always use Rust and Hatch on Evergreen builds Focus over next two weeks On hold til Jan, will define scope more clearly Currently not an active priority, is QOL picked up in Greenerbuild

      Context

      The EVG docs https://docs.devprod.prod.corp.mongodb.com/evergreen/Project-Configuration/Best-Practices#subprocessexec give several reasons why it should be preferred to call out to scripts instead of putting the steps in the config file.

      We should additionally structure the scripts so they can be called locally and on spawn hosts. See https://docs.google.com/document/d/1d20ZRYsDn6-8IvPUMXcDLbp1fXk_ktW11fpxzN4SIvA/edit?tab=t.0 for discussion.

      Definition of done

      Scripts are restructured and can be run locally and on a spawn host.

      Pitfalls

      The EVG directory could get a bit cluttered, we might want to introduce sub folders.

            Assignee:
            noah.stapp@mongodb.com Noah Stapp
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: