verdictingester

package
v0.0.0-...-1c50ca4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Overview

Package verdictingester defines the top-level task queue which ingests test verdicts from ResultDB and pushes it into LUCI Analysis's analysis and BigQuery export pipelines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTaskHandler

func RegisterTaskHandler(srv *server.Server) error

RegisterTaskHandler registers the handler for result ingestion tasks.

func Schedule

func Schedule(ctx context.Context, task *taskspb.IngestTestVerdicts)

Schedule enqueues a task to ingest test verdicts from a build.

Types

type IngestionContext

type IngestionContext struct {
	Project string
	// IngestedInvocationID is the ID of the (root) ResultDB invocation
	// being ingested, excluding "invocations/".
	IngestedInvocationID string
	SubRealm             string
	PartitionTime        time.Time
	BuildStatus          pb.BuildStatus

	// The unsubmitted changelists tested (if any), from buildbucket.
	// Limited to at most 10 changelists.
	// Deprecated; use ResultDB sources information instead.
	Changelists []testresults.Changelist
}

IngestionContext captures context for test results ingested for a build.

type Options

type Options struct {
}

Options configures test result ingestion.

Jump to

Keyboard shortcuts

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