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

Generate all tasks for a build variant in a single task

    • Fully Compatible
    • v5.0
    • DAG 2021-06-28, DAG 2021-07-12
    • 151
    • 3

      Currently, when generating task, we have each task generate its own sub-tasks. This model ends up with a lot of generating tasks and those end up getting serialized when being run in evergreen, which can lead to significant slow downs. If we instead generated all the needed tasks in a single task, we could avoid those slow downs. We should still support generating single tasks, in case an engineer does not want to run an entire build variant in their patch, but we could use an evergreen parameter to make that opt-in.


      As a database contributor,
      I want all tasks in a build variant to be generated at once,
      So that my patch does not have to wait for serialized generators to run.


      AC:

      • Only a single generator is used to created all the generated tasks in a build variant.

            Assignee:
            david.bradford@mongodb.com David Bradford (Inactive)
            Reporter:
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: