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

Generate selected tasks in a patch using task mappings

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.4
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • DAG 2020-02-10, DAG 2020-02-24
    • 2

      As a mongoDB engineer,
      I should be able to run the selected_tests_gen task,
      and know that it will run all tasks for a given set of related task mappings returned by selected-tests service,
      So that I know all tasks that are affected by my code changes will be run

      ------------------------------

      AC:

      • When I run the selected_tests_gen task in my patch build, it runs all tasks related to my file changes (using the task mappings model)
      • When I run buildscripts/selected_tests.py locally, it logs which tasks and steps are executed so that other engineers can debug any issues encountered.
      • When an execution task(s) and its parent display task are returned by the task mappings endpoint for a given source file, the selected_tests_gen task should know to run only the _gen task associated with that parent display task, not the execution task(s)

            Assignee:
            lydia.stepanek@mongodb.com Lydia Stepanek (Inactive)
            Reporter:
            lydia.stepanek@mongodb.com Lydia Stepanek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: