Documentation ¶
Overview ¶
Package testfailuredetection analyses recent test failures with the changepoint analysis from LUCI analysis, and select test failures to bisect.
Index ¶
- func First(ctx context.Context, bundles []*model.TestFailureBundle) *model.TestFailureBundle
- func RegisterTaskClass(srv *server.Server, luciAnalysisProjectFunc func(luciProject string) string) error
- func Run(ctx context.Context, client analysisClient, task *tpb.TestFailureDetectionTask) error
- func Schedule(ctx context.Context, task *tpb.TestFailureDetectionTask) error
- func Sort(bundles []*model.TestFailureBundle)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func First ¶
func First(ctx context.Context, bundles []*model.TestFailureBundle) *model.TestFailureBundle
First sorts the input slice and returns the first element in the sorted slice.
func RegisterTaskClass ¶
func RegisterTaskClass(srv *server.Server, luciAnalysisProjectFunc func(luciProject string) string) error
RegisterTaskClass registers the task class for tq dispatcher.
func Run ¶
func Run(ctx context.Context, client analysisClient, task *tpb.TestFailureDetectionTask) error
Run finds and group test failures to send to bisector.
func Schedule ¶
func Schedule(ctx context.Context, task *tpb.TestFailureDetectionTask) error
Schedule enqueues a task to find test failures to bisect.
func Sort ¶
func Sort(bundles []*model.TestFailureBundle)
Sort sorts slice of testFailureBundles by their redundancy score and regression end position.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.