[SERVER-45832] Generate selected tasks in a patch using task mappings Created: 28/Jan/20  Updated: 29/Oct/23  Resolved: 13/Feb/20

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.3.4

Type: New Feature Priority: Major - P3
Reporter: Lydia Stepanek (Inactive) Assignee: Lydia Stepanek (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: DAG 2020-02-10, DAG 2020-02-24
Participants:
Story Points: 2

 Description   

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)


 Comments   
Comment by Githook User [ 13/Feb/20 ]

Author:

{'username': 'lydiastepanek', 'name': 'Lydia Stepanek', 'email': 'lydia.stepanek@mongodb.com'}

Message: SERVER-45832 Generate selected tasks in a patch using task mappings
Branch: master
https://github.com/mongodb/mongo/commit/81d78ae4ff9ea93a5b6ec6b3134557310d89d64d

Comment by Lydia Stepanek (Inactive) [ 12/Feb/20 ]

^ I accidentally pushed this branch, then deleted it. Please ignore.

Comment by Githook User [ 12/Feb/20 ]

Author:

{'username': 'lydiastepanek', 'name': 'Lydia Stepanek', 'email': 'lydia.stepanek@mongodb.com'}

Message: SERVER-45832 Generate selected tasks in a patch using task mappings
Branch: ls-server-45832-v5-debug
https://github.com/mongodb/mongo/commit/a39a754bb5eded4298f0c4c4e390496bc2190d86

Comment by Lydia Stepanek (Inactive) [ 07/Feb/20 ]

https://mongodbcr.appspot.com/555990002/

Generated at Thu Feb 08 05:09:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.