sippy

package
v0.0.0-...-ef67063 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSippyJobRunsForJobURL

func BuildSippyJobRunsForJobURL(release, jobName string, timestamp time.Time) string

func BuildSippyJobsForFeatureGateURL

func BuildSippyJobsForFeatureGateURL(featureGate, release, topology, cloud, architecture, networkStack, os string) string

func BuildSippyTestAnalysisURL

func BuildSippyTestAnalysisURL(release, testName, topology, cloud, architecture, networkStack, os string) string

Types

type SippyJob

type SippyJob struct {
	Name           string   `json:"name"`
	Variants       []string `json:"variants"`
	CurrentRuns    int      `json:"current_runs"`
	CurrentPasses  int      `json:"current_passes"`
	PreviousRuns   int      `json:"previous_runs"`
	PreviousPasses int      `json:"previous_passes"`
}

type SippyJobRun

type SippyJobRun struct {
	Variants        []string `json:"variants"`
	Failed          bool     `json:"failed"`
	FailedTestNames []string `json:"failed_test_names"`
	KnownFailure    bool     `json:"known_failure"`
	OverallResult   string   `json:"overall_result"`
	TestGridURL     string   `json:"test_grid_url"`
}

type SippyJobRunsResult

type SippyJobRunsResult struct {
	Rows []SippyJobRun `json:"rows"`
}

type SippyQueryItem

type SippyQueryItem struct {
	ColumnField   string `json:"columnField"`
	Not           bool   `json:"not"`
	OperatorValue string `json:"operatorValue"`
	Value         string `json:"value"`
}

type SippyQueryStruct

type SippyQueryStruct struct {
	Items        []SippyQueryItem `json:"items"`
	LinkOperator string           `json:"linkOperator"`
	TierName     string           `json:"-"` // not serialized, used to track which tier this query is for
}

func QueriesFor

func QueriesFor(cloud, architecture, topology, networkStack, os, jobTiers, testPattern string) []*SippyQueryStruct

type SippyRegression

type SippyRegression struct {
	Release  string   `json:"release,omitempty"`
	TestName string   `json:"test_name,omitempty"`
	Variants []string `json:"variants,omitempty"`
}

type SippyTestInfo

type SippyTestInfo struct {
	Id                        int         `json:"id"`
	Name                      string      `json:"name"`
	SuiteName                 string      `json:"suite_name"`
	Variants                  interface{} `json:"variants"`
	JiraComponent             string      `json:"jira_component"`
	JiraComponentId           int         `json:"jira_component_id"`
	CurrentSuccesses          int         `json:"current_successes"`
	CurrentFailures           int         `json:"current_failures"`
	CurrentFlakes             int         `json:"current_flakes"`
	CurrentPassPercentage     float64     `json:"current_pass_percentage"`
	CurrentFailurePercentage  float64     `json:"current_failure_percentage"`
	CurrentFlakePercentage    float64     `json:"current_flake_percentage"`
	CurrentWorkingPercentage  float64     `json:"current_working_percentage"`
	CurrentRuns               int         `json:"current_runs"`
	PreviousSuccesses         int         `json:"previous_successes"`
	PreviousFailures          int         `json:"previous_failures"`
	PreviousFlakes            int         `json:"previous_flakes"`
	PreviousPassPercentage    float64     `json:"previous_pass_percentage"`
	PreviousFailurePercentage float64     `json:"previous_failure_percentage"`
	PreviousFlakePercentage   float64     `json:"previous_flake_percentage"`
	PreviousWorkingPercentage float64     `json:"previous_working_percentage"`
	PreviousRuns              int         `json:"previous_runs"`
	NetFailureImprovement     float64     `json:"net_failure_improvement"`
	NetFlakeImprovement       float64     `json:"net_flake_improvement"`
	NetWorkingImprovement     float64     `json:"net_working_improvement"`
	NetImprovement            float64     `json:"net_improvement"`
	Watchlist                 bool        `json:"watchlist"`
	Tags                      interface{} `json:"tags"`
	OpenBugs                  int         `json:"open_bugs"`
}

type SippyTriageItem

type SippyTriageItem struct {
	Regressions []SippyRegression `json:"regressions,omitempty"`
}

Jump to

Keyboard shortcuts

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