Open Bug 1626320 Opened 4 years ago Updated 2 years ago

Implement `./mach test auto`

Categories

(Testing :: General, enhancement, P3)

Version 3
enhancement

Tracking

(Not tracked)

People

(Reporter: ahal, Unassigned)

References

Details

Nika had the great idea of using bugbug's ML test selection algorithm to choose which tests to run locally.

Since we've set querying this algorithm up as a REST API, it should be fairly simple to create a new endpoint that can process a local patch set.

For example, we could create a ./mach test auto command that POSTs the squashed diff (or whatever the algorithm needs), then dispatches the results to ./mach test <paths> (which already does the work of figuring out which test suites to invoke).

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.