Whitelist generation without broken dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Editor |
Triaged
|
High
|
Unassigned |
Bug Description
When generating a whitelist, checkbox-editor makes sure that some conditions are met to avoid breaking dependencies:
- When a test case is selected the test suite that contains it is selected as well.
- When a test case is selected all the test cases in the `depends` field are also selected.
- When a test case is deselected, the test suite that contains the test case is deselected if no other jobs are selected.
- When a test case is deselected, any reverse dependencies (test cases depending on the test case being deselected) are deselected as well.
However, there are a couple of things regarding ordering that could be improved to get whitelists that don't need to be reordered when checkbox is executed:
- Resource jobs should always be at the top of the whitelist
- Dependencies that are found in different test suites aren't automatically selected and that can be used to generate whitelists with wrong ordering.
For example, when clicking on `keys/sleep` test, `suspend/
Related branches
Changed in checkbox-editor: | |
assignee: | nobody → Javier Collado (javier.collado) |
importance: | Undecided → High |
status: | New → Triaged |
status: | Triaged → In Progress |
Changed in checkbox-editor: | |
status: | In Progress → Triaged |
assignee: | Javier Collado (javier.collado) → nobody |