culpritverification

package
v0.0.0-...-9eda336 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package culpritverification performs culprit verification for test failures.

Package culpritverification verifies if a suspect is a culprit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTaskClass

func RegisterTaskClass()

RegisterTaskClass registers the task class for tq dispatcher

func ShouldRunCulpritVerification

func ShouldRunCulpritVerification(c context.Context, cfa *model.CompileFailureAnalysis) (bool, error)

func VerifySuspect

func VerifySuspect(c context.Context, suspect *model.Suspect, failedBuildID int64, analysisID int64) error

VerifySuspect verifies if a suspect is indeed the culprit. analysisID is CompileFailureAnalysis ID. It is meant to be propagated all the way to the recipe, so we can identify the analysis in buildbucket.

func VerifySuspectCommit

func VerifySuspectCommit(c context.Context, project string, suspect *model.Suspect, failedBuildID int64, props map[string]any, priority int32) (*buildbucketpb.Build, *buildbucketpb.Build, error)

VerifyCommit checks if a commit is the culprit of a build failure. Returns 2 builds: - The 1st build is the rerun build for the commit - The 2nd build is the rerun build for the parent commit

Types

This section is empty.

Directories

Path Synopsis
Package task handle task scheduling for culprit verification.
Package task handle task scheduling for culprit verification.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL