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

Enforce dependencies for generated tasks

    • Fully Compatible
    • v5.0
    • DAG 2021-08-23
    • 3

      With the latest version of generating tasks, there are some dependencies that need to be enforced or else the tasks could randomly fail. There is a "gen_task_template" yaml anchor that will configure the dependencies correctly, but it could be easy to miss that if someone is adding a new task. It would be nice to have a way to enforce that these dependencies exist.

      We should see if we could add lint rules to the evergreen config linter for this.


      As a database contributor,
      I want to generate tasks that miss adding dependencies to fail,
      So that inconsistent failures do not get introduced.


      AC:

      • Any task that include "generate resmoke tasks" but does not include the required dependencies causes a failure in a required patch build.

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

              Created:
              Updated:
              Resolved: