diff --git a/Makefile b/Makefile index d2f28d9..4d5079e 100644 --- a/Makefile +++ b/Makefile @@ -15,15 +15,27 @@ lint: bazel run @cc_mvdan_gofumpt//:gofumpt -- -w -extra $(CURDIR) bazel run @org_golang_x_lint//golint -- -set_exit_status $(CURDIR)/... bazel test //... + cd frontend && npx graphql-codegen --config ./src/graphql/codegen.ts + git restore pkg/proto/configuration/bb_portal/BUILD.bazel .PHONY: lint-fix lint-fix: golangci-lint --timeout 10m run --fix ./... +.PHONY: npxgen +npxgen: + cd frontend && npx graphql-codegen --config ./src/graphql/codegen.ts + .PHONY: test test: go test ./... +.PHONY: update-tests +update-tests: + go test ./pkg/processing/ -snapshot-for-api-tests + go test ./internal/graphql/ -update-golden + go test ./pkg/summary/ -update-golden + .PHONY: generate-bazel generate-bazel: go generate ./third_party/bazel/... diff --git a/ent/gen/ent/gql_collection.go b/ent/gen/ent/gql_collection.go index df1c3a0..a8c8fda 100644 --- a/ent/gen/ent/gql_collection.go +++ b/ent/gen/ent/gql_collection.go @@ -2935,6 +2935,46 @@ func (sc *SourceControlQuery) collectField(ctx context.Context, oneNode bool, op selectedFields = append(selectedFields, sourcecontrol.FieldRunID) fieldSeen[sourcecontrol.FieldRunID] = struct{}{} } + case "workflow": + if _, ok := fieldSeen[sourcecontrol.FieldWorkflow]; !ok { + selectedFields = append(selectedFields, sourcecontrol.FieldWorkflow) + fieldSeen[sourcecontrol.FieldWorkflow] = struct{}{} + } + case "action": + if _, ok := fieldSeen[sourcecontrol.FieldAction]; !ok { + selectedFields = append(selectedFields, sourcecontrol.FieldAction) + fieldSeen[sourcecontrol.FieldAction] = struct{}{} + } + case "workspace": + if _, ok := fieldSeen[sourcecontrol.FieldWorkspace]; !ok { + selectedFields = append(selectedFields, sourcecontrol.FieldWorkspace) + fieldSeen[sourcecontrol.FieldWorkspace] = struct{}{} + } + case "eventName": + if _, ok := fieldSeen[sourcecontrol.FieldEventName]; !ok { + selectedFields = append(selectedFields, sourcecontrol.FieldEventName) + fieldSeen[sourcecontrol.FieldEventName] = struct{}{} + } + case "job": + if _, ok := fieldSeen[sourcecontrol.FieldJob]; !ok { + selectedFields = append(selectedFields, sourcecontrol.FieldJob) + fieldSeen[sourcecontrol.FieldJob] = struct{}{} + } + case "runnerName": + if _, ok := fieldSeen[sourcecontrol.FieldRunnerName]; !ok { + selectedFields = append(selectedFields, sourcecontrol.FieldRunnerName) + fieldSeen[sourcecontrol.FieldRunnerName] = struct{}{} + } + case "runnerArch": + if _, ok := fieldSeen[sourcecontrol.FieldRunnerArch]; !ok { + selectedFields = append(selectedFields, sourcecontrol.FieldRunnerArch) + fieldSeen[sourcecontrol.FieldRunnerArch] = struct{}{} + } + case "runnerOs": + if _, ok := fieldSeen[sourcecontrol.FieldRunnerOs]; !ok { + selectedFields = append(selectedFields, sourcecontrol.FieldRunnerOs) + fieldSeen[sourcecontrol.FieldRunnerOs] = struct{}{} + } case "id": case "__typename": default: diff --git a/ent/gen/ent/gql_where_input.go b/ent/gen/ent/gql_where_input.go index 242236a..0e2cb5a 100644 --- a/ent/gen/ent/gql_where_input.go +++ b/ent/gen/ent/gql_where_input.go @@ -9328,6 +9328,142 @@ type SourceControlWhereInput struct { RunIDEqualFold *string `json:"runIDEqualFold,omitempty"` RunIDContainsFold *string `json:"runIDContainsFold,omitempty"` + // "workflow" field predicates. + Workflow *string `json:"workflow,omitempty"` + WorkflowNEQ *string `json:"workflowNEQ,omitempty"` + WorkflowIn []string `json:"workflowIn,omitempty"` + WorkflowNotIn []string `json:"workflowNotIn,omitempty"` + WorkflowGT *string `json:"workflowGT,omitempty"` + WorkflowGTE *string `json:"workflowGTE,omitempty"` + WorkflowLT *string `json:"workflowLT,omitempty"` + WorkflowLTE *string `json:"workflowLTE,omitempty"` + WorkflowContains *string `json:"workflowContains,omitempty"` + WorkflowHasPrefix *string `json:"workflowHasPrefix,omitempty"` + WorkflowHasSuffix *string `json:"workflowHasSuffix,omitempty"` + WorkflowIsNil bool `json:"workflowIsNil,omitempty"` + WorkflowNotNil bool `json:"workflowNotNil,omitempty"` + WorkflowEqualFold *string `json:"workflowEqualFold,omitempty"` + WorkflowContainsFold *string `json:"workflowContainsFold,omitempty"` + + // "action" field predicates. + Action *string `json:"action,omitempty"` + ActionNEQ *string `json:"actionNEQ,omitempty"` + ActionIn []string `json:"actionIn,omitempty"` + ActionNotIn []string `json:"actionNotIn,omitempty"` + ActionGT *string `json:"actionGT,omitempty"` + ActionGTE *string `json:"actionGTE,omitempty"` + ActionLT *string `json:"actionLT,omitempty"` + ActionLTE *string `json:"actionLTE,omitempty"` + ActionContains *string `json:"actionContains,omitempty"` + ActionHasPrefix *string `json:"actionHasPrefix,omitempty"` + ActionHasSuffix *string `json:"actionHasSuffix,omitempty"` + ActionIsNil bool `json:"actionIsNil,omitempty"` + ActionNotNil bool `json:"actionNotNil,omitempty"` + ActionEqualFold *string `json:"actionEqualFold,omitempty"` + ActionContainsFold *string `json:"actionContainsFold,omitempty"` + + // "workspace" field predicates. + Workspace *string `json:"workspace,omitempty"` + WorkspaceNEQ *string `json:"workspaceNEQ,omitempty"` + WorkspaceIn []string `json:"workspaceIn,omitempty"` + WorkspaceNotIn []string `json:"workspaceNotIn,omitempty"` + WorkspaceGT *string `json:"workspaceGT,omitempty"` + WorkspaceGTE *string `json:"workspaceGTE,omitempty"` + WorkspaceLT *string `json:"workspaceLT,omitempty"` + WorkspaceLTE *string `json:"workspaceLTE,omitempty"` + WorkspaceContains *string `json:"workspaceContains,omitempty"` + WorkspaceHasPrefix *string `json:"workspaceHasPrefix,omitempty"` + WorkspaceHasSuffix *string `json:"workspaceHasSuffix,omitempty"` + WorkspaceIsNil bool `json:"workspaceIsNil,omitempty"` + WorkspaceNotNil bool `json:"workspaceNotNil,omitempty"` + WorkspaceEqualFold *string `json:"workspaceEqualFold,omitempty"` + WorkspaceContainsFold *string `json:"workspaceContainsFold,omitempty"` + + // "event_name" field predicates. + EventName *string `json:"eventName,omitempty"` + EventNameNEQ *string `json:"eventNameNEQ,omitempty"` + EventNameIn []string `json:"eventNameIn,omitempty"` + EventNameNotIn []string `json:"eventNameNotIn,omitempty"` + EventNameGT *string `json:"eventNameGT,omitempty"` + EventNameGTE *string `json:"eventNameGTE,omitempty"` + EventNameLT *string `json:"eventNameLT,omitempty"` + EventNameLTE *string `json:"eventNameLTE,omitempty"` + EventNameContains *string `json:"eventNameContains,omitempty"` + EventNameHasPrefix *string `json:"eventNameHasPrefix,omitempty"` + EventNameHasSuffix *string `json:"eventNameHasSuffix,omitempty"` + EventNameIsNil bool `json:"eventNameIsNil,omitempty"` + EventNameNotNil bool `json:"eventNameNotNil,omitempty"` + EventNameEqualFold *string `json:"eventNameEqualFold,omitempty"` + EventNameContainsFold *string `json:"eventNameContainsFold,omitempty"` + + // "job" field predicates. + Job *string `json:"job,omitempty"` + JobNEQ *string `json:"jobNEQ,omitempty"` + JobIn []string `json:"jobIn,omitempty"` + JobNotIn []string `json:"jobNotIn,omitempty"` + JobGT *string `json:"jobGT,omitempty"` + JobGTE *string `json:"jobGTE,omitempty"` + JobLT *string `json:"jobLT,omitempty"` + JobLTE *string `json:"jobLTE,omitempty"` + JobContains *string `json:"jobContains,omitempty"` + JobHasPrefix *string `json:"jobHasPrefix,omitempty"` + JobHasSuffix *string `json:"jobHasSuffix,omitempty"` + JobIsNil bool `json:"jobIsNil,omitempty"` + JobNotNil bool `json:"jobNotNil,omitempty"` + JobEqualFold *string `json:"jobEqualFold,omitempty"` + JobContainsFold *string `json:"jobContainsFold,omitempty"` + + // "runner_name" field predicates. + RunnerName *string `json:"runnerName,omitempty"` + RunnerNameNEQ *string `json:"runnerNameNEQ,omitempty"` + RunnerNameIn []string `json:"runnerNameIn,omitempty"` + RunnerNameNotIn []string `json:"runnerNameNotIn,omitempty"` + RunnerNameGT *string `json:"runnerNameGT,omitempty"` + RunnerNameGTE *string `json:"runnerNameGTE,omitempty"` + RunnerNameLT *string `json:"runnerNameLT,omitempty"` + RunnerNameLTE *string `json:"runnerNameLTE,omitempty"` + RunnerNameContains *string `json:"runnerNameContains,omitempty"` + RunnerNameHasPrefix *string `json:"runnerNameHasPrefix,omitempty"` + RunnerNameHasSuffix *string `json:"runnerNameHasSuffix,omitempty"` + RunnerNameIsNil bool `json:"runnerNameIsNil,omitempty"` + RunnerNameNotNil bool `json:"runnerNameNotNil,omitempty"` + RunnerNameEqualFold *string `json:"runnerNameEqualFold,omitempty"` + RunnerNameContainsFold *string `json:"runnerNameContainsFold,omitempty"` + + // "runner_arch" field predicates. + RunnerArch *string `json:"runnerArch,omitempty"` + RunnerArchNEQ *string `json:"runnerArchNEQ,omitempty"` + RunnerArchIn []string `json:"runnerArchIn,omitempty"` + RunnerArchNotIn []string `json:"runnerArchNotIn,omitempty"` + RunnerArchGT *string `json:"runnerArchGT,omitempty"` + RunnerArchGTE *string `json:"runnerArchGTE,omitempty"` + RunnerArchLT *string `json:"runnerArchLT,omitempty"` + RunnerArchLTE *string `json:"runnerArchLTE,omitempty"` + RunnerArchContains *string `json:"runnerArchContains,omitempty"` + RunnerArchHasPrefix *string `json:"runnerArchHasPrefix,omitempty"` + RunnerArchHasSuffix *string `json:"runnerArchHasSuffix,omitempty"` + RunnerArchIsNil bool `json:"runnerArchIsNil,omitempty"` + RunnerArchNotNil bool `json:"runnerArchNotNil,omitempty"` + RunnerArchEqualFold *string `json:"runnerArchEqualFold,omitempty"` + RunnerArchContainsFold *string `json:"runnerArchContainsFold,omitempty"` + + // "runner_os" field predicates. + RunnerOs *string `json:"runnerOs,omitempty"` + RunnerOsNEQ *string `json:"runnerOsNEQ,omitempty"` + RunnerOsIn []string `json:"runnerOsIn,omitempty"` + RunnerOsNotIn []string `json:"runnerOsNotIn,omitempty"` + RunnerOsGT *string `json:"runnerOsGT,omitempty"` + RunnerOsGTE *string `json:"runnerOsGTE,omitempty"` + RunnerOsLT *string `json:"runnerOsLT,omitempty"` + RunnerOsLTE *string `json:"runnerOsLTE,omitempty"` + RunnerOsContains *string `json:"runnerOsContains,omitempty"` + RunnerOsHasPrefix *string `json:"runnerOsHasPrefix,omitempty"` + RunnerOsHasSuffix *string `json:"runnerOsHasSuffix,omitempty"` + RunnerOsIsNil bool `json:"runnerOsIsNil,omitempty"` + RunnerOsNotNil bool `json:"runnerOsNotNil,omitempty"` + RunnerOsEqualFold *string `json:"runnerOsEqualFold,omitempty"` + RunnerOsContainsFold *string `json:"runnerOsContainsFold,omitempty"` + // "bazel_invocation" edge predicates. HasBazelInvocation *bool `json:"hasBazelInvocation,omitempty"` HasBazelInvocationWith []*BazelInvocationWhereInput `json:"hasBazelInvocationWith,omitempty"` @@ -9698,6 +9834,366 @@ func (i *SourceControlWhereInput) P() (predicate.SourceControl, error) { if i.RunIDContainsFold != nil { predicates = append(predicates, sourcecontrol.RunIDContainsFold(*i.RunIDContainsFold)) } + if i.Workflow != nil { + predicates = append(predicates, sourcecontrol.WorkflowEQ(*i.Workflow)) + } + if i.WorkflowNEQ != nil { + predicates = append(predicates, sourcecontrol.WorkflowNEQ(*i.WorkflowNEQ)) + } + if len(i.WorkflowIn) > 0 { + predicates = append(predicates, sourcecontrol.WorkflowIn(i.WorkflowIn...)) + } + if len(i.WorkflowNotIn) > 0 { + predicates = append(predicates, sourcecontrol.WorkflowNotIn(i.WorkflowNotIn...)) + } + if i.WorkflowGT != nil { + predicates = append(predicates, sourcecontrol.WorkflowGT(*i.WorkflowGT)) + } + if i.WorkflowGTE != nil { + predicates = append(predicates, sourcecontrol.WorkflowGTE(*i.WorkflowGTE)) + } + if i.WorkflowLT != nil { + predicates = append(predicates, sourcecontrol.WorkflowLT(*i.WorkflowLT)) + } + if i.WorkflowLTE != nil { + predicates = append(predicates, sourcecontrol.WorkflowLTE(*i.WorkflowLTE)) + } + if i.WorkflowContains != nil { + predicates = append(predicates, sourcecontrol.WorkflowContains(*i.WorkflowContains)) + } + if i.WorkflowHasPrefix != nil { + predicates = append(predicates, sourcecontrol.WorkflowHasPrefix(*i.WorkflowHasPrefix)) + } + if i.WorkflowHasSuffix != nil { + predicates = append(predicates, sourcecontrol.WorkflowHasSuffix(*i.WorkflowHasSuffix)) + } + if i.WorkflowIsNil { + predicates = append(predicates, sourcecontrol.WorkflowIsNil()) + } + if i.WorkflowNotNil { + predicates = append(predicates, sourcecontrol.WorkflowNotNil()) + } + if i.WorkflowEqualFold != nil { + predicates = append(predicates, sourcecontrol.WorkflowEqualFold(*i.WorkflowEqualFold)) + } + if i.WorkflowContainsFold != nil { + predicates = append(predicates, sourcecontrol.WorkflowContainsFold(*i.WorkflowContainsFold)) + } + if i.Action != nil { + predicates = append(predicates, sourcecontrol.ActionEQ(*i.Action)) + } + if i.ActionNEQ != nil { + predicates = append(predicates, sourcecontrol.ActionNEQ(*i.ActionNEQ)) + } + if len(i.ActionIn) > 0 { + predicates = append(predicates, sourcecontrol.ActionIn(i.ActionIn...)) + } + if len(i.ActionNotIn) > 0 { + predicates = append(predicates, sourcecontrol.ActionNotIn(i.ActionNotIn...)) + } + if i.ActionGT != nil { + predicates = append(predicates, sourcecontrol.ActionGT(*i.ActionGT)) + } + if i.ActionGTE != nil { + predicates = append(predicates, sourcecontrol.ActionGTE(*i.ActionGTE)) + } + if i.ActionLT != nil { + predicates = append(predicates, sourcecontrol.ActionLT(*i.ActionLT)) + } + if i.ActionLTE != nil { + predicates = append(predicates, sourcecontrol.ActionLTE(*i.ActionLTE)) + } + if i.ActionContains != nil { + predicates = append(predicates, sourcecontrol.ActionContains(*i.ActionContains)) + } + if i.ActionHasPrefix != nil { + predicates = append(predicates, sourcecontrol.ActionHasPrefix(*i.ActionHasPrefix)) + } + if i.ActionHasSuffix != nil { + predicates = append(predicates, sourcecontrol.ActionHasSuffix(*i.ActionHasSuffix)) + } + if i.ActionIsNil { + predicates = append(predicates, sourcecontrol.ActionIsNil()) + } + if i.ActionNotNil { + predicates = append(predicates, sourcecontrol.ActionNotNil()) + } + if i.ActionEqualFold != nil { + predicates = append(predicates, sourcecontrol.ActionEqualFold(*i.ActionEqualFold)) + } + if i.ActionContainsFold != nil { + predicates = append(predicates, sourcecontrol.ActionContainsFold(*i.ActionContainsFold)) + } + if i.Workspace != nil { + predicates = append(predicates, sourcecontrol.WorkspaceEQ(*i.Workspace)) + } + if i.WorkspaceNEQ != nil { + predicates = append(predicates, sourcecontrol.WorkspaceNEQ(*i.WorkspaceNEQ)) + } + if len(i.WorkspaceIn) > 0 { + predicates = append(predicates, sourcecontrol.WorkspaceIn(i.WorkspaceIn...)) + } + if len(i.WorkspaceNotIn) > 0 { + predicates = append(predicates, sourcecontrol.WorkspaceNotIn(i.WorkspaceNotIn...)) + } + if i.WorkspaceGT != nil { + predicates = append(predicates, sourcecontrol.WorkspaceGT(*i.WorkspaceGT)) + } + if i.WorkspaceGTE != nil { + predicates = append(predicates, sourcecontrol.WorkspaceGTE(*i.WorkspaceGTE)) + } + if i.WorkspaceLT != nil { + predicates = append(predicates, sourcecontrol.WorkspaceLT(*i.WorkspaceLT)) + } + if i.WorkspaceLTE != nil { + predicates = append(predicates, sourcecontrol.WorkspaceLTE(*i.WorkspaceLTE)) + } + if i.WorkspaceContains != nil { + predicates = append(predicates, sourcecontrol.WorkspaceContains(*i.WorkspaceContains)) + } + if i.WorkspaceHasPrefix != nil { + predicates = append(predicates, sourcecontrol.WorkspaceHasPrefix(*i.WorkspaceHasPrefix)) + } + if i.WorkspaceHasSuffix != nil { + predicates = append(predicates, sourcecontrol.WorkspaceHasSuffix(*i.WorkspaceHasSuffix)) + } + if i.WorkspaceIsNil { + predicates = append(predicates, sourcecontrol.WorkspaceIsNil()) + } + if i.WorkspaceNotNil { + predicates = append(predicates, sourcecontrol.WorkspaceNotNil()) + } + if i.WorkspaceEqualFold != nil { + predicates = append(predicates, sourcecontrol.WorkspaceEqualFold(*i.WorkspaceEqualFold)) + } + if i.WorkspaceContainsFold != nil { + predicates = append(predicates, sourcecontrol.WorkspaceContainsFold(*i.WorkspaceContainsFold)) + } + if i.EventName != nil { + predicates = append(predicates, sourcecontrol.EventNameEQ(*i.EventName)) + } + if i.EventNameNEQ != nil { + predicates = append(predicates, sourcecontrol.EventNameNEQ(*i.EventNameNEQ)) + } + if len(i.EventNameIn) > 0 { + predicates = append(predicates, sourcecontrol.EventNameIn(i.EventNameIn...)) + } + if len(i.EventNameNotIn) > 0 { + predicates = append(predicates, sourcecontrol.EventNameNotIn(i.EventNameNotIn...)) + } + if i.EventNameGT != nil { + predicates = append(predicates, sourcecontrol.EventNameGT(*i.EventNameGT)) + } + if i.EventNameGTE != nil { + predicates = append(predicates, sourcecontrol.EventNameGTE(*i.EventNameGTE)) + } + if i.EventNameLT != nil { + predicates = append(predicates, sourcecontrol.EventNameLT(*i.EventNameLT)) + } + if i.EventNameLTE != nil { + predicates = append(predicates, sourcecontrol.EventNameLTE(*i.EventNameLTE)) + } + if i.EventNameContains != nil { + predicates = append(predicates, sourcecontrol.EventNameContains(*i.EventNameContains)) + } + if i.EventNameHasPrefix != nil { + predicates = append(predicates, sourcecontrol.EventNameHasPrefix(*i.EventNameHasPrefix)) + } + if i.EventNameHasSuffix != nil { + predicates = append(predicates, sourcecontrol.EventNameHasSuffix(*i.EventNameHasSuffix)) + } + if i.EventNameIsNil { + predicates = append(predicates, sourcecontrol.EventNameIsNil()) + } + if i.EventNameNotNil { + predicates = append(predicates, sourcecontrol.EventNameNotNil()) + } + if i.EventNameEqualFold != nil { + predicates = append(predicates, sourcecontrol.EventNameEqualFold(*i.EventNameEqualFold)) + } + if i.EventNameContainsFold != nil { + predicates = append(predicates, sourcecontrol.EventNameContainsFold(*i.EventNameContainsFold)) + } + if i.Job != nil { + predicates = append(predicates, sourcecontrol.JobEQ(*i.Job)) + } + if i.JobNEQ != nil { + predicates = append(predicates, sourcecontrol.JobNEQ(*i.JobNEQ)) + } + if len(i.JobIn) > 0 { + predicates = append(predicates, sourcecontrol.JobIn(i.JobIn...)) + } + if len(i.JobNotIn) > 0 { + predicates = append(predicates, sourcecontrol.JobNotIn(i.JobNotIn...)) + } + if i.JobGT != nil { + predicates = append(predicates, sourcecontrol.JobGT(*i.JobGT)) + } + if i.JobGTE != nil { + predicates = append(predicates, sourcecontrol.JobGTE(*i.JobGTE)) + } + if i.JobLT != nil { + predicates = append(predicates, sourcecontrol.JobLT(*i.JobLT)) + } + if i.JobLTE != nil { + predicates = append(predicates, sourcecontrol.JobLTE(*i.JobLTE)) + } + if i.JobContains != nil { + predicates = append(predicates, sourcecontrol.JobContains(*i.JobContains)) + } + if i.JobHasPrefix != nil { + predicates = append(predicates, sourcecontrol.JobHasPrefix(*i.JobHasPrefix)) + } + if i.JobHasSuffix != nil { + predicates = append(predicates, sourcecontrol.JobHasSuffix(*i.JobHasSuffix)) + } + if i.JobIsNil { + predicates = append(predicates, sourcecontrol.JobIsNil()) + } + if i.JobNotNil { + predicates = append(predicates, sourcecontrol.JobNotNil()) + } + if i.JobEqualFold != nil { + predicates = append(predicates, sourcecontrol.JobEqualFold(*i.JobEqualFold)) + } + if i.JobContainsFold != nil { + predicates = append(predicates, sourcecontrol.JobContainsFold(*i.JobContainsFold)) + } + if i.RunnerName != nil { + predicates = append(predicates, sourcecontrol.RunnerNameEQ(*i.RunnerName)) + } + if i.RunnerNameNEQ != nil { + predicates = append(predicates, sourcecontrol.RunnerNameNEQ(*i.RunnerNameNEQ)) + } + if len(i.RunnerNameIn) > 0 { + predicates = append(predicates, sourcecontrol.RunnerNameIn(i.RunnerNameIn...)) + } + if len(i.RunnerNameNotIn) > 0 { + predicates = append(predicates, sourcecontrol.RunnerNameNotIn(i.RunnerNameNotIn...)) + } + if i.RunnerNameGT != nil { + predicates = append(predicates, sourcecontrol.RunnerNameGT(*i.RunnerNameGT)) + } + if i.RunnerNameGTE != nil { + predicates = append(predicates, sourcecontrol.RunnerNameGTE(*i.RunnerNameGTE)) + } + if i.RunnerNameLT != nil { + predicates = append(predicates, sourcecontrol.RunnerNameLT(*i.RunnerNameLT)) + } + if i.RunnerNameLTE != nil { + predicates = append(predicates, sourcecontrol.RunnerNameLTE(*i.RunnerNameLTE)) + } + if i.RunnerNameContains != nil { + predicates = append(predicates, sourcecontrol.RunnerNameContains(*i.RunnerNameContains)) + } + if i.RunnerNameHasPrefix != nil { + predicates = append(predicates, sourcecontrol.RunnerNameHasPrefix(*i.RunnerNameHasPrefix)) + } + if i.RunnerNameHasSuffix != nil { + predicates = append(predicates, sourcecontrol.RunnerNameHasSuffix(*i.RunnerNameHasSuffix)) + } + if i.RunnerNameIsNil { + predicates = append(predicates, sourcecontrol.RunnerNameIsNil()) + } + if i.RunnerNameNotNil { + predicates = append(predicates, sourcecontrol.RunnerNameNotNil()) + } + if i.RunnerNameEqualFold != nil { + predicates = append(predicates, sourcecontrol.RunnerNameEqualFold(*i.RunnerNameEqualFold)) + } + if i.RunnerNameContainsFold != nil { + predicates = append(predicates, sourcecontrol.RunnerNameContainsFold(*i.RunnerNameContainsFold)) + } + if i.RunnerArch != nil { + predicates = append(predicates, sourcecontrol.RunnerArchEQ(*i.RunnerArch)) + } + if i.RunnerArchNEQ != nil { + predicates = append(predicates, sourcecontrol.RunnerArchNEQ(*i.RunnerArchNEQ)) + } + if len(i.RunnerArchIn) > 0 { + predicates = append(predicates, sourcecontrol.RunnerArchIn(i.RunnerArchIn...)) + } + if len(i.RunnerArchNotIn) > 0 { + predicates = append(predicates, sourcecontrol.RunnerArchNotIn(i.RunnerArchNotIn...)) + } + if i.RunnerArchGT != nil { + predicates = append(predicates, sourcecontrol.RunnerArchGT(*i.RunnerArchGT)) + } + if i.RunnerArchGTE != nil { + predicates = append(predicates, sourcecontrol.RunnerArchGTE(*i.RunnerArchGTE)) + } + if i.RunnerArchLT != nil { + predicates = append(predicates, sourcecontrol.RunnerArchLT(*i.RunnerArchLT)) + } + if i.RunnerArchLTE != nil { + predicates = append(predicates, sourcecontrol.RunnerArchLTE(*i.RunnerArchLTE)) + } + if i.RunnerArchContains != nil { + predicates = append(predicates, sourcecontrol.RunnerArchContains(*i.RunnerArchContains)) + } + if i.RunnerArchHasPrefix != nil { + predicates = append(predicates, sourcecontrol.RunnerArchHasPrefix(*i.RunnerArchHasPrefix)) + } + if i.RunnerArchHasSuffix != nil { + predicates = append(predicates, sourcecontrol.RunnerArchHasSuffix(*i.RunnerArchHasSuffix)) + } + if i.RunnerArchIsNil { + predicates = append(predicates, sourcecontrol.RunnerArchIsNil()) + } + if i.RunnerArchNotNil { + predicates = append(predicates, sourcecontrol.RunnerArchNotNil()) + } + if i.RunnerArchEqualFold != nil { + predicates = append(predicates, sourcecontrol.RunnerArchEqualFold(*i.RunnerArchEqualFold)) + } + if i.RunnerArchContainsFold != nil { + predicates = append(predicates, sourcecontrol.RunnerArchContainsFold(*i.RunnerArchContainsFold)) + } + if i.RunnerOs != nil { + predicates = append(predicates, sourcecontrol.RunnerOsEQ(*i.RunnerOs)) + } + if i.RunnerOsNEQ != nil { + predicates = append(predicates, sourcecontrol.RunnerOsNEQ(*i.RunnerOsNEQ)) + } + if len(i.RunnerOsIn) > 0 { + predicates = append(predicates, sourcecontrol.RunnerOsIn(i.RunnerOsIn...)) + } + if len(i.RunnerOsNotIn) > 0 { + predicates = append(predicates, sourcecontrol.RunnerOsNotIn(i.RunnerOsNotIn...)) + } + if i.RunnerOsGT != nil { + predicates = append(predicates, sourcecontrol.RunnerOsGT(*i.RunnerOsGT)) + } + if i.RunnerOsGTE != nil { + predicates = append(predicates, sourcecontrol.RunnerOsGTE(*i.RunnerOsGTE)) + } + if i.RunnerOsLT != nil { + predicates = append(predicates, sourcecontrol.RunnerOsLT(*i.RunnerOsLT)) + } + if i.RunnerOsLTE != nil { + predicates = append(predicates, sourcecontrol.RunnerOsLTE(*i.RunnerOsLTE)) + } + if i.RunnerOsContains != nil { + predicates = append(predicates, sourcecontrol.RunnerOsContains(*i.RunnerOsContains)) + } + if i.RunnerOsHasPrefix != nil { + predicates = append(predicates, sourcecontrol.RunnerOsHasPrefix(*i.RunnerOsHasPrefix)) + } + if i.RunnerOsHasSuffix != nil { + predicates = append(predicates, sourcecontrol.RunnerOsHasSuffix(*i.RunnerOsHasSuffix)) + } + if i.RunnerOsIsNil { + predicates = append(predicates, sourcecontrol.RunnerOsIsNil()) + } + if i.RunnerOsNotNil { + predicates = append(predicates, sourcecontrol.RunnerOsNotNil()) + } + if i.RunnerOsEqualFold != nil { + predicates = append(predicates, sourcecontrol.RunnerOsEqualFold(*i.RunnerOsEqualFold)) + } + if i.RunnerOsContainsFold != nil { + predicates = append(predicates, sourcecontrol.RunnerOsContainsFold(*i.RunnerOsContainsFold)) + } if i.HasBazelInvocation != nil { p := sourcecontrol.HasBazelInvocation() diff --git a/ent/gen/ent/migrate/schema.go b/ent/gen/ent/migrate/schema.go index 7c6ca9a..e5f51ed 100644 --- a/ent/gen/ent/migrate/schema.go +++ b/ent/gen/ent/migrate/schema.go @@ -685,6 +685,14 @@ var ( {Name: "actor", Type: field.TypeString, Nullable: true}, {Name: "refs", Type: field.TypeString, Nullable: true}, {Name: "run_id", Type: field.TypeString, Nullable: true}, + {Name: "workflow", Type: field.TypeString, Nullable: true}, + {Name: "action", Type: field.TypeString, Nullable: true}, + {Name: "workspace", Type: field.TypeString, Nullable: true}, + {Name: "event_name", Type: field.TypeString, Nullable: true}, + {Name: "job", Type: field.TypeString, Nullable: true}, + {Name: "runner_name", Type: field.TypeString, Nullable: true}, + {Name: "runner_arch", Type: field.TypeString, Nullable: true}, + {Name: "runner_os", Type: field.TypeString, Nullable: true}, {Name: "bazel_invocation_source_control", Type: field.TypeInt, Unique: true, Nullable: true}, } // SourceControlsTable holds the schema information for the "source_controls" table. @@ -695,7 +703,7 @@ var ( ForeignKeys: []*schema.ForeignKey{ { Symbol: "source_controls_bazel_invocations_source_control", - Columns: []*schema.Column{SourceControlsColumns[7]}, + Columns: []*schema.Column{SourceControlsColumns[15]}, RefColumns: []*schema.Column{BazelInvocationsColumns[0]}, OnDelete: schema.SetNull, }, diff --git a/ent/gen/ent/mutation.go b/ent/gen/ent/mutation.go index 94fa360..4987b8f 100644 --- a/ent/gen/ent/mutation.go +++ b/ent/gen/ent/mutation.go @@ -20385,6 +20385,14 @@ type SourceControlMutation struct { actor *string refs *string run_id *string + workflow *string + action *string + workspace *string + event_name *string + job *string + runner_name *string + runner_arch *string + runner_os *string clearedFields map[string]struct{} bazel_invocation *int clearedbazel_invocation bool @@ -20785,6 +20793,398 @@ func (m *SourceControlMutation) ResetRunID() { delete(m.clearedFields, sourcecontrol.FieldRunID) } +// SetWorkflow sets the "workflow" field. +func (m *SourceControlMutation) SetWorkflow(s string) { + m.workflow = &s +} + +// Workflow returns the value of the "workflow" field in the mutation. +func (m *SourceControlMutation) Workflow() (r string, exists bool) { + v := m.workflow + if v == nil { + return + } + return *v, true +} + +// OldWorkflow returns the old "workflow" field's value of the SourceControl entity. +// If the SourceControl object wasn't provided to the builder, the object is fetched from the database. +// An error is returned if the mutation operation is not UpdateOne, or the database query fails. +func (m *SourceControlMutation) OldWorkflow(ctx context.Context) (v string, err error) { + if !m.op.Is(OpUpdateOne) { + return v, errors.New("OldWorkflow is only allowed on UpdateOne operations") + } + if m.id == nil || m.oldValue == nil { + return v, errors.New("OldWorkflow requires an ID field in the mutation") + } + oldValue, err := m.oldValue(ctx) + if err != nil { + return v, fmt.Errorf("querying old value for OldWorkflow: %w", err) + } + return oldValue.Workflow, nil +} + +// ClearWorkflow clears the value of the "workflow" field. +func (m *SourceControlMutation) ClearWorkflow() { + m.workflow = nil + m.clearedFields[sourcecontrol.FieldWorkflow] = struct{}{} +} + +// WorkflowCleared returns if the "workflow" field was cleared in this mutation. +func (m *SourceControlMutation) WorkflowCleared() bool { + _, ok := m.clearedFields[sourcecontrol.FieldWorkflow] + return ok +} + +// ResetWorkflow resets all changes to the "workflow" field. +func (m *SourceControlMutation) ResetWorkflow() { + m.workflow = nil + delete(m.clearedFields, sourcecontrol.FieldWorkflow) +} + +// SetAction sets the "action" field. +func (m *SourceControlMutation) SetAction(s string) { + m.action = &s +} + +// Action returns the value of the "action" field in the mutation. +func (m *SourceControlMutation) Action() (r string, exists bool) { + v := m.action + if v == nil { + return + } + return *v, true +} + +// OldAction returns the old "action" field's value of the SourceControl entity. +// If the SourceControl object wasn't provided to the builder, the object is fetched from the database. +// An error is returned if the mutation operation is not UpdateOne, or the database query fails. +func (m *SourceControlMutation) OldAction(ctx context.Context) (v string, err error) { + if !m.op.Is(OpUpdateOne) { + return v, errors.New("OldAction is only allowed on UpdateOne operations") + } + if m.id == nil || m.oldValue == nil { + return v, errors.New("OldAction requires an ID field in the mutation") + } + oldValue, err := m.oldValue(ctx) + if err != nil { + return v, fmt.Errorf("querying old value for OldAction: %w", err) + } + return oldValue.Action, nil +} + +// ClearAction clears the value of the "action" field. +func (m *SourceControlMutation) ClearAction() { + m.action = nil + m.clearedFields[sourcecontrol.FieldAction] = struct{}{} +} + +// ActionCleared returns if the "action" field was cleared in this mutation. +func (m *SourceControlMutation) ActionCleared() bool { + _, ok := m.clearedFields[sourcecontrol.FieldAction] + return ok +} + +// ResetAction resets all changes to the "action" field. +func (m *SourceControlMutation) ResetAction() { + m.action = nil + delete(m.clearedFields, sourcecontrol.FieldAction) +} + +// SetWorkspace sets the "workspace" field. +func (m *SourceControlMutation) SetWorkspace(s string) { + m.workspace = &s +} + +// Workspace returns the value of the "workspace" field in the mutation. +func (m *SourceControlMutation) Workspace() (r string, exists bool) { + v := m.workspace + if v == nil { + return + } + return *v, true +} + +// OldWorkspace returns the old "workspace" field's value of the SourceControl entity. +// If the SourceControl object wasn't provided to the builder, the object is fetched from the database. +// An error is returned if the mutation operation is not UpdateOne, or the database query fails. +func (m *SourceControlMutation) OldWorkspace(ctx context.Context) (v string, err error) { + if !m.op.Is(OpUpdateOne) { + return v, errors.New("OldWorkspace is only allowed on UpdateOne operations") + } + if m.id == nil || m.oldValue == nil { + return v, errors.New("OldWorkspace requires an ID field in the mutation") + } + oldValue, err := m.oldValue(ctx) + if err != nil { + return v, fmt.Errorf("querying old value for OldWorkspace: %w", err) + } + return oldValue.Workspace, nil +} + +// ClearWorkspace clears the value of the "workspace" field. +func (m *SourceControlMutation) ClearWorkspace() { + m.workspace = nil + m.clearedFields[sourcecontrol.FieldWorkspace] = struct{}{} +} + +// WorkspaceCleared returns if the "workspace" field was cleared in this mutation. +func (m *SourceControlMutation) WorkspaceCleared() bool { + _, ok := m.clearedFields[sourcecontrol.FieldWorkspace] + return ok +} + +// ResetWorkspace resets all changes to the "workspace" field. +func (m *SourceControlMutation) ResetWorkspace() { + m.workspace = nil + delete(m.clearedFields, sourcecontrol.FieldWorkspace) +} + +// SetEventName sets the "event_name" field. +func (m *SourceControlMutation) SetEventName(s string) { + m.event_name = &s +} + +// EventName returns the value of the "event_name" field in the mutation. +func (m *SourceControlMutation) EventName() (r string, exists bool) { + v := m.event_name + if v == nil { + return + } + return *v, true +} + +// OldEventName returns the old "event_name" field's value of the SourceControl entity. +// If the SourceControl object wasn't provided to the builder, the object is fetched from the database. +// An error is returned if the mutation operation is not UpdateOne, or the database query fails. +func (m *SourceControlMutation) OldEventName(ctx context.Context) (v string, err error) { + if !m.op.Is(OpUpdateOne) { + return v, errors.New("OldEventName is only allowed on UpdateOne operations") + } + if m.id == nil || m.oldValue == nil { + return v, errors.New("OldEventName requires an ID field in the mutation") + } + oldValue, err := m.oldValue(ctx) + if err != nil { + return v, fmt.Errorf("querying old value for OldEventName: %w", err) + } + return oldValue.EventName, nil +} + +// ClearEventName clears the value of the "event_name" field. +func (m *SourceControlMutation) ClearEventName() { + m.event_name = nil + m.clearedFields[sourcecontrol.FieldEventName] = struct{}{} +} + +// EventNameCleared returns if the "event_name" field was cleared in this mutation. +func (m *SourceControlMutation) EventNameCleared() bool { + _, ok := m.clearedFields[sourcecontrol.FieldEventName] + return ok +} + +// ResetEventName resets all changes to the "event_name" field. +func (m *SourceControlMutation) ResetEventName() { + m.event_name = nil + delete(m.clearedFields, sourcecontrol.FieldEventName) +} + +// SetJob sets the "job" field. +func (m *SourceControlMutation) SetJob(s string) { + m.job = &s +} + +// Job returns the value of the "job" field in the mutation. +func (m *SourceControlMutation) Job() (r string, exists bool) { + v := m.job + if v == nil { + return + } + return *v, true +} + +// OldJob returns the old "job" field's value of the SourceControl entity. +// If the SourceControl object wasn't provided to the builder, the object is fetched from the database. +// An error is returned if the mutation operation is not UpdateOne, or the database query fails. +func (m *SourceControlMutation) OldJob(ctx context.Context) (v string, err error) { + if !m.op.Is(OpUpdateOne) { + return v, errors.New("OldJob is only allowed on UpdateOne operations") + } + if m.id == nil || m.oldValue == nil { + return v, errors.New("OldJob requires an ID field in the mutation") + } + oldValue, err := m.oldValue(ctx) + if err != nil { + return v, fmt.Errorf("querying old value for OldJob: %w", err) + } + return oldValue.Job, nil +} + +// ClearJob clears the value of the "job" field. +func (m *SourceControlMutation) ClearJob() { + m.job = nil + m.clearedFields[sourcecontrol.FieldJob] = struct{}{} +} + +// JobCleared returns if the "job" field was cleared in this mutation. +func (m *SourceControlMutation) JobCleared() bool { + _, ok := m.clearedFields[sourcecontrol.FieldJob] + return ok +} + +// ResetJob resets all changes to the "job" field. +func (m *SourceControlMutation) ResetJob() { + m.job = nil + delete(m.clearedFields, sourcecontrol.FieldJob) +} + +// SetRunnerName sets the "runner_name" field. +func (m *SourceControlMutation) SetRunnerName(s string) { + m.runner_name = &s +} + +// RunnerName returns the value of the "runner_name" field in the mutation. +func (m *SourceControlMutation) RunnerName() (r string, exists bool) { + v := m.runner_name + if v == nil { + return + } + return *v, true +} + +// OldRunnerName returns the old "runner_name" field's value of the SourceControl entity. +// If the SourceControl object wasn't provided to the builder, the object is fetched from the database. +// An error is returned if the mutation operation is not UpdateOne, or the database query fails. +func (m *SourceControlMutation) OldRunnerName(ctx context.Context) (v string, err error) { + if !m.op.Is(OpUpdateOne) { + return v, errors.New("OldRunnerName is only allowed on UpdateOne operations") + } + if m.id == nil || m.oldValue == nil { + return v, errors.New("OldRunnerName requires an ID field in the mutation") + } + oldValue, err := m.oldValue(ctx) + if err != nil { + return v, fmt.Errorf("querying old value for OldRunnerName: %w", err) + } + return oldValue.RunnerName, nil +} + +// ClearRunnerName clears the value of the "runner_name" field. +func (m *SourceControlMutation) ClearRunnerName() { + m.runner_name = nil + m.clearedFields[sourcecontrol.FieldRunnerName] = struct{}{} +} + +// RunnerNameCleared returns if the "runner_name" field was cleared in this mutation. +func (m *SourceControlMutation) RunnerNameCleared() bool { + _, ok := m.clearedFields[sourcecontrol.FieldRunnerName] + return ok +} + +// ResetRunnerName resets all changes to the "runner_name" field. +func (m *SourceControlMutation) ResetRunnerName() { + m.runner_name = nil + delete(m.clearedFields, sourcecontrol.FieldRunnerName) +} + +// SetRunnerArch sets the "runner_arch" field. +func (m *SourceControlMutation) SetRunnerArch(s string) { + m.runner_arch = &s +} + +// RunnerArch returns the value of the "runner_arch" field in the mutation. +func (m *SourceControlMutation) RunnerArch() (r string, exists bool) { + v := m.runner_arch + if v == nil { + return + } + return *v, true +} + +// OldRunnerArch returns the old "runner_arch" field's value of the SourceControl entity. +// If the SourceControl object wasn't provided to the builder, the object is fetched from the database. +// An error is returned if the mutation operation is not UpdateOne, or the database query fails. +func (m *SourceControlMutation) OldRunnerArch(ctx context.Context) (v string, err error) { + if !m.op.Is(OpUpdateOne) { + return v, errors.New("OldRunnerArch is only allowed on UpdateOne operations") + } + if m.id == nil || m.oldValue == nil { + return v, errors.New("OldRunnerArch requires an ID field in the mutation") + } + oldValue, err := m.oldValue(ctx) + if err != nil { + return v, fmt.Errorf("querying old value for OldRunnerArch: %w", err) + } + return oldValue.RunnerArch, nil +} + +// ClearRunnerArch clears the value of the "runner_arch" field. +func (m *SourceControlMutation) ClearRunnerArch() { + m.runner_arch = nil + m.clearedFields[sourcecontrol.FieldRunnerArch] = struct{}{} +} + +// RunnerArchCleared returns if the "runner_arch" field was cleared in this mutation. +func (m *SourceControlMutation) RunnerArchCleared() bool { + _, ok := m.clearedFields[sourcecontrol.FieldRunnerArch] + return ok +} + +// ResetRunnerArch resets all changes to the "runner_arch" field. +func (m *SourceControlMutation) ResetRunnerArch() { + m.runner_arch = nil + delete(m.clearedFields, sourcecontrol.FieldRunnerArch) +} + +// SetRunnerOs sets the "runner_os" field. +func (m *SourceControlMutation) SetRunnerOs(s string) { + m.runner_os = &s +} + +// RunnerOs returns the value of the "runner_os" field in the mutation. +func (m *SourceControlMutation) RunnerOs() (r string, exists bool) { + v := m.runner_os + if v == nil { + return + } + return *v, true +} + +// OldRunnerOs returns the old "runner_os" field's value of the SourceControl entity. +// If the SourceControl object wasn't provided to the builder, the object is fetched from the database. +// An error is returned if the mutation operation is not UpdateOne, or the database query fails. +func (m *SourceControlMutation) OldRunnerOs(ctx context.Context) (v string, err error) { + if !m.op.Is(OpUpdateOne) { + return v, errors.New("OldRunnerOs is only allowed on UpdateOne operations") + } + if m.id == nil || m.oldValue == nil { + return v, errors.New("OldRunnerOs requires an ID field in the mutation") + } + oldValue, err := m.oldValue(ctx) + if err != nil { + return v, fmt.Errorf("querying old value for OldRunnerOs: %w", err) + } + return oldValue.RunnerOs, nil +} + +// ClearRunnerOs clears the value of the "runner_os" field. +func (m *SourceControlMutation) ClearRunnerOs() { + m.runner_os = nil + m.clearedFields[sourcecontrol.FieldRunnerOs] = struct{}{} +} + +// RunnerOsCleared returns if the "runner_os" field was cleared in this mutation. +func (m *SourceControlMutation) RunnerOsCleared() bool { + _, ok := m.clearedFields[sourcecontrol.FieldRunnerOs] + return ok +} + +// ResetRunnerOs resets all changes to the "runner_os" field. +func (m *SourceControlMutation) ResetRunnerOs() { + m.runner_os = nil + delete(m.clearedFields, sourcecontrol.FieldRunnerOs) +} + // SetBazelInvocationID sets the "bazel_invocation" edge to the BazelInvocation entity by id. func (m *SourceControlMutation) SetBazelInvocationID(id int) { m.bazel_invocation = &id @@ -20858,7 +21258,7 @@ func (m *SourceControlMutation) Type() string { // order to get all numeric fields that were incremented/decremented, call // AddedFields(). func (m *SourceControlMutation) Fields() []string { - fields := make([]string, 0, 6) + fields := make([]string, 0, 14) if m.repo_url != nil { fields = append(fields, sourcecontrol.FieldRepoURL) } @@ -20877,6 +21277,30 @@ func (m *SourceControlMutation) Fields() []string { if m.run_id != nil { fields = append(fields, sourcecontrol.FieldRunID) } + if m.workflow != nil { + fields = append(fields, sourcecontrol.FieldWorkflow) + } + if m.action != nil { + fields = append(fields, sourcecontrol.FieldAction) + } + if m.workspace != nil { + fields = append(fields, sourcecontrol.FieldWorkspace) + } + if m.event_name != nil { + fields = append(fields, sourcecontrol.FieldEventName) + } + if m.job != nil { + fields = append(fields, sourcecontrol.FieldJob) + } + if m.runner_name != nil { + fields = append(fields, sourcecontrol.FieldRunnerName) + } + if m.runner_arch != nil { + fields = append(fields, sourcecontrol.FieldRunnerArch) + } + if m.runner_os != nil { + fields = append(fields, sourcecontrol.FieldRunnerOs) + } return fields } @@ -20897,6 +21321,22 @@ func (m *SourceControlMutation) Field(name string) (ent.Value, bool) { return m.Refs() case sourcecontrol.FieldRunID: return m.RunID() + case sourcecontrol.FieldWorkflow: + return m.Workflow() + case sourcecontrol.FieldAction: + return m.Action() + case sourcecontrol.FieldWorkspace: + return m.Workspace() + case sourcecontrol.FieldEventName: + return m.EventName() + case sourcecontrol.FieldJob: + return m.Job() + case sourcecontrol.FieldRunnerName: + return m.RunnerName() + case sourcecontrol.FieldRunnerArch: + return m.RunnerArch() + case sourcecontrol.FieldRunnerOs: + return m.RunnerOs() } return nil, false } @@ -20918,6 +21358,22 @@ func (m *SourceControlMutation) OldField(ctx context.Context, name string) (ent. return m.OldRefs(ctx) case sourcecontrol.FieldRunID: return m.OldRunID(ctx) + case sourcecontrol.FieldWorkflow: + return m.OldWorkflow(ctx) + case sourcecontrol.FieldAction: + return m.OldAction(ctx) + case sourcecontrol.FieldWorkspace: + return m.OldWorkspace(ctx) + case sourcecontrol.FieldEventName: + return m.OldEventName(ctx) + case sourcecontrol.FieldJob: + return m.OldJob(ctx) + case sourcecontrol.FieldRunnerName: + return m.OldRunnerName(ctx) + case sourcecontrol.FieldRunnerArch: + return m.OldRunnerArch(ctx) + case sourcecontrol.FieldRunnerOs: + return m.OldRunnerOs(ctx) } return nil, fmt.Errorf("unknown SourceControl field %s", name) } @@ -20969,6 +21425,62 @@ func (m *SourceControlMutation) SetField(name string, value ent.Value) error { } m.SetRunID(v) return nil + case sourcecontrol.FieldWorkflow: + v, ok := value.(string) + if !ok { + return fmt.Errorf("unexpected type %T for field %s", value, name) + } + m.SetWorkflow(v) + return nil + case sourcecontrol.FieldAction: + v, ok := value.(string) + if !ok { + return fmt.Errorf("unexpected type %T for field %s", value, name) + } + m.SetAction(v) + return nil + case sourcecontrol.FieldWorkspace: + v, ok := value.(string) + if !ok { + return fmt.Errorf("unexpected type %T for field %s", value, name) + } + m.SetWorkspace(v) + return nil + case sourcecontrol.FieldEventName: + v, ok := value.(string) + if !ok { + return fmt.Errorf("unexpected type %T for field %s", value, name) + } + m.SetEventName(v) + return nil + case sourcecontrol.FieldJob: + v, ok := value.(string) + if !ok { + return fmt.Errorf("unexpected type %T for field %s", value, name) + } + m.SetJob(v) + return nil + case sourcecontrol.FieldRunnerName: + v, ok := value.(string) + if !ok { + return fmt.Errorf("unexpected type %T for field %s", value, name) + } + m.SetRunnerName(v) + return nil + case sourcecontrol.FieldRunnerArch: + v, ok := value.(string) + if !ok { + return fmt.Errorf("unexpected type %T for field %s", value, name) + } + m.SetRunnerArch(v) + return nil + case sourcecontrol.FieldRunnerOs: + v, ok := value.(string) + if !ok { + return fmt.Errorf("unexpected type %T for field %s", value, name) + } + m.SetRunnerOs(v) + return nil } return fmt.Errorf("unknown SourceControl field %s", name) } @@ -21017,6 +21529,30 @@ func (m *SourceControlMutation) ClearedFields() []string { if m.FieldCleared(sourcecontrol.FieldRunID) { fields = append(fields, sourcecontrol.FieldRunID) } + if m.FieldCleared(sourcecontrol.FieldWorkflow) { + fields = append(fields, sourcecontrol.FieldWorkflow) + } + if m.FieldCleared(sourcecontrol.FieldAction) { + fields = append(fields, sourcecontrol.FieldAction) + } + if m.FieldCleared(sourcecontrol.FieldWorkspace) { + fields = append(fields, sourcecontrol.FieldWorkspace) + } + if m.FieldCleared(sourcecontrol.FieldEventName) { + fields = append(fields, sourcecontrol.FieldEventName) + } + if m.FieldCleared(sourcecontrol.FieldJob) { + fields = append(fields, sourcecontrol.FieldJob) + } + if m.FieldCleared(sourcecontrol.FieldRunnerName) { + fields = append(fields, sourcecontrol.FieldRunnerName) + } + if m.FieldCleared(sourcecontrol.FieldRunnerArch) { + fields = append(fields, sourcecontrol.FieldRunnerArch) + } + if m.FieldCleared(sourcecontrol.FieldRunnerOs) { + fields = append(fields, sourcecontrol.FieldRunnerOs) + } return fields } @@ -21049,6 +21585,30 @@ func (m *SourceControlMutation) ClearField(name string) error { case sourcecontrol.FieldRunID: m.ClearRunID() return nil + case sourcecontrol.FieldWorkflow: + m.ClearWorkflow() + return nil + case sourcecontrol.FieldAction: + m.ClearAction() + return nil + case sourcecontrol.FieldWorkspace: + m.ClearWorkspace() + return nil + case sourcecontrol.FieldEventName: + m.ClearEventName() + return nil + case sourcecontrol.FieldJob: + m.ClearJob() + return nil + case sourcecontrol.FieldRunnerName: + m.ClearRunnerName() + return nil + case sourcecontrol.FieldRunnerArch: + m.ClearRunnerArch() + return nil + case sourcecontrol.FieldRunnerOs: + m.ClearRunnerOs() + return nil } return fmt.Errorf("unknown SourceControl nullable field %s", name) } @@ -21075,6 +21635,30 @@ func (m *SourceControlMutation) ResetField(name string) error { case sourcecontrol.FieldRunID: m.ResetRunID() return nil + case sourcecontrol.FieldWorkflow: + m.ResetWorkflow() + return nil + case sourcecontrol.FieldAction: + m.ResetAction() + return nil + case sourcecontrol.FieldWorkspace: + m.ResetWorkspace() + return nil + case sourcecontrol.FieldEventName: + m.ResetEventName() + return nil + case sourcecontrol.FieldJob: + m.ResetJob() + return nil + case sourcecontrol.FieldRunnerName: + m.ResetRunnerName() + return nil + case sourcecontrol.FieldRunnerArch: + m.ResetRunnerArch() + return nil + case sourcecontrol.FieldRunnerOs: + m.ResetRunnerOs() + return nil } return fmt.Errorf("unknown SourceControl field %s", name) } diff --git a/ent/gen/ent/schema-viz.html b/ent/gen/ent/schema-viz.html index 31d06e4..ab0864e 100644 --- a/ent/gen/ent/schema-viz.html +++ b/ent/gen/ent/schema-viz.html @@ -70,7 +70,7 @@ } - const entGraph = JSON.parse("{\"nodes\":[{\"id\":\"ActionCacheStatistics\",\"fields\":[{\"name\":\"size_in_bytes\",\"type\":\"uint64\"},{\"name\":\"save_time_in_ms\",\"type\":\"uint64\"},{\"name\":\"load_time_in_ms\",\"type\":\"int64\"},{\"name\":\"hits\",\"type\":\"int32\"},{\"name\":\"misses\",\"type\":\"int32\"}]},{\"id\":\"ActionData\",\"fields\":[{\"name\":\"mnemonic\",\"type\":\"string\"},{\"name\":\"actions_executed\",\"type\":\"int64\"},{\"name\":\"actions_created\",\"type\":\"int64\"},{\"name\":\"first_started_ms\",\"type\":\"int64\"},{\"name\":\"last_ended_ms\",\"type\":\"int64\"},{\"name\":\"system_time\",\"type\":\"int64\"},{\"name\":\"user_time\",\"type\":\"int64\"}]},{\"id\":\"ActionSummary\",\"fields\":[{\"name\":\"actions_created\",\"type\":\"int64\"},{\"name\":\"actions_created_not_including_aspects\",\"type\":\"int64\"},{\"name\":\"actions_executed\",\"type\":\"int64\"},{\"name\":\"remote_cache_hits\",\"type\":\"int64\"}]},{\"id\":\"ArtifactMetrics\",\"fields\":null},{\"id\":\"BazelInvocation\",\"fields\":[{\"name\":\"invocation_id\",\"type\":\"uuid.UUID\"},{\"name\":\"started_at\",\"type\":\"time.Time\"},{\"name\":\"ended_at\",\"type\":\"time.Time\"},{\"name\":\"change_number\",\"type\":\"int\"},{\"name\":\"patchset_number\",\"type\":\"int\"},{\"name\":\"summary\",\"type\":\"summary.InvocationSummary\"},{\"name\":\"bep_completed\",\"type\":\"bool\"},{\"name\":\"step_label\",\"type\":\"string\"},{\"name\":\"related_files\",\"type\":\"map[string]string\"},{\"name\":\"user_email\",\"type\":\"string\"},{\"name\":\"user_ldap\",\"type\":\"string\"},{\"name\":\"build_logs\",\"type\":\"string\"},{\"name\":\"cpu\",\"type\":\"string\"},{\"name\":\"platform_name\",\"type\":\"string\"},{\"name\":\"hostname\",\"type\":\"string\"},{\"name\":\"is_ci_worker\",\"type\":\"bool\"},{\"name\":\"configuration_mnemonic\",\"type\":\"string\"},{\"name\":\"num_fetches\",\"type\":\"int64\"},{\"name\":\"profile_name\",\"type\":\"string\"}]},{\"id\":\"BazelInvocationProblem\",\"fields\":[{\"name\":\"problem_type\",\"type\":\"string\"},{\"name\":\"label\",\"type\":\"string\"},{\"name\":\"bep_events\",\"type\":\"json.RawMessage\"}]},{\"id\":\"Blob\",\"fields\":[{\"name\":\"uri\",\"type\":\"string\"},{\"name\":\"size_bytes\",\"type\":\"int64\"},{\"name\":\"archiving_status\",\"type\":\"blob.ArchivingStatus\"},{\"name\":\"reason\",\"type\":\"string\"},{\"name\":\"archive_url\",\"type\":\"string\"}]},{\"id\":\"Build\",\"fields\":[{\"name\":\"build_url\",\"type\":\"string\"},{\"name\":\"build_uuid\",\"type\":\"uuid.UUID\"},{\"name\":\"env\",\"type\":\"map[string]string\"}]},{\"id\":\"BuildGraphMetrics\",\"fields\":[{\"name\":\"action_lookup_value_count\",\"type\":\"int32\"},{\"name\":\"action_lookup_value_count_not_including_aspects\",\"type\":\"int32\"},{\"name\":\"action_count\",\"type\":\"int32\"},{\"name\":\"action_count_not_including_aspects\",\"type\":\"int32\"},{\"name\":\"input_file_configured_target_count\",\"type\":\"int32\"},{\"name\":\"output_file_configured_target_count\",\"type\":\"int32\"},{\"name\":\"other_configured_target_count\",\"type\":\"int32\"},{\"name\":\"output_artifact_count\",\"type\":\"int32\"},{\"name\":\"post_invocation_skyframe_node_count\",\"type\":\"int32\"}]},{\"id\":\"CumulativeMetrics\",\"fields\":[{\"name\":\"num_analyses\",\"type\":\"int32\"},{\"name\":\"num_builds\",\"type\":\"int32\"}]},{\"id\":\"DynamicExecutionMetrics\",\"fields\":null},{\"id\":\"EvaluationStat\",\"fields\":[{\"name\":\"skyfunction_name\",\"type\":\"string\"},{\"name\":\"count\",\"type\":\"int64\"}]},{\"id\":\"EventFile\",\"fields\":[{\"name\":\"url\",\"type\":\"string\"},{\"name\":\"mod_time\",\"type\":\"time.Time\"},{\"name\":\"protocol\",\"type\":\"string\"},{\"name\":\"mime_type\",\"type\":\"string\"},{\"name\":\"status\",\"type\":\"string\"},{\"name\":\"reason\",\"type\":\"string\"}]},{\"id\":\"ExectionInfo\",\"fields\":[{\"name\":\"timeout_seconds\",\"type\":\"int32\"},{\"name\":\"strategy\",\"type\":\"string\"},{\"name\":\"cached_remotely\",\"type\":\"bool\"},{\"name\":\"exit_code\",\"type\":\"int32\"},{\"name\":\"hostname\",\"type\":\"string\"}]},{\"id\":\"FilesMetric\",\"fields\":[{\"name\":\"size_in_bytes\",\"type\":\"int64\"},{\"name\":\"count\",\"type\":\"int32\"}]},{\"id\":\"GarbageMetrics\",\"fields\":[{\"name\":\"type\",\"type\":\"string\"},{\"name\":\"garbage_collected\",\"type\":\"int64\"}]},{\"id\":\"MemoryMetrics\",\"fields\":[{\"name\":\"peak_post_gc_heap_size\",\"type\":\"int64\"},{\"name\":\"used_heap_size_post_build\",\"type\":\"int64\"},{\"name\":\"peak_post_gc_tenured_space_heap_size\",\"type\":\"int64\"}]},{\"id\":\"Metrics\",\"fields\":null},{\"id\":\"MissDetail\",\"fields\":[{\"name\":\"reason\",\"type\":\"missdetail.Reason\"},{\"name\":\"count\",\"type\":\"int32\"}]},{\"id\":\"NamedSetOfFiles\",\"fields\":null},{\"id\":\"NetworkMetrics\",\"fields\":null},{\"id\":\"OutputGroup\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"incomplete\",\"type\":\"bool\"}]},{\"id\":\"PackageLoadMetrics\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"load_duration\",\"type\":\"int64\"},{\"name\":\"num_targets\",\"type\":\"uint64\"},{\"name\":\"computation_steps\",\"type\":\"uint64\"},{\"name\":\"num_transitive_loads\",\"type\":\"uint64\"},{\"name\":\"package_overhead\",\"type\":\"uint64\"}]},{\"id\":\"PackageMetrics\",\"fields\":[{\"name\":\"packages_loaded\",\"type\":\"int64\"}]},{\"id\":\"RaceStatistics\",\"fields\":[{\"name\":\"mnemonic\",\"type\":\"string\"},{\"name\":\"local_runner\",\"type\":\"string\"},{\"name\":\"remote_runner\",\"type\":\"string\"},{\"name\":\"local_wins\",\"type\":\"int64\"},{\"name\":\"renote_wins\",\"type\":\"int64\"}]},{\"id\":\"ResourceUsage\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"value\",\"type\":\"string\"}]},{\"id\":\"RunnerCount\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"exec_kind\",\"type\":\"string\"},{\"name\":\"actions_executed\",\"type\":\"int64\"}]},{\"id\":\"SourceControl\",\"fields\":[{\"name\":\"repo_url\",\"type\":\"string\"},{\"name\":\"branch\",\"type\":\"string\"},{\"name\":\"commit_sha\",\"type\":\"string\"},{\"name\":\"actor\",\"type\":\"string\"},{\"name\":\"refs\",\"type\":\"string\"},{\"name\":\"run_id\",\"type\":\"string\"}]},{\"id\":\"SystemNetworkStats\",\"fields\":[{\"name\":\"bytes_sent\",\"type\":\"uint64\"},{\"name\":\"bytes_recv\",\"type\":\"uint64\"},{\"name\":\"packets_sent\",\"type\":\"uint64\"},{\"name\":\"packets_recv\",\"type\":\"uint64\"},{\"name\":\"peak_bytes_sent_per_sec\",\"type\":\"uint64\"},{\"name\":\"peak_bytes_recv_per_sec\",\"type\":\"uint64\"},{\"name\":\"peak_packets_sent_per_sec\",\"type\":\"uint64\"},{\"name\":\"peak_packets_recv_per_sec\",\"type\":\"uint64\"}]},{\"id\":\"TargetComplete\",\"fields\":[{\"name\":\"success\",\"type\":\"bool\"},{\"name\":\"tag\",\"type\":\"[]string\"},{\"name\":\"target_kind\",\"type\":\"string\"},{\"name\":\"end_time_in_ms\",\"type\":\"int64\"},{\"name\":\"test_timeout_seconds\",\"type\":\"int64\"},{\"name\":\"test_timeout\",\"type\":\"int64\"},{\"name\":\"test_size\",\"type\":\"targetcomplete.TestSize\"}]},{\"id\":\"TargetConfigured\",\"fields\":[{\"name\":\"tag\",\"type\":\"[]string\"},{\"name\":\"target_kind\",\"type\":\"string\"},{\"name\":\"start_time_in_ms\",\"type\":\"int64\"},{\"name\":\"test_size\",\"type\":\"targetconfigured.TestSize\"}]},{\"id\":\"TargetMetrics\",\"fields\":[{\"name\":\"targets_loaded\",\"type\":\"int64\"},{\"name\":\"targets_configured\",\"type\":\"int64\"},{\"name\":\"targets_configured_not_including_aspects\",\"type\":\"int64\"}]},{\"id\":\"TargetPair\",\"fields\":[{\"name\":\"label\",\"type\":\"string\"},{\"name\":\"duration_in_ms\",\"type\":\"int64\"},{\"name\":\"success\",\"type\":\"bool\"},{\"name\":\"target_kind\",\"type\":\"string\"},{\"name\":\"test_size\",\"type\":\"targetpair.TestSize\"},{\"name\":\"abort_reason\",\"type\":\"targetpair.AbortReason\"}]},{\"id\":\"TestCollection\",\"fields\":[{\"name\":\"label\",\"type\":\"string\"},{\"name\":\"overall_status\",\"type\":\"testcollection.OverallStatus\"},{\"name\":\"strategy\",\"type\":\"string\"},{\"name\":\"cached_locally\",\"type\":\"bool\"},{\"name\":\"cached_remotely\",\"type\":\"bool\"},{\"name\":\"first_seen\",\"type\":\"time.Time\"},{\"name\":\"duration_ms\",\"type\":\"int64\"}]},{\"id\":\"TestFile\",\"fields\":[{\"name\":\"digest\",\"type\":\"string\"},{\"name\":\"file\",\"type\":\"string\"},{\"name\":\"length\",\"type\":\"int64\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"prefix\",\"type\":\"[]string\"}]},{\"id\":\"TestResultBES\",\"fields\":[{\"name\":\"test_status\",\"type\":\"testresultbes.TestStatus\"},{\"name\":\"status_details\",\"type\":\"string\"},{\"name\":\"label\",\"type\":\"string\"},{\"name\":\"warning\",\"type\":\"[]string\"},{\"name\":\"cached_locally\",\"type\":\"bool\"},{\"name\":\"test_attempt_start_millis_epoch\",\"type\":\"int64\"},{\"name\":\"test_attempt_start\",\"type\":\"string\"},{\"name\":\"test_attempt_duration_millis\",\"type\":\"int64\"},{\"name\":\"test_attempt_duration\",\"type\":\"int64\"}]},{\"id\":\"TestSummary\",\"fields\":[{\"name\":\"overall_status\",\"type\":\"testsummary.OverallStatus\"},{\"name\":\"total_run_count\",\"type\":\"int32\"},{\"name\":\"run_count\",\"type\":\"int32\"},{\"name\":\"attempt_count\",\"type\":\"int32\"},{\"name\":\"shard_count\",\"type\":\"int32\"},{\"name\":\"total_num_cached\",\"type\":\"int32\"},{\"name\":\"first_start_time\",\"type\":\"int64\"},{\"name\":\"last_stop_time\",\"type\":\"int64\"},{\"name\":\"total_run_duration\",\"type\":\"int64\"},{\"name\":\"label\",\"type\":\"string\"}]},{\"id\":\"TimingBreakdown\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"time\",\"type\":\"string\"}]},{\"id\":\"TimingChild\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"time\",\"type\":\"string\"}]},{\"id\":\"TimingMetrics\",\"fields\":[{\"name\":\"cpu_time_in_ms\",\"type\":\"int64\"},{\"name\":\"wall_time_in_ms\",\"type\":\"int64\"},{\"name\":\"analysis_phase_time_in_ms\",\"type\":\"int64\"},{\"name\":\"execution_phase_time_in_ms\",\"type\":\"int64\"},{\"name\":\"actions_execution_start_in_ms\",\"type\":\"int64\"}]}],\"edges\":[{\"from\":\"ActionCacheStatistics\",\"to\":\"MissDetail\",\"label\":\"miss_details\"},{\"from\":\"ActionSummary\",\"to\":\"ActionData\",\"label\":\"action_data\"},{\"from\":\"ActionSummary\",\"to\":\"RunnerCount\",\"label\":\"runner_count\"},{\"from\":\"ActionSummary\",\"to\":\"ActionCacheStatistics\",\"label\":\"action_cache_statistics\"},{\"from\":\"ArtifactMetrics\",\"to\":\"FilesMetric\",\"label\":\"source_artifacts_read\"},{\"from\":\"ArtifactMetrics\",\"to\":\"FilesMetric\",\"label\":\"output_artifacts_seen\"},{\"from\":\"ArtifactMetrics\",\"to\":\"FilesMetric\",\"label\":\"output_artifacts_from_action_cache\"},{\"from\":\"ArtifactMetrics\",\"to\":\"FilesMetric\",\"label\":\"top_level_artifacts\"},{\"from\":\"BazelInvocation\",\"to\":\"BazelInvocationProblem\",\"label\":\"problems\"},{\"from\":\"BazelInvocation\",\"to\":\"Metrics\",\"label\":\"metrics\"},{\"from\":\"BazelInvocation\",\"to\":\"TestCollection\",\"label\":\"test_collection\"},{\"from\":\"BazelInvocation\",\"to\":\"TargetPair\",\"label\":\"targets\"},{\"from\":\"BazelInvocation\",\"to\":\"SourceControl\",\"label\":\"source_control\"},{\"from\":\"Build\",\"to\":\"BazelInvocation\",\"label\":\"invocations\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"dirtied_values\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"changed_values\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"built_values\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"cleaned_values\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"evaluated_values\"},{\"from\":\"DynamicExecutionMetrics\",\"to\":\"RaceStatistics\",\"label\":\"race_statistics\"},{\"from\":\"EventFile\",\"to\":\"BazelInvocation\",\"label\":\"bazel_invocation\"},{\"from\":\"ExectionInfo\",\"to\":\"TimingBreakdown\",\"label\":\"timing_breakdown\"},{\"from\":\"ExectionInfo\",\"to\":\"ResourceUsage\",\"label\":\"resource_usage\"},{\"from\":\"MemoryMetrics\",\"to\":\"GarbageMetrics\",\"label\":\"garbage_metrics\"},{\"from\":\"Metrics\",\"to\":\"ActionSummary\",\"label\":\"action_summary\"},{\"from\":\"Metrics\",\"to\":\"MemoryMetrics\",\"label\":\"memory_metrics\"},{\"from\":\"Metrics\",\"to\":\"TargetMetrics\",\"label\":\"target_metrics\"},{\"from\":\"Metrics\",\"to\":\"PackageMetrics\",\"label\":\"package_metrics\"},{\"from\":\"Metrics\",\"to\":\"TimingMetrics\",\"label\":\"timing_metrics\"},{\"from\":\"Metrics\",\"to\":\"CumulativeMetrics\",\"label\":\"cumulative_metrics\"},{\"from\":\"Metrics\",\"to\":\"ArtifactMetrics\",\"label\":\"artifact_metrics\"},{\"from\":\"Metrics\",\"to\":\"NetworkMetrics\",\"label\":\"network_metrics\"},{\"from\":\"Metrics\",\"to\":\"DynamicExecutionMetrics\",\"label\":\"dynamic_execution_metrics\"},{\"from\":\"Metrics\",\"to\":\"BuildGraphMetrics\",\"label\":\"build_graph_metrics\"},{\"from\":\"NamedSetOfFiles\",\"to\":\"TestFile\",\"label\":\"files\"},{\"from\":\"NamedSetOfFiles\",\"to\":\"NamedSetOfFiles\",\"label\":\"file_sets\"},{\"from\":\"NetworkMetrics\",\"to\":\"SystemNetworkStats\",\"label\":\"system_network_stats\"},{\"from\":\"OutputGroup\",\"to\":\"TestFile\",\"label\":\"inline_files\"},{\"from\":\"OutputGroup\",\"to\":\"NamedSetOfFiles\",\"label\":\"file_sets\"},{\"from\":\"PackageMetrics\",\"to\":\"PackageLoadMetrics\",\"label\":\"package_load_metrics\"},{\"from\":\"TargetComplete\",\"to\":\"TestFile\",\"label\":\"important_output\"},{\"from\":\"TargetComplete\",\"to\":\"TestFile\",\"label\":\"directory_output\"},{\"from\":\"TargetComplete\",\"to\":\"OutputGroup\",\"label\":\"output_group\"},{\"from\":\"TargetPair\",\"to\":\"TargetConfigured\",\"label\":\"configuration\"},{\"from\":\"TargetPair\",\"to\":\"TargetComplete\",\"label\":\"completion\"},{\"from\":\"TestCollection\",\"to\":\"TestSummary\",\"label\":\"test_summary\"},{\"from\":\"TestCollection\",\"to\":\"TestResultBES\",\"label\":\"test_results\"},{\"from\":\"TestResultBES\",\"to\":\"TestFile\",\"label\":\"test_action_output\"},{\"from\":\"TestResultBES\",\"to\":\"ExectionInfo\",\"label\":\"execution_info\"},{\"from\":\"TestSummary\",\"to\":\"TestFile\",\"label\":\"passed\"},{\"from\":\"TestSummary\",\"to\":\"TestFile\",\"label\":\"failed\"},{\"from\":\"TimingBreakdown\",\"to\":\"TimingChild\",\"label\":\"child\"}]}"); + const entGraph = JSON.parse("{\"nodes\":[{\"id\":\"ActionCacheStatistics\",\"fields\":[{\"name\":\"size_in_bytes\",\"type\":\"uint64\"},{\"name\":\"save_time_in_ms\",\"type\":\"uint64\"},{\"name\":\"load_time_in_ms\",\"type\":\"int64\"},{\"name\":\"hits\",\"type\":\"int32\"},{\"name\":\"misses\",\"type\":\"int32\"}]},{\"id\":\"ActionData\",\"fields\":[{\"name\":\"mnemonic\",\"type\":\"string\"},{\"name\":\"actions_executed\",\"type\":\"int64\"},{\"name\":\"actions_created\",\"type\":\"int64\"},{\"name\":\"first_started_ms\",\"type\":\"int64\"},{\"name\":\"last_ended_ms\",\"type\":\"int64\"},{\"name\":\"system_time\",\"type\":\"int64\"},{\"name\":\"user_time\",\"type\":\"int64\"}]},{\"id\":\"ActionSummary\",\"fields\":[{\"name\":\"actions_created\",\"type\":\"int64\"},{\"name\":\"actions_created_not_including_aspects\",\"type\":\"int64\"},{\"name\":\"actions_executed\",\"type\":\"int64\"},{\"name\":\"remote_cache_hits\",\"type\":\"int64\"}]},{\"id\":\"ArtifactMetrics\",\"fields\":null},{\"id\":\"BazelInvocation\",\"fields\":[{\"name\":\"invocation_id\",\"type\":\"uuid.UUID\"},{\"name\":\"started_at\",\"type\":\"time.Time\"},{\"name\":\"ended_at\",\"type\":\"time.Time\"},{\"name\":\"change_number\",\"type\":\"int\"},{\"name\":\"patchset_number\",\"type\":\"int\"},{\"name\":\"summary\",\"type\":\"summary.InvocationSummary\"},{\"name\":\"bep_completed\",\"type\":\"bool\"},{\"name\":\"step_label\",\"type\":\"string\"},{\"name\":\"related_files\",\"type\":\"map[string]string\"},{\"name\":\"user_email\",\"type\":\"string\"},{\"name\":\"user_ldap\",\"type\":\"string\"},{\"name\":\"build_logs\",\"type\":\"string\"},{\"name\":\"cpu\",\"type\":\"string\"},{\"name\":\"platform_name\",\"type\":\"string\"},{\"name\":\"hostname\",\"type\":\"string\"},{\"name\":\"is_ci_worker\",\"type\":\"bool\"},{\"name\":\"configuration_mnemonic\",\"type\":\"string\"},{\"name\":\"num_fetches\",\"type\":\"int64\"},{\"name\":\"profile_name\",\"type\":\"string\"}]},{\"id\":\"BazelInvocationProblem\",\"fields\":[{\"name\":\"problem_type\",\"type\":\"string\"},{\"name\":\"label\",\"type\":\"string\"},{\"name\":\"bep_events\",\"type\":\"json.RawMessage\"}]},{\"id\":\"Blob\",\"fields\":[{\"name\":\"uri\",\"type\":\"string\"},{\"name\":\"size_bytes\",\"type\":\"int64\"},{\"name\":\"archiving_status\",\"type\":\"blob.ArchivingStatus\"},{\"name\":\"reason\",\"type\":\"string\"},{\"name\":\"archive_url\",\"type\":\"string\"}]},{\"id\":\"Build\",\"fields\":[{\"name\":\"build_url\",\"type\":\"string\"},{\"name\":\"build_uuid\",\"type\":\"uuid.UUID\"},{\"name\":\"env\",\"type\":\"map[string]string\"}]},{\"id\":\"BuildGraphMetrics\",\"fields\":[{\"name\":\"action_lookup_value_count\",\"type\":\"int32\"},{\"name\":\"action_lookup_value_count_not_including_aspects\",\"type\":\"int32\"},{\"name\":\"action_count\",\"type\":\"int32\"},{\"name\":\"action_count_not_including_aspects\",\"type\":\"int32\"},{\"name\":\"input_file_configured_target_count\",\"type\":\"int32\"},{\"name\":\"output_file_configured_target_count\",\"type\":\"int32\"},{\"name\":\"other_configured_target_count\",\"type\":\"int32\"},{\"name\":\"output_artifact_count\",\"type\":\"int32\"},{\"name\":\"post_invocation_skyframe_node_count\",\"type\":\"int32\"}]},{\"id\":\"CumulativeMetrics\",\"fields\":[{\"name\":\"num_analyses\",\"type\":\"int32\"},{\"name\":\"num_builds\",\"type\":\"int32\"}]},{\"id\":\"DynamicExecutionMetrics\",\"fields\":null},{\"id\":\"EvaluationStat\",\"fields\":[{\"name\":\"skyfunction_name\",\"type\":\"string\"},{\"name\":\"count\",\"type\":\"int64\"}]},{\"id\":\"EventFile\",\"fields\":[{\"name\":\"url\",\"type\":\"string\"},{\"name\":\"mod_time\",\"type\":\"time.Time\"},{\"name\":\"protocol\",\"type\":\"string\"},{\"name\":\"mime_type\",\"type\":\"string\"},{\"name\":\"status\",\"type\":\"string\"},{\"name\":\"reason\",\"type\":\"string\"}]},{\"id\":\"ExectionInfo\",\"fields\":[{\"name\":\"timeout_seconds\",\"type\":\"int32\"},{\"name\":\"strategy\",\"type\":\"string\"},{\"name\":\"cached_remotely\",\"type\":\"bool\"},{\"name\":\"exit_code\",\"type\":\"int32\"},{\"name\":\"hostname\",\"type\":\"string\"}]},{\"id\":\"FilesMetric\",\"fields\":[{\"name\":\"size_in_bytes\",\"type\":\"int64\"},{\"name\":\"count\",\"type\":\"int32\"}]},{\"id\":\"GarbageMetrics\",\"fields\":[{\"name\":\"type\",\"type\":\"string\"},{\"name\":\"garbage_collected\",\"type\":\"int64\"}]},{\"id\":\"MemoryMetrics\",\"fields\":[{\"name\":\"peak_post_gc_heap_size\",\"type\":\"int64\"},{\"name\":\"used_heap_size_post_build\",\"type\":\"int64\"},{\"name\":\"peak_post_gc_tenured_space_heap_size\",\"type\":\"int64\"}]},{\"id\":\"Metrics\",\"fields\":null},{\"id\":\"MissDetail\",\"fields\":[{\"name\":\"reason\",\"type\":\"missdetail.Reason\"},{\"name\":\"count\",\"type\":\"int32\"}]},{\"id\":\"NamedSetOfFiles\",\"fields\":null},{\"id\":\"NetworkMetrics\",\"fields\":null},{\"id\":\"OutputGroup\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"incomplete\",\"type\":\"bool\"}]},{\"id\":\"PackageLoadMetrics\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"load_duration\",\"type\":\"int64\"},{\"name\":\"num_targets\",\"type\":\"uint64\"},{\"name\":\"computation_steps\",\"type\":\"uint64\"},{\"name\":\"num_transitive_loads\",\"type\":\"uint64\"},{\"name\":\"package_overhead\",\"type\":\"uint64\"}]},{\"id\":\"PackageMetrics\",\"fields\":[{\"name\":\"packages_loaded\",\"type\":\"int64\"}]},{\"id\":\"RaceStatistics\",\"fields\":[{\"name\":\"mnemonic\",\"type\":\"string\"},{\"name\":\"local_runner\",\"type\":\"string\"},{\"name\":\"remote_runner\",\"type\":\"string\"},{\"name\":\"local_wins\",\"type\":\"int64\"},{\"name\":\"renote_wins\",\"type\":\"int64\"}]},{\"id\":\"ResourceUsage\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"value\",\"type\":\"string\"}]},{\"id\":\"RunnerCount\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"exec_kind\",\"type\":\"string\"},{\"name\":\"actions_executed\",\"type\":\"int64\"}]},{\"id\":\"SourceControl\",\"fields\":[{\"name\":\"repo_url\",\"type\":\"string\"},{\"name\":\"branch\",\"type\":\"string\"},{\"name\":\"commit_sha\",\"type\":\"string\"},{\"name\":\"actor\",\"type\":\"string\"},{\"name\":\"refs\",\"type\":\"string\"},{\"name\":\"run_id\",\"type\":\"string\"},{\"name\":\"workflow\",\"type\":\"string\"},{\"name\":\"action\",\"type\":\"string\"},{\"name\":\"workspace\",\"type\":\"string\"},{\"name\":\"event_name\",\"type\":\"string\"},{\"name\":\"job\",\"type\":\"string\"},{\"name\":\"runner_name\",\"type\":\"string\"},{\"name\":\"runner_arch\",\"type\":\"string\"},{\"name\":\"runner_os\",\"type\":\"string\"}]},{\"id\":\"SystemNetworkStats\",\"fields\":[{\"name\":\"bytes_sent\",\"type\":\"uint64\"},{\"name\":\"bytes_recv\",\"type\":\"uint64\"},{\"name\":\"packets_sent\",\"type\":\"uint64\"},{\"name\":\"packets_recv\",\"type\":\"uint64\"},{\"name\":\"peak_bytes_sent_per_sec\",\"type\":\"uint64\"},{\"name\":\"peak_bytes_recv_per_sec\",\"type\":\"uint64\"},{\"name\":\"peak_packets_sent_per_sec\",\"type\":\"uint64\"},{\"name\":\"peak_packets_recv_per_sec\",\"type\":\"uint64\"}]},{\"id\":\"TargetComplete\",\"fields\":[{\"name\":\"success\",\"type\":\"bool\"},{\"name\":\"tag\",\"type\":\"[]string\"},{\"name\":\"target_kind\",\"type\":\"string\"},{\"name\":\"end_time_in_ms\",\"type\":\"int64\"},{\"name\":\"test_timeout_seconds\",\"type\":\"int64\"},{\"name\":\"test_timeout\",\"type\":\"int64\"},{\"name\":\"test_size\",\"type\":\"targetcomplete.TestSize\"}]},{\"id\":\"TargetConfigured\",\"fields\":[{\"name\":\"tag\",\"type\":\"[]string\"},{\"name\":\"target_kind\",\"type\":\"string\"},{\"name\":\"start_time_in_ms\",\"type\":\"int64\"},{\"name\":\"test_size\",\"type\":\"targetconfigured.TestSize\"}]},{\"id\":\"TargetMetrics\",\"fields\":[{\"name\":\"targets_loaded\",\"type\":\"int64\"},{\"name\":\"targets_configured\",\"type\":\"int64\"},{\"name\":\"targets_configured_not_including_aspects\",\"type\":\"int64\"}]},{\"id\":\"TargetPair\",\"fields\":[{\"name\":\"label\",\"type\":\"string\"},{\"name\":\"duration_in_ms\",\"type\":\"int64\"},{\"name\":\"success\",\"type\":\"bool\"},{\"name\":\"target_kind\",\"type\":\"string\"},{\"name\":\"test_size\",\"type\":\"targetpair.TestSize\"},{\"name\":\"abort_reason\",\"type\":\"targetpair.AbortReason\"}]},{\"id\":\"TestCollection\",\"fields\":[{\"name\":\"label\",\"type\":\"string\"},{\"name\":\"overall_status\",\"type\":\"testcollection.OverallStatus\"},{\"name\":\"strategy\",\"type\":\"string\"},{\"name\":\"cached_locally\",\"type\":\"bool\"},{\"name\":\"cached_remotely\",\"type\":\"bool\"},{\"name\":\"first_seen\",\"type\":\"time.Time\"},{\"name\":\"duration_ms\",\"type\":\"int64\"}]},{\"id\":\"TestFile\",\"fields\":[{\"name\":\"digest\",\"type\":\"string\"},{\"name\":\"file\",\"type\":\"string\"},{\"name\":\"length\",\"type\":\"int64\"},{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"prefix\",\"type\":\"[]string\"}]},{\"id\":\"TestResultBES\",\"fields\":[{\"name\":\"test_status\",\"type\":\"testresultbes.TestStatus\"},{\"name\":\"status_details\",\"type\":\"string\"},{\"name\":\"label\",\"type\":\"string\"},{\"name\":\"warning\",\"type\":\"[]string\"},{\"name\":\"cached_locally\",\"type\":\"bool\"},{\"name\":\"test_attempt_start_millis_epoch\",\"type\":\"int64\"},{\"name\":\"test_attempt_start\",\"type\":\"string\"},{\"name\":\"test_attempt_duration_millis\",\"type\":\"int64\"},{\"name\":\"test_attempt_duration\",\"type\":\"int64\"}]},{\"id\":\"TestSummary\",\"fields\":[{\"name\":\"overall_status\",\"type\":\"testsummary.OverallStatus\"},{\"name\":\"total_run_count\",\"type\":\"int32\"},{\"name\":\"run_count\",\"type\":\"int32\"},{\"name\":\"attempt_count\",\"type\":\"int32\"},{\"name\":\"shard_count\",\"type\":\"int32\"},{\"name\":\"total_num_cached\",\"type\":\"int32\"},{\"name\":\"first_start_time\",\"type\":\"int64\"},{\"name\":\"last_stop_time\",\"type\":\"int64\"},{\"name\":\"total_run_duration\",\"type\":\"int64\"},{\"name\":\"label\",\"type\":\"string\"}]},{\"id\":\"TimingBreakdown\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"time\",\"type\":\"string\"}]},{\"id\":\"TimingChild\",\"fields\":[{\"name\":\"name\",\"type\":\"string\"},{\"name\":\"time\",\"type\":\"string\"}]},{\"id\":\"TimingMetrics\",\"fields\":[{\"name\":\"cpu_time_in_ms\",\"type\":\"int64\"},{\"name\":\"wall_time_in_ms\",\"type\":\"int64\"},{\"name\":\"analysis_phase_time_in_ms\",\"type\":\"int64\"},{\"name\":\"execution_phase_time_in_ms\",\"type\":\"int64\"},{\"name\":\"actions_execution_start_in_ms\",\"type\":\"int64\"}]}],\"edges\":[{\"from\":\"ActionCacheStatistics\",\"to\":\"MissDetail\",\"label\":\"miss_details\"},{\"from\":\"ActionSummary\",\"to\":\"ActionData\",\"label\":\"action_data\"},{\"from\":\"ActionSummary\",\"to\":\"RunnerCount\",\"label\":\"runner_count\"},{\"from\":\"ActionSummary\",\"to\":\"ActionCacheStatistics\",\"label\":\"action_cache_statistics\"},{\"from\":\"ArtifactMetrics\",\"to\":\"FilesMetric\",\"label\":\"source_artifacts_read\"},{\"from\":\"ArtifactMetrics\",\"to\":\"FilesMetric\",\"label\":\"output_artifacts_seen\"},{\"from\":\"ArtifactMetrics\",\"to\":\"FilesMetric\",\"label\":\"output_artifacts_from_action_cache\"},{\"from\":\"ArtifactMetrics\",\"to\":\"FilesMetric\",\"label\":\"top_level_artifacts\"},{\"from\":\"BazelInvocation\",\"to\":\"BazelInvocationProblem\",\"label\":\"problems\"},{\"from\":\"BazelInvocation\",\"to\":\"Metrics\",\"label\":\"metrics\"},{\"from\":\"BazelInvocation\",\"to\":\"TestCollection\",\"label\":\"test_collection\"},{\"from\":\"BazelInvocation\",\"to\":\"TargetPair\",\"label\":\"targets\"},{\"from\":\"BazelInvocation\",\"to\":\"SourceControl\",\"label\":\"source_control\"},{\"from\":\"Build\",\"to\":\"BazelInvocation\",\"label\":\"invocations\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"dirtied_values\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"changed_values\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"built_values\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"cleaned_values\"},{\"from\":\"BuildGraphMetrics\",\"to\":\"EvaluationStat\",\"label\":\"evaluated_values\"},{\"from\":\"DynamicExecutionMetrics\",\"to\":\"RaceStatistics\",\"label\":\"race_statistics\"},{\"from\":\"EventFile\",\"to\":\"BazelInvocation\",\"label\":\"bazel_invocation\"},{\"from\":\"ExectionInfo\",\"to\":\"TimingBreakdown\",\"label\":\"timing_breakdown\"},{\"from\":\"ExectionInfo\",\"to\":\"ResourceUsage\",\"label\":\"resource_usage\"},{\"from\":\"MemoryMetrics\",\"to\":\"GarbageMetrics\",\"label\":\"garbage_metrics\"},{\"from\":\"Metrics\",\"to\":\"ActionSummary\",\"label\":\"action_summary\"},{\"from\":\"Metrics\",\"to\":\"MemoryMetrics\",\"label\":\"memory_metrics\"},{\"from\":\"Metrics\",\"to\":\"TargetMetrics\",\"label\":\"target_metrics\"},{\"from\":\"Metrics\",\"to\":\"PackageMetrics\",\"label\":\"package_metrics\"},{\"from\":\"Metrics\",\"to\":\"TimingMetrics\",\"label\":\"timing_metrics\"},{\"from\":\"Metrics\",\"to\":\"CumulativeMetrics\",\"label\":\"cumulative_metrics\"},{\"from\":\"Metrics\",\"to\":\"ArtifactMetrics\",\"label\":\"artifact_metrics\"},{\"from\":\"Metrics\",\"to\":\"NetworkMetrics\",\"label\":\"network_metrics\"},{\"from\":\"Metrics\",\"to\":\"DynamicExecutionMetrics\",\"label\":\"dynamic_execution_metrics\"},{\"from\":\"Metrics\",\"to\":\"BuildGraphMetrics\",\"label\":\"build_graph_metrics\"},{\"from\":\"NamedSetOfFiles\",\"to\":\"TestFile\",\"label\":\"files\"},{\"from\":\"NamedSetOfFiles\",\"to\":\"NamedSetOfFiles\",\"label\":\"file_sets\"},{\"from\":\"NetworkMetrics\",\"to\":\"SystemNetworkStats\",\"label\":\"system_network_stats\"},{\"from\":\"OutputGroup\",\"to\":\"TestFile\",\"label\":\"inline_files\"},{\"from\":\"OutputGroup\",\"to\":\"NamedSetOfFiles\",\"label\":\"file_sets\"},{\"from\":\"PackageMetrics\",\"to\":\"PackageLoadMetrics\",\"label\":\"package_load_metrics\"},{\"from\":\"TargetComplete\",\"to\":\"TestFile\",\"label\":\"important_output\"},{\"from\":\"TargetComplete\",\"to\":\"TestFile\",\"label\":\"directory_output\"},{\"from\":\"TargetComplete\",\"to\":\"OutputGroup\",\"label\":\"output_group\"},{\"from\":\"TargetPair\",\"to\":\"TargetConfigured\",\"label\":\"configuration\"},{\"from\":\"TargetPair\",\"to\":\"TargetComplete\",\"label\":\"completion\"},{\"from\":\"TestCollection\",\"to\":\"TestSummary\",\"label\":\"test_summary\"},{\"from\":\"TestCollection\",\"to\":\"TestResultBES\",\"label\":\"test_results\"},{\"from\":\"TestResultBES\",\"to\":\"TestFile\",\"label\":\"test_action_output\"},{\"from\":\"TestResultBES\",\"to\":\"ExectionInfo\",\"label\":\"execution_info\"},{\"from\":\"TestSummary\",\"to\":\"TestFile\",\"label\":\"passed\"},{\"from\":\"TestSummary\",\"to\":\"TestFile\",\"label\":\"failed\"},{\"from\":\"TimingBreakdown\",\"to\":\"TimingChild\",\"label\":\"child\"}]}"); const nodes = new vis.DataSet((entGraph.nodes || []).map(n => ({ id: n.id, diff --git a/ent/gen/ent/sourcecontrol.go b/ent/gen/ent/sourcecontrol.go index 85dea2b..1e45907 100644 --- a/ent/gen/ent/sourcecontrol.go +++ b/ent/gen/ent/sourcecontrol.go @@ -29,6 +29,22 @@ type SourceControl struct { Refs string `json:"refs,omitempty"` // RunID holds the value of the "run_id" field. RunID string `json:"run_id,omitempty"` + // Workflow holds the value of the "workflow" field. + Workflow string `json:"workflow,omitempty"` + // Action holds the value of the "action" field. + Action string `json:"action,omitempty"` + // Workspace holds the value of the "workspace" field. + Workspace string `json:"workspace,omitempty"` + // EventName holds the value of the "event_name" field. + EventName string `json:"event_name,omitempty"` + // Job holds the value of the "job" field. + Job string `json:"job,omitempty"` + // RunnerName holds the value of the "runner_name" field. + RunnerName string `json:"runner_name,omitempty"` + // RunnerArch holds the value of the "runner_arch" field. + RunnerArch string `json:"runner_arch,omitempty"` + // RunnerOs holds the value of the "runner_os" field. + RunnerOs string `json:"runner_os,omitempty"` // Edges holds the relations/edges for other nodes in the graph. // The values are being populated by the SourceControlQuery when eager-loading is set. Edges SourceControlEdges `json:"edges"` @@ -65,7 +81,7 @@ func (*SourceControl) scanValues(columns []string) ([]any, error) { switch columns[i] { case sourcecontrol.FieldID: values[i] = new(sql.NullInt64) - case sourcecontrol.FieldRepoURL, sourcecontrol.FieldBranch, sourcecontrol.FieldCommitSha, sourcecontrol.FieldActor, sourcecontrol.FieldRefs, sourcecontrol.FieldRunID: + case sourcecontrol.FieldRepoURL, sourcecontrol.FieldBranch, sourcecontrol.FieldCommitSha, sourcecontrol.FieldActor, sourcecontrol.FieldRefs, sourcecontrol.FieldRunID, sourcecontrol.FieldWorkflow, sourcecontrol.FieldAction, sourcecontrol.FieldWorkspace, sourcecontrol.FieldEventName, sourcecontrol.FieldJob, sourcecontrol.FieldRunnerName, sourcecontrol.FieldRunnerArch, sourcecontrol.FieldRunnerOs: values[i] = new(sql.NullString) case sourcecontrol.ForeignKeys[0]: // bazel_invocation_source_control values[i] = new(sql.NullInt64) @@ -126,6 +142,54 @@ func (sc *SourceControl) assignValues(columns []string, values []any) error { } else if value.Valid { sc.RunID = value.String } + case sourcecontrol.FieldWorkflow: + if value, ok := values[i].(*sql.NullString); !ok { + return fmt.Errorf("unexpected type %T for field workflow", values[i]) + } else if value.Valid { + sc.Workflow = value.String + } + case sourcecontrol.FieldAction: + if value, ok := values[i].(*sql.NullString); !ok { + return fmt.Errorf("unexpected type %T for field action", values[i]) + } else if value.Valid { + sc.Action = value.String + } + case sourcecontrol.FieldWorkspace: + if value, ok := values[i].(*sql.NullString); !ok { + return fmt.Errorf("unexpected type %T for field workspace", values[i]) + } else if value.Valid { + sc.Workspace = value.String + } + case sourcecontrol.FieldEventName: + if value, ok := values[i].(*sql.NullString); !ok { + return fmt.Errorf("unexpected type %T for field event_name", values[i]) + } else if value.Valid { + sc.EventName = value.String + } + case sourcecontrol.FieldJob: + if value, ok := values[i].(*sql.NullString); !ok { + return fmt.Errorf("unexpected type %T for field job", values[i]) + } else if value.Valid { + sc.Job = value.String + } + case sourcecontrol.FieldRunnerName: + if value, ok := values[i].(*sql.NullString); !ok { + return fmt.Errorf("unexpected type %T for field runner_name", values[i]) + } else if value.Valid { + sc.RunnerName = value.String + } + case sourcecontrol.FieldRunnerArch: + if value, ok := values[i].(*sql.NullString); !ok { + return fmt.Errorf("unexpected type %T for field runner_arch", values[i]) + } else if value.Valid { + sc.RunnerArch = value.String + } + case sourcecontrol.FieldRunnerOs: + if value, ok := values[i].(*sql.NullString); !ok { + return fmt.Errorf("unexpected type %T for field runner_os", values[i]) + } else if value.Valid { + sc.RunnerOs = value.String + } case sourcecontrol.ForeignKeys[0]: if value, ok := values[i].(*sql.NullInt64); !ok { return fmt.Errorf("unexpected type %T for edge-field bazel_invocation_source_control", value) @@ -191,6 +255,30 @@ func (sc *SourceControl) String() string { builder.WriteString(", ") builder.WriteString("run_id=") builder.WriteString(sc.RunID) + builder.WriteString(", ") + builder.WriteString("workflow=") + builder.WriteString(sc.Workflow) + builder.WriteString(", ") + builder.WriteString("action=") + builder.WriteString(sc.Action) + builder.WriteString(", ") + builder.WriteString("workspace=") + builder.WriteString(sc.Workspace) + builder.WriteString(", ") + builder.WriteString("event_name=") + builder.WriteString(sc.EventName) + builder.WriteString(", ") + builder.WriteString("job=") + builder.WriteString(sc.Job) + builder.WriteString(", ") + builder.WriteString("runner_name=") + builder.WriteString(sc.RunnerName) + builder.WriteString(", ") + builder.WriteString("runner_arch=") + builder.WriteString(sc.RunnerArch) + builder.WriteString(", ") + builder.WriteString("runner_os=") + builder.WriteString(sc.RunnerOs) builder.WriteByte(')') return builder.String() } diff --git a/ent/gen/ent/sourcecontrol/sourcecontrol.go b/ent/gen/ent/sourcecontrol/sourcecontrol.go index ec3182c..32539ba 100644 --- a/ent/gen/ent/sourcecontrol/sourcecontrol.go +++ b/ent/gen/ent/sourcecontrol/sourcecontrol.go @@ -24,6 +24,22 @@ const ( FieldRefs = "refs" // FieldRunID holds the string denoting the run_id field in the database. FieldRunID = "run_id" + // FieldWorkflow holds the string denoting the workflow field in the database. + FieldWorkflow = "workflow" + // FieldAction holds the string denoting the action field in the database. + FieldAction = "action" + // FieldWorkspace holds the string denoting the workspace field in the database. + FieldWorkspace = "workspace" + // FieldEventName holds the string denoting the event_name field in the database. + FieldEventName = "event_name" + // FieldJob holds the string denoting the job field in the database. + FieldJob = "job" + // FieldRunnerName holds the string denoting the runner_name field in the database. + FieldRunnerName = "runner_name" + // FieldRunnerArch holds the string denoting the runner_arch field in the database. + FieldRunnerArch = "runner_arch" + // FieldRunnerOs holds the string denoting the runner_os field in the database. + FieldRunnerOs = "runner_os" // EdgeBazelInvocation holds the string denoting the bazel_invocation edge name in mutations. EdgeBazelInvocation = "bazel_invocation" // Table holds the table name of the sourcecontrol in the database. @@ -46,6 +62,14 @@ var Columns = []string{ FieldActor, FieldRefs, FieldRunID, + FieldWorkflow, + FieldAction, + FieldWorkspace, + FieldEventName, + FieldJob, + FieldRunnerName, + FieldRunnerArch, + FieldRunnerOs, } // ForeignKeys holds the SQL foreign-keys that are owned by the "source_controls" @@ -107,6 +131,46 @@ func ByRunID(opts ...sql.OrderTermOption) OrderOption { return sql.OrderByField(FieldRunID, opts...).ToFunc() } +// ByWorkflow orders the results by the workflow field. +func ByWorkflow(opts ...sql.OrderTermOption) OrderOption { + return sql.OrderByField(FieldWorkflow, opts...).ToFunc() +} + +// ByAction orders the results by the action field. +func ByAction(opts ...sql.OrderTermOption) OrderOption { + return sql.OrderByField(FieldAction, opts...).ToFunc() +} + +// ByWorkspace orders the results by the workspace field. +func ByWorkspace(opts ...sql.OrderTermOption) OrderOption { + return sql.OrderByField(FieldWorkspace, opts...).ToFunc() +} + +// ByEventName orders the results by the event_name field. +func ByEventName(opts ...sql.OrderTermOption) OrderOption { + return sql.OrderByField(FieldEventName, opts...).ToFunc() +} + +// ByJob orders the results by the job field. +func ByJob(opts ...sql.OrderTermOption) OrderOption { + return sql.OrderByField(FieldJob, opts...).ToFunc() +} + +// ByRunnerName orders the results by the runner_name field. +func ByRunnerName(opts ...sql.OrderTermOption) OrderOption { + return sql.OrderByField(FieldRunnerName, opts...).ToFunc() +} + +// ByRunnerArch orders the results by the runner_arch field. +func ByRunnerArch(opts ...sql.OrderTermOption) OrderOption { + return sql.OrderByField(FieldRunnerArch, opts...).ToFunc() +} + +// ByRunnerOs orders the results by the runner_os field. +func ByRunnerOs(opts ...sql.OrderTermOption) OrderOption { + return sql.OrderByField(FieldRunnerOs, opts...).ToFunc() +} + // ByBazelInvocationField orders the results by bazel_invocation field. func ByBazelInvocationField(field string, opts ...sql.OrderTermOption) OrderOption { return func(s *sql.Selector) { diff --git a/ent/gen/ent/sourcecontrol/where.go b/ent/gen/ent/sourcecontrol/where.go index d18a1f3..0f9af07 100644 --- a/ent/gen/ent/sourcecontrol/where.go +++ b/ent/gen/ent/sourcecontrol/where.go @@ -83,6 +83,46 @@ func RunID(v string) predicate.SourceControl { return predicate.SourceControl(sql.FieldEQ(FieldRunID, v)) } +// Workflow applies equality check predicate on the "workflow" field. It's identical to WorkflowEQ. +func Workflow(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldWorkflow, v)) +} + +// Action applies equality check predicate on the "action" field. It's identical to ActionEQ. +func Action(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldAction, v)) +} + +// Workspace applies equality check predicate on the "workspace" field. It's identical to WorkspaceEQ. +func Workspace(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldWorkspace, v)) +} + +// EventName applies equality check predicate on the "event_name" field. It's identical to EventNameEQ. +func EventName(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldEventName, v)) +} + +// Job applies equality check predicate on the "job" field. It's identical to JobEQ. +func Job(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldJob, v)) +} + +// RunnerName applies equality check predicate on the "runner_name" field. It's identical to RunnerNameEQ. +func RunnerName(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldRunnerName, v)) +} + +// RunnerArch applies equality check predicate on the "runner_arch" field. It's identical to RunnerArchEQ. +func RunnerArch(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldRunnerArch, v)) +} + +// RunnerOs applies equality check predicate on the "runner_os" field. It's identical to RunnerOsEQ. +func RunnerOs(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldRunnerOs, v)) +} + // RepoURLEQ applies the EQ predicate on the "repo_url" field. func RepoURLEQ(v string) predicate.SourceControl { return predicate.SourceControl(sql.FieldEQ(FieldRepoURL, v)) @@ -533,6 +573,606 @@ func RunIDContainsFold(v string) predicate.SourceControl { return predicate.SourceControl(sql.FieldContainsFold(FieldRunID, v)) } +// WorkflowEQ applies the EQ predicate on the "workflow" field. +func WorkflowEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldWorkflow, v)) +} + +// WorkflowNEQ applies the NEQ predicate on the "workflow" field. +func WorkflowNEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNEQ(FieldWorkflow, v)) +} + +// WorkflowIn applies the In predicate on the "workflow" field. +func WorkflowIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldIn(FieldWorkflow, vs...)) +} + +// WorkflowNotIn applies the NotIn predicate on the "workflow" field. +func WorkflowNotIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotIn(FieldWorkflow, vs...)) +} + +// WorkflowGT applies the GT predicate on the "workflow" field. +func WorkflowGT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGT(FieldWorkflow, v)) +} + +// WorkflowGTE applies the GTE predicate on the "workflow" field. +func WorkflowGTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGTE(FieldWorkflow, v)) +} + +// WorkflowLT applies the LT predicate on the "workflow" field. +func WorkflowLT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLT(FieldWorkflow, v)) +} + +// WorkflowLTE applies the LTE predicate on the "workflow" field. +func WorkflowLTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLTE(FieldWorkflow, v)) +} + +// WorkflowContains applies the Contains predicate on the "workflow" field. +func WorkflowContains(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContains(FieldWorkflow, v)) +} + +// WorkflowHasPrefix applies the HasPrefix predicate on the "workflow" field. +func WorkflowHasPrefix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasPrefix(FieldWorkflow, v)) +} + +// WorkflowHasSuffix applies the HasSuffix predicate on the "workflow" field. +func WorkflowHasSuffix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasSuffix(FieldWorkflow, v)) +} + +// WorkflowIsNil applies the IsNil predicate on the "workflow" field. +func WorkflowIsNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldIsNull(FieldWorkflow)) +} + +// WorkflowNotNil applies the NotNil predicate on the "workflow" field. +func WorkflowNotNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotNull(FieldWorkflow)) +} + +// WorkflowEqualFold applies the EqualFold predicate on the "workflow" field. +func WorkflowEqualFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEqualFold(FieldWorkflow, v)) +} + +// WorkflowContainsFold applies the ContainsFold predicate on the "workflow" field. +func WorkflowContainsFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContainsFold(FieldWorkflow, v)) +} + +// ActionEQ applies the EQ predicate on the "action" field. +func ActionEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldAction, v)) +} + +// ActionNEQ applies the NEQ predicate on the "action" field. +func ActionNEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNEQ(FieldAction, v)) +} + +// ActionIn applies the In predicate on the "action" field. +func ActionIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldIn(FieldAction, vs...)) +} + +// ActionNotIn applies the NotIn predicate on the "action" field. +func ActionNotIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotIn(FieldAction, vs...)) +} + +// ActionGT applies the GT predicate on the "action" field. +func ActionGT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGT(FieldAction, v)) +} + +// ActionGTE applies the GTE predicate on the "action" field. +func ActionGTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGTE(FieldAction, v)) +} + +// ActionLT applies the LT predicate on the "action" field. +func ActionLT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLT(FieldAction, v)) +} + +// ActionLTE applies the LTE predicate on the "action" field. +func ActionLTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLTE(FieldAction, v)) +} + +// ActionContains applies the Contains predicate on the "action" field. +func ActionContains(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContains(FieldAction, v)) +} + +// ActionHasPrefix applies the HasPrefix predicate on the "action" field. +func ActionHasPrefix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasPrefix(FieldAction, v)) +} + +// ActionHasSuffix applies the HasSuffix predicate on the "action" field. +func ActionHasSuffix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasSuffix(FieldAction, v)) +} + +// ActionIsNil applies the IsNil predicate on the "action" field. +func ActionIsNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldIsNull(FieldAction)) +} + +// ActionNotNil applies the NotNil predicate on the "action" field. +func ActionNotNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotNull(FieldAction)) +} + +// ActionEqualFold applies the EqualFold predicate on the "action" field. +func ActionEqualFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEqualFold(FieldAction, v)) +} + +// ActionContainsFold applies the ContainsFold predicate on the "action" field. +func ActionContainsFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContainsFold(FieldAction, v)) +} + +// WorkspaceEQ applies the EQ predicate on the "workspace" field. +func WorkspaceEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldWorkspace, v)) +} + +// WorkspaceNEQ applies the NEQ predicate on the "workspace" field. +func WorkspaceNEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNEQ(FieldWorkspace, v)) +} + +// WorkspaceIn applies the In predicate on the "workspace" field. +func WorkspaceIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldIn(FieldWorkspace, vs...)) +} + +// WorkspaceNotIn applies the NotIn predicate on the "workspace" field. +func WorkspaceNotIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotIn(FieldWorkspace, vs...)) +} + +// WorkspaceGT applies the GT predicate on the "workspace" field. +func WorkspaceGT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGT(FieldWorkspace, v)) +} + +// WorkspaceGTE applies the GTE predicate on the "workspace" field. +func WorkspaceGTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGTE(FieldWorkspace, v)) +} + +// WorkspaceLT applies the LT predicate on the "workspace" field. +func WorkspaceLT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLT(FieldWorkspace, v)) +} + +// WorkspaceLTE applies the LTE predicate on the "workspace" field. +func WorkspaceLTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLTE(FieldWorkspace, v)) +} + +// WorkspaceContains applies the Contains predicate on the "workspace" field. +func WorkspaceContains(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContains(FieldWorkspace, v)) +} + +// WorkspaceHasPrefix applies the HasPrefix predicate on the "workspace" field. +func WorkspaceHasPrefix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasPrefix(FieldWorkspace, v)) +} + +// WorkspaceHasSuffix applies the HasSuffix predicate on the "workspace" field. +func WorkspaceHasSuffix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasSuffix(FieldWorkspace, v)) +} + +// WorkspaceIsNil applies the IsNil predicate on the "workspace" field. +func WorkspaceIsNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldIsNull(FieldWorkspace)) +} + +// WorkspaceNotNil applies the NotNil predicate on the "workspace" field. +func WorkspaceNotNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotNull(FieldWorkspace)) +} + +// WorkspaceEqualFold applies the EqualFold predicate on the "workspace" field. +func WorkspaceEqualFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEqualFold(FieldWorkspace, v)) +} + +// WorkspaceContainsFold applies the ContainsFold predicate on the "workspace" field. +func WorkspaceContainsFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContainsFold(FieldWorkspace, v)) +} + +// EventNameEQ applies the EQ predicate on the "event_name" field. +func EventNameEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldEventName, v)) +} + +// EventNameNEQ applies the NEQ predicate on the "event_name" field. +func EventNameNEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNEQ(FieldEventName, v)) +} + +// EventNameIn applies the In predicate on the "event_name" field. +func EventNameIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldIn(FieldEventName, vs...)) +} + +// EventNameNotIn applies the NotIn predicate on the "event_name" field. +func EventNameNotIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotIn(FieldEventName, vs...)) +} + +// EventNameGT applies the GT predicate on the "event_name" field. +func EventNameGT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGT(FieldEventName, v)) +} + +// EventNameGTE applies the GTE predicate on the "event_name" field. +func EventNameGTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGTE(FieldEventName, v)) +} + +// EventNameLT applies the LT predicate on the "event_name" field. +func EventNameLT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLT(FieldEventName, v)) +} + +// EventNameLTE applies the LTE predicate on the "event_name" field. +func EventNameLTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLTE(FieldEventName, v)) +} + +// EventNameContains applies the Contains predicate on the "event_name" field. +func EventNameContains(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContains(FieldEventName, v)) +} + +// EventNameHasPrefix applies the HasPrefix predicate on the "event_name" field. +func EventNameHasPrefix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasPrefix(FieldEventName, v)) +} + +// EventNameHasSuffix applies the HasSuffix predicate on the "event_name" field. +func EventNameHasSuffix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasSuffix(FieldEventName, v)) +} + +// EventNameIsNil applies the IsNil predicate on the "event_name" field. +func EventNameIsNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldIsNull(FieldEventName)) +} + +// EventNameNotNil applies the NotNil predicate on the "event_name" field. +func EventNameNotNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotNull(FieldEventName)) +} + +// EventNameEqualFold applies the EqualFold predicate on the "event_name" field. +func EventNameEqualFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEqualFold(FieldEventName, v)) +} + +// EventNameContainsFold applies the ContainsFold predicate on the "event_name" field. +func EventNameContainsFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContainsFold(FieldEventName, v)) +} + +// JobEQ applies the EQ predicate on the "job" field. +func JobEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldJob, v)) +} + +// JobNEQ applies the NEQ predicate on the "job" field. +func JobNEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNEQ(FieldJob, v)) +} + +// JobIn applies the In predicate on the "job" field. +func JobIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldIn(FieldJob, vs...)) +} + +// JobNotIn applies the NotIn predicate on the "job" field. +func JobNotIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotIn(FieldJob, vs...)) +} + +// JobGT applies the GT predicate on the "job" field. +func JobGT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGT(FieldJob, v)) +} + +// JobGTE applies the GTE predicate on the "job" field. +func JobGTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGTE(FieldJob, v)) +} + +// JobLT applies the LT predicate on the "job" field. +func JobLT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLT(FieldJob, v)) +} + +// JobLTE applies the LTE predicate on the "job" field. +func JobLTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLTE(FieldJob, v)) +} + +// JobContains applies the Contains predicate on the "job" field. +func JobContains(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContains(FieldJob, v)) +} + +// JobHasPrefix applies the HasPrefix predicate on the "job" field. +func JobHasPrefix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasPrefix(FieldJob, v)) +} + +// JobHasSuffix applies the HasSuffix predicate on the "job" field. +func JobHasSuffix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasSuffix(FieldJob, v)) +} + +// JobIsNil applies the IsNil predicate on the "job" field. +func JobIsNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldIsNull(FieldJob)) +} + +// JobNotNil applies the NotNil predicate on the "job" field. +func JobNotNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotNull(FieldJob)) +} + +// JobEqualFold applies the EqualFold predicate on the "job" field. +func JobEqualFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEqualFold(FieldJob, v)) +} + +// JobContainsFold applies the ContainsFold predicate on the "job" field. +func JobContainsFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContainsFold(FieldJob, v)) +} + +// RunnerNameEQ applies the EQ predicate on the "runner_name" field. +func RunnerNameEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldRunnerName, v)) +} + +// RunnerNameNEQ applies the NEQ predicate on the "runner_name" field. +func RunnerNameNEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNEQ(FieldRunnerName, v)) +} + +// RunnerNameIn applies the In predicate on the "runner_name" field. +func RunnerNameIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldIn(FieldRunnerName, vs...)) +} + +// RunnerNameNotIn applies the NotIn predicate on the "runner_name" field. +func RunnerNameNotIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotIn(FieldRunnerName, vs...)) +} + +// RunnerNameGT applies the GT predicate on the "runner_name" field. +func RunnerNameGT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGT(FieldRunnerName, v)) +} + +// RunnerNameGTE applies the GTE predicate on the "runner_name" field. +func RunnerNameGTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGTE(FieldRunnerName, v)) +} + +// RunnerNameLT applies the LT predicate on the "runner_name" field. +func RunnerNameLT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLT(FieldRunnerName, v)) +} + +// RunnerNameLTE applies the LTE predicate on the "runner_name" field. +func RunnerNameLTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLTE(FieldRunnerName, v)) +} + +// RunnerNameContains applies the Contains predicate on the "runner_name" field. +func RunnerNameContains(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContains(FieldRunnerName, v)) +} + +// RunnerNameHasPrefix applies the HasPrefix predicate on the "runner_name" field. +func RunnerNameHasPrefix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasPrefix(FieldRunnerName, v)) +} + +// RunnerNameHasSuffix applies the HasSuffix predicate on the "runner_name" field. +func RunnerNameHasSuffix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasSuffix(FieldRunnerName, v)) +} + +// RunnerNameIsNil applies the IsNil predicate on the "runner_name" field. +func RunnerNameIsNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldIsNull(FieldRunnerName)) +} + +// RunnerNameNotNil applies the NotNil predicate on the "runner_name" field. +func RunnerNameNotNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotNull(FieldRunnerName)) +} + +// RunnerNameEqualFold applies the EqualFold predicate on the "runner_name" field. +func RunnerNameEqualFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEqualFold(FieldRunnerName, v)) +} + +// RunnerNameContainsFold applies the ContainsFold predicate on the "runner_name" field. +func RunnerNameContainsFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContainsFold(FieldRunnerName, v)) +} + +// RunnerArchEQ applies the EQ predicate on the "runner_arch" field. +func RunnerArchEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldRunnerArch, v)) +} + +// RunnerArchNEQ applies the NEQ predicate on the "runner_arch" field. +func RunnerArchNEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNEQ(FieldRunnerArch, v)) +} + +// RunnerArchIn applies the In predicate on the "runner_arch" field. +func RunnerArchIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldIn(FieldRunnerArch, vs...)) +} + +// RunnerArchNotIn applies the NotIn predicate on the "runner_arch" field. +func RunnerArchNotIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotIn(FieldRunnerArch, vs...)) +} + +// RunnerArchGT applies the GT predicate on the "runner_arch" field. +func RunnerArchGT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGT(FieldRunnerArch, v)) +} + +// RunnerArchGTE applies the GTE predicate on the "runner_arch" field. +func RunnerArchGTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGTE(FieldRunnerArch, v)) +} + +// RunnerArchLT applies the LT predicate on the "runner_arch" field. +func RunnerArchLT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLT(FieldRunnerArch, v)) +} + +// RunnerArchLTE applies the LTE predicate on the "runner_arch" field. +func RunnerArchLTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLTE(FieldRunnerArch, v)) +} + +// RunnerArchContains applies the Contains predicate on the "runner_arch" field. +func RunnerArchContains(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContains(FieldRunnerArch, v)) +} + +// RunnerArchHasPrefix applies the HasPrefix predicate on the "runner_arch" field. +func RunnerArchHasPrefix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasPrefix(FieldRunnerArch, v)) +} + +// RunnerArchHasSuffix applies the HasSuffix predicate on the "runner_arch" field. +func RunnerArchHasSuffix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasSuffix(FieldRunnerArch, v)) +} + +// RunnerArchIsNil applies the IsNil predicate on the "runner_arch" field. +func RunnerArchIsNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldIsNull(FieldRunnerArch)) +} + +// RunnerArchNotNil applies the NotNil predicate on the "runner_arch" field. +func RunnerArchNotNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotNull(FieldRunnerArch)) +} + +// RunnerArchEqualFold applies the EqualFold predicate on the "runner_arch" field. +func RunnerArchEqualFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEqualFold(FieldRunnerArch, v)) +} + +// RunnerArchContainsFold applies the ContainsFold predicate on the "runner_arch" field. +func RunnerArchContainsFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContainsFold(FieldRunnerArch, v)) +} + +// RunnerOsEQ applies the EQ predicate on the "runner_os" field. +func RunnerOsEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEQ(FieldRunnerOs, v)) +} + +// RunnerOsNEQ applies the NEQ predicate on the "runner_os" field. +func RunnerOsNEQ(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNEQ(FieldRunnerOs, v)) +} + +// RunnerOsIn applies the In predicate on the "runner_os" field. +func RunnerOsIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldIn(FieldRunnerOs, vs...)) +} + +// RunnerOsNotIn applies the NotIn predicate on the "runner_os" field. +func RunnerOsNotIn(vs ...string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotIn(FieldRunnerOs, vs...)) +} + +// RunnerOsGT applies the GT predicate on the "runner_os" field. +func RunnerOsGT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGT(FieldRunnerOs, v)) +} + +// RunnerOsGTE applies the GTE predicate on the "runner_os" field. +func RunnerOsGTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldGTE(FieldRunnerOs, v)) +} + +// RunnerOsLT applies the LT predicate on the "runner_os" field. +func RunnerOsLT(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLT(FieldRunnerOs, v)) +} + +// RunnerOsLTE applies the LTE predicate on the "runner_os" field. +func RunnerOsLTE(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldLTE(FieldRunnerOs, v)) +} + +// RunnerOsContains applies the Contains predicate on the "runner_os" field. +func RunnerOsContains(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContains(FieldRunnerOs, v)) +} + +// RunnerOsHasPrefix applies the HasPrefix predicate on the "runner_os" field. +func RunnerOsHasPrefix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasPrefix(FieldRunnerOs, v)) +} + +// RunnerOsHasSuffix applies the HasSuffix predicate on the "runner_os" field. +func RunnerOsHasSuffix(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldHasSuffix(FieldRunnerOs, v)) +} + +// RunnerOsIsNil applies the IsNil predicate on the "runner_os" field. +func RunnerOsIsNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldIsNull(FieldRunnerOs)) +} + +// RunnerOsNotNil applies the NotNil predicate on the "runner_os" field. +func RunnerOsNotNil() predicate.SourceControl { + return predicate.SourceControl(sql.FieldNotNull(FieldRunnerOs)) +} + +// RunnerOsEqualFold applies the EqualFold predicate on the "runner_os" field. +func RunnerOsEqualFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldEqualFold(FieldRunnerOs, v)) +} + +// RunnerOsContainsFold applies the ContainsFold predicate on the "runner_os" field. +func RunnerOsContainsFold(v string) predicate.SourceControl { + return predicate.SourceControl(sql.FieldContainsFold(FieldRunnerOs, v)) +} + // HasBazelInvocation applies the HasEdge predicate on the "bazel_invocation" edge. func HasBazelInvocation() predicate.SourceControl { return predicate.SourceControl(func(s *sql.Selector) { diff --git a/ent/gen/ent/sourcecontrol_create.go b/ent/gen/ent/sourcecontrol_create.go index 2645f47..5b53c83 100644 --- a/ent/gen/ent/sourcecontrol_create.go +++ b/ent/gen/ent/sourcecontrol_create.go @@ -103,6 +103,118 @@ func (scc *SourceControlCreate) SetNillableRunID(s *string) *SourceControlCreate return scc } +// SetWorkflow sets the "workflow" field. +func (scc *SourceControlCreate) SetWorkflow(s string) *SourceControlCreate { + scc.mutation.SetWorkflow(s) + return scc +} + +// SetNillableWorkflow sets the "workflow" field if the given value is not nil. +func (scc *SourceControlCreate) SetNillableWorkflow(s *string) *SourceControlCreate { + if s != nil { + scc.SetWorkflow(*s) + } + return scc +} + +// SetAction sets the "action" field. +func (scc *SourceControlCreate) SetAction(s string) *SourceControlCreate { + scc.mutation.SetAction(s) + return scc +} + +// SetNillableAction sets the "action" field if the given value is not nil. +func (scc *SourceControlCreate) SetNillableAction(s *string) *SourceControlCreate { + if s != nil { + scc.SetAction(*s) + } + return scc +} + +// SetWorkspace sets the "workspace" field. +func (scc *SourceControlCreate) SetWorkspace(s string) *SourceControlCreate { + scc.mutation.SetWorkspace(s) + return scc +} + +// SetNillableWorkspace sets the "workspace" field if the given value is not nil. +func (scc *SourceControlCreate) SetNillableWorkspace(s *string) *SourceControlCreate { + if s != nil { + scc.SetWorkspace(*s) + } + return scc +} + +// SetEventName sets the "event_name" field. +func (scc *SourceControlCreate) SetEventName(s string) *SourceControlCreate { + scc.mutation.SetEventName(s) + return scc +} + +// SetNillableEventName sets the "event_name" field if the given value is not nil. +func (scc *SourceControlCreate) SetNillableEventName(s *string) *SourceControlCreate { + if s != nil { + scc.SetEventName(*s) + } + return scc +} + +// SetJob sets the "job" field. +func (scc *SourceControlCreate) SetJob(s string) *SourceControlCreate { + scc.mutation.SetJob(s) + return scc +} + +// SetNillableJob sets the "job" field if the given value is not nil. +func (scc *SourceControlCreate) SetNillableJob(s *string) *SourceControlCreate { + if s != nil { + scc.SetJob(*s) + } + return scc +} + +// SetRunnerName sets the "runner_name" field. +func (scc *SourceControlCreate) SetRunnerName(s string) *SourceControlCreate { + scc.mutation.SetRunnerName(s) + return scc +} + +// SetNillableRunnerName sets the "runner_name" field if the given value is not nil. +func (scc *SourceControlCreate) SetNillableRunnerName(s *string) *SourceControlCreate { + if s != nil { + scc.SetRunnerName(*s) + } + return scc +} + +// SetRunnerArch sets the "runner_arch" field. +func (scc *SourceControlCreate) SetRunnerArch(s string) *SourceControlCreate { + scc.mutation.SetRunnerArch(s) + return scc +} + +// SetNillableRunnerArch sets the "runner_arch" field if the given value is not nil. +func (scc *SourceControlCreate) SetNillableRunnerArch(s *string) *SourceControlCreate { + if s != nil { + scc.SetRunnerArch(*s) + } + return scc +} + +// SetRunnerOs sets the "runner_os" field. +func (scc *SourceControlCreate) SetRunnerOs(s string) *SourceControlCreate { + scc.mutation.SetRunnerOs(s) + return scc +} + +// SetNillableRunnerOs sets the "runner_os" field if the given value is not nil. +func (scc *SourceControlCreate) SetNillableRunnerOs(s *string) *SourceControlCreate { + if s != nil { + scc.SetRunnerOs(*s) + } + return scc +} + // SetBazelInvocationID sets the "bazel_invocation" edge to the BazelInvocation entity by ID. func (scc *SourceControlCreate) SetBazelInvocationID(id int) *SourceControlCreate { scc.mutation.SetBazelInvocationID(id) @@ -206,6 +318,38 @@ func (scc *SourceControlCreate) createSpec() (*SourceControl, *sqlgraph.CreateSp _spec.SetField(sourcecontrol.FieldRunID, field.TypeString, value) _node.RunID = value } + if value, ok := scc.mutation.Workflow(); ok { + _spec.SetField(sourcecontrol.FieldWorkflow, field.TypeString, value) + _node.Workflow = value + } + if value, ok := scc.mutation.Action(); ok { + _spec.SetField(sourcecontrol.FieldAction, field.TypeString, value) + _node.Action = value + } + if value, ok := scc.mutation.Workspace(); ok { + _spec.SetField(sourcecontrol.FieldWorkspace, field.TypeString, value) + _node.Workspace = value + } + if value, ok := scc.mutation.EventName(); ok { + _spec.SetField(sourcecontrol.FieldEventName, field.TypeString, value) + _node.EventName = value + } + if value, ok := scc.mutation.Job(); ok { + _spec.SetField(sourcecontrol.FieldJob, field.TypeString, value) + _node.Job = value + } + if value, ok := scc.mutation.RunnerName(); ok { + _spec.SetField(sourcecontrol.FieldRunnerName, field.TypeString, value) + _node.RunnerName = value + } + if value, ok := scc.mutation.RunnerArch(); ok { + _spec.SetField(sourcecontrol.FieldRunnerArch, field.TypeString, value) + _node.RunnerArch = value + } + if value, ok := scc.mutation.RunnerOs(); ok { + _spec.SetField(sourcecontrol.FieldRunnerOs, field.TypeString, value) + _node.RunnerOs = value + } if nodes := scc.mutation.BazelInvocationIDs(); len(nodes) > 0 { edge := &sqlgraph.EdgeSpec{ Rel: sqlgraph.O2O, diff --git a/ent/gen/ent/sourcecontrol_update.go b/ent/gen/ent/sourcecontrol_update.go index e37b39c..fcd0b1d 100644 --- a/ent/gen/ent/sourcecontrol_update.go +++ b/ent/gen/ent/sourcecontrol_update.go @@ -148,6 +148,166 @@ func (scu *SourceControlUpdate) ClearRunID() *SourceControlUpdate { return scu } +// SetWorkflow sets the "workflow" field. +func (scu *SourceControlUpdate) SetWorkflow(s string) *SourceControlUpdate { + scu.mutation.SetWorkflow(s) + return scu +} + +// SetNillableWorkflow sets the "workflow" field if the given value is not nil. +func (scu *SourceControlUpdate) SetNillableWorkflow(s *string) *SourceControlUpdate { + if s != nil { + scu.SetWorkflow(*s) + } + return scu +} + +// ClearWorkflow clears the value of the "workflow" field. +func (scu *SourceControlUpdate) ClearWorkflow() *SourceControlUpdate { + scu.mutation.ClearWorkflow() + return scu +} + +// SetAction sets the "action" field. +func (scu *SourceControlUpdate) SetAction(s string) *SourceControlUpdate { + scu.mutation.SetAction(s) + return scu +} + +// SetNillableAction sets the "action" field if the given value is not nil. +func (scu *SourceControlUpdate) SetNillableAction(s *string) *SourceControlUpdate { + if s != nil { + scu.SetAction(*s) + } + return scu +} + +// ClearAction clears the value of the "action" field. +func (scu *SourceControlUpdate) ClearAction() *SourceControlUpdate { + scu.mutation.ClearAction() + return scu +} + +// SetWorkspace sets the "workspace" field. +func (scu *SourceControlUpdate) SetWorkspace(s string) *SourceControlUpdate { + scu.mutation.SetWorkspace(s) + return scu +} + +// SetNillableWorkspace sets the "workspace" field if the given value is not nil. +func (scu *SourceControlUpdate) SetNillableWorkspace(s *string) *SourceControlUpdate { + if s != nil { + scu.SetWorkspace(*s) + } + return scu +} + +// ClearWorkspace clears the value of the "workspace" field. +func (scu *SourceControlUpdate) ClearWorkspace() *SourceControlUpdate { + scu.mutation.ClearWorkspace() + return scu +} + +// SetEventName sets the "event_name" field. +func (scu *SourceControlUpdate) SetEventName(s string) *SourceControlUpdate { + scu.mutation.SetEventName(s) + return scu +} + +// SetNillableEventName sets the "event_name" field if the given value is not nil. +func (scu *SourceControlUpdate) SetNillableEventName(s *string) *SourceControlUpdate { + if s != nil { + scu.SetEventName(*s) + } + return scu +} + +// ClearEventName clears the value of the "event_name" field. +func (scu *SourceControlUpdate) ClearEventName() *SourceControlUpdate { + scu.mutation.ClearEventName() + return scu +} + +// SetJob sets the "job" field. +func (scu *SourceControlUpdate) SetJob(s string) *SourceControlUpdate { + scu.mutation.SetJob(s) + return scu +} + +// SetNillableJob sets the "job" field if the given value is not nil. +func (scu *SourceControlUpdate) SetNillableJob(s *string) *SourceControlUpdate { + if s != nil { + scu.SetJob(*s) + } + return scu +} + +// ClearJob clears the value of the "job" field. +func (scu *SourceControlUpdate) ClearJob() *SourceControlUpdate { + scu.mutation.ClearJob() + return scu +} + +// SetRunnerName sets the "runner_name" field. +func (scu *SourceControlUpdate) SetRunnerName(s string) *SourceControlUpdate { + scu.mutation.SetRunnerName(s) + return scu +} + +// SetNillableRunnerName sets the "runner_name" field if the given value is not nil. +func (scu *SourceControlUpdate) SetNillableRunnerName(s *string) *SourceControlUpdate { + if s != nil { + scu.SetRunnerName(*s) + } + return scu +} + +// ClearRunnerName clears the value of the "runner_name" field. +func (scu *SourceControlUpdate) ClearRunnerName() *SourceControlUpdate { + scu.mutation.ClearRunnerName() + return scu +} + +// SetRunnerArch sets the "runner_arch" field. +func (scu *SourceControlUpdate) SetRunnerArch(s string) *SourceControlUpdate { + scu.mutation.SetRunnerArch(s) + return scu +} + +// SetNillableRunnerArch sets the "runner_arch" field if the given value is not nil. +func (scu *SourceControlUpdate) SetNillableRunnerArch(s *string) *SourceControlUpdate { + if s != nil { + scu.SetRunnerArch(*s) + } + return scu +} + +// ClearRunnerArch clears the value of the "runner_arch" field. +func (scu *SourceControlUpdate) ClearRunnerArch() *SourceControlUpdate { + scu.mutation.ClearRunnerArch() + return scu +} + +// SetRunnerOs sets the "runner_os" field. +func (scu *SourceControlUpdate) SetRunnerOs(s string) *SourceControlUpdate { + scu.mutation.SetRunnerOs(s) + return scu +} + +// SetNillableRunnerOs sets the "runner_os" field if the given value is not nil. +func (scu *SourceControlUpdate) SetNillableRunnerOs(s *string) *SourceControlUpdate { + if s != nil { + scu.SetRunnerOs(*s) + } + return scu +} + +// ClearRunnerOs clears the value of the "runner_os" field. +func (scu *SourceControlUpdate) ClearRunnerOs() *SourceControlUpdate { + scu.mutation.ClearRunnerOs() + return scu +} + // SetBazelInvocationID sets the "bazel_invocation" edge to the BazelInvocation entity by ID. func (scu *SourceControlUpdate) SetBazelInvocationID(id int) *SourceControlUpdate { scu.mutation.SetBazelInvocationID(id) @@ -250,6 +410,54 @@ func (scu *SourceControlUpdate) sqlSave(ctx context.Context) (n int, err error) if scu.mutation.RunIDCleared() { _spec.ClearField(sourcecontrol.FieldRunID, field.TypeString) } + if value, ok := scu.mutation.Workflow(); ok { + _spec.SetField(sourcecontrol.FieldWorkflow, field.TypeString, value) + } + if scu.mutation.WorkflowCleared() { + _spec.ClearField(sourcecontrol.FieldWorkflow, field.TypeString) + } + if value, ok := scu.mutation.Action(); ok { + _spec.SetField(sourcecontrol.FieldAction, field.TypeString, value) + } + if scu.mutation.ActionCleared() { + _spec.ClearField(sourcecontrol.FieldAction, field.TypeString) + } + if value, ok := scu.mutation.Workspace(); ok { + _spec.SetField(sourcecontrol.FieldWorkspace, field.TypeString, value) + } + if scu.mutation.WorkspaceCleared() { + _spec.ClearField(sourcecontrol.FieldWorkspace, field.TypeString) + } + if value, ok := scu.mutation.EventName(); ok { + _spec.SetField(sourcecontrol.FieldEventName, field.TypeString, value) + } + if scu.mutation.EventNameCleared() { + _spec.ClearField(sourcecontrol.FieldEventName, field.TypeString) + } + if value, ok := scu.mutation.Job(); ok { + _spec.SetField(sourcecontrol.FieldJob, field.TypeString, value) + } + if scu.mutation.JobCleared() { + _spec.ClearField(sourcecontrol.FieldJob, field.TypeString) + } + if value, ok := scu.mutation.RunnerName(); ok { + _spec.SetField(sourcecontrol.FieldRunnerName, field.TypeString, value) + } + if scu.mutation.RunnerNameCleared() { + _spec.ClearField(sourcecontrol.FieldRunnerName, field.TypeString) + } + if value, ok := scu.mutation.RunnerArch(); ok { + _spec.SetField(sourcecontrol.FieldRunnerArch, field.TypeString, value) + } + if scu.mutation.RunnerArchCleared() { + _spec.ClearField(sourcecontrol.FieldRunnerArch, field.TypeString) + } + if value, ok := scu.mutation.RunnerOs(); ok { + _spec.SetField(sourcecontrol.FieldRunnerOs, field.TypeString, value) + } + if scu.mutation.RunnerOsCleared() { + _spec.ClearField(sourcecontrol.FieldRunnerOs, field.TypeString) + } if scu.mutation.BazelInvocationCleared() { edge := &sqlgraph.EdgeSpec{ Rel: sqlgraph.O2O, @@ -419,6 +627,166 @@ func (scuo *SourceControlUpdateOne) ClearRunID() *SourceControlUpdateOne { return scuo } +// SetWorkflow sets the "workflow" field. +func (scuo *SourceControlUpdateOne) SetWorkflow(s string) *SourceControlUpdateOne { + scuo.mutation.SetWorkflow(s) + return scuo +} + +// SetNillableWorkflow sets the "workflow" field if the given value is not nil. +func (scuo *SourceControlUpdateOne) SetNillableWorkflow(s *string) *SourceControlUpdateOne { + if s != nil { + scuo.SetWorkflow(*s) + } + return scuo +} + +// ClearWorkflow clears the value of the "workflow" field. +func (scuo *SourceControlUpdateOne) ClearWorkflow() *SourceControlUpdateOne { + scuo.mutation.ClearWorkflow() + return scuo +} + +// SetAction sets the "action" field. +func (scuo *SourceControlUpdateOne) SetAction(s string) *SourceControlUpdateOne { + scuo.mutation.SetAction(s) + return scuo +} + +// SetNillableAction sets the "action" field if the given value is not nil. +func (scuo *SourceControlUpdateOne) SetNillableAction(s *string) *SourceControlUpdateOne { + if s != nil { + scuo.SetAction(*s) + } + return scuo +} + +// ClearAction clears the value of the "action" field. +func (scuo *SourceControlUpdateOne) ClearAction() *SourceControlUpdateOne { + scuo.mutation.ClearAction() + return scuo +} + +// SetWorkspace sets the "workspace" field. +func (scuo *SourceControlUpdateOne) SetWorkspace(s string) *SourceControlUpdateOne { + scuo.mutation.SetWorkspace(s) + return scuo +} + +// SetNillableWorkspace sets the "workspace" field if the given value is not nil. +func (scuo *SourceControlUpdateOne) SetNillableWorkspace(s *string) *SourceControlUpdateOne { + if s != nil { + scuo.SetWorkspace(*s) + } + return scuo +} + +// ClearWorkspace clears the value of the "workspace" field. +func (scuo *SourceControlUpdateOne) ClearWorkspace() *SourceControlUpdateOne { + scuo.mutation.ClearWorkspace() + return scuo +} + +// SetEventName sets the "event_name" field. +func (scuo *SourceControlUpdateOne) SetEventName(s string) *SourceControlUpdateOne { + scuo.mutation.SetEventName(s) + return scuo +} + +// SetNillableEventName sets the "event_name" field if the given value is not nil. +func (scuo *SourceControlUpdateOne) SetNillableEventName(s *string) *SourceControlUpdateOne { + if s != nil { + scuo.SetEventName(*s) + } + return scuo +} + +// ClearEventName clears the value of the "event_name" field. +func (scuo *SourceControlUpdateOne) ClearEventName() *SourceControlUpdateOne { + scuo.mutation.ClearEventName() + return scuo +} + +// SetJob sets the "job" field. +func (scuo *SourceControlUpdateOne) SetJob(s string) *SourceControlUpdateOne { + scuo.mutation.SetJob(s) + return scuo +} + +// SetNillableJob sets the "job" field if the given value is not nil. +func (scuo *SourceControlUpdateOne) SetNillableJob(s *string) *SourceControlUpdateOne { + if s != nil { + scuo.SetJob(*s) + } + return scuo +} + +// ClearJob clears the value of the "job" field. +func (scuo *SourceControlUpdateOne) ClearJob() *SourceControlUpdateOne { + scuo.mutation.ClearJob() + return scuo +} + +// SetRunnerName sets the "runner_name" field. +func (scuo *SourceControlUpdateOne) SetRunnerName(s string) *SourceControlUpdateOne { + scuo.mutation.SetRunnerName(s) + return scuo +} + +// SetNillableRunnerName sets the "runner_name" field if the given value is not nil. +func (scuo *SourceControlUpdateOne) SetNillableRunnerName(s *string) *SourceControlUpdateOne { + if s != nil { + scuo.SetRunnerName(*s) + } + return scuo +} + +// ClearRunnerName clears the value of the "runner_name" field. +func (scuo *SourceControlUpdateOne) ClearRunnerName() *SourceControlUpdateOne { + scuo.mutation.ClearRunnerName() + return scuo +} + +// SetRunnerArch sets the "runner_arch" field. +func (scuo *SourceControlUpdateOne) SetRunnerArch(s string) *SourceControlUpdateOne { + scuo.mutation.SetRunnerArch(s) + return scuo +} + +// SetNillableRunnerArch sets the "runner_arch" field if the given value is not nil. +func (scuo *SourceControlUpdateOne) SetNillableRunnerArch(s *string) *SourceControlUpdateOne { + if s != nil { + scuo.SetRunnerArch(*s) + } + return scuo +} + +// ClearRunnerArch clears the value of the "runner_arch" field. +func (scuo *SourceControlUpdateOne) ClearRunnerArch() *SourceControlUpdateOne { + scuo.mutation.ClearRunnerArch() + return scuo +} + +// SetRunnerOs sets the "runner_os" field. +func (scuo *SourceControlUpdateOne) SetRunnerOs(s string) *SourceControlUpdateOne { + scuo.mutation.SetRunnerOs(s) + return scuo +} + +// SetNillableRunnerOs sets the "runner_os" field if the given value is not nil. +func (scuo *SourceControlUpdateOne) SetNillableRunnerOs(s *string) *SourceControlUpdateOne { + if s != nil { + scuo.SetRunnerOs(*s) + } + return scuo +} + +// ClearRunnerOs clears the value of the "runner_os" field. +func (scuo *SourceControlUpdateOne) ClearRunnerOs() *SourceControlUpdateOne { + scuo.mutation.ClearRunnerOs() + return scuo +} + // SetBazelInvocationID sets the "bazel_invocation" edge to the BazelInvocation entity by ID. func (scuo *SourceControlUpdateOne) SetBazelInvocationID(id int) *SourceControlUpdateOne { scuo.mutation.SetBazelInvocationID(id) @@ -551,6 +919,54 @@ func (scuo *SourceControlUpdateOne) sqlSave(ctx context.Context) (_node *SourceC if scuo.mutation.RunIDCleared() { _spec.ClearField(sourcecontrol.FieldRunID, field.TypeString) } + if value, ok := scuo.mutation.Workflow(); ok { + _spec.SetField(sourcecontrol.FieldWorkflow, field.TypeString, value) + } + if scuo.mutation.WorkflowCleared() { + _spec.ClearField(sourcecontrol.FieldWorkflow, field.TypeString) + } + if value, ok := scuo.mutation.Action(); ok { + _spec.SetField(sourcecontrol.FieldAction, field.TypeString, value) + } + if scuo.mutation.ActionCleared() { + _spec.ClearField(sourcecontrol.FieldAction, field.TypeString) + } + if value, ok := scuo.mutation.Workspace(); ok { + _spec.SetField(sourcecontrol.FieldWorkspace, field.TypeString, value) + } + if scuo.mutation.WorkspaceCleared() { + _spec.ClearField(sourcecontrol.FieldWorkspace, field.TypeString) + } + if value, ok := scuo.mutation.EventName(); ok { + _spec.SetField(sourcecontrol.FieldEventName, field.TypeString, value) + } + if scuo.mutation.EventNameCleared() { + _spec.ClearField(sourcecontrol.FieldEventName, field.TypeString) + } + if value, ok := scuo.mutation.Job(); ok { + _spec.SetField(sourcecontrol.FieldJob, field.TypeString, value) + } + if scuo.mutation.JobCleared() { + _spec.ClearField(sourcecontrol.FieldJob, field.TypeString) + } + if value, ok := scuo.mutation.RunnerName(); ok { + _spec.SetField(sourcecontrol.FieldRunnerName, field.TypeString, value) + } + if scuo.mutation.RunnerNameCleared() { + _spec.ClearField(sourcecontrol.FieldRunnerName, field.TypeString) + } + if value, ok := scuo.mutation.RunnerArch(); ok { + _spec.SetField(sourcecontrol.FieldRunnerArch, field.TypeString, value) + } + if scuo.mutation.RunnerArchCleared() { + _spec.ClearField(sourcecontrol.FieldRunnerArch, field.TypeString) + } + if value, ok := scuo.mutation.RunnerOs(); ok { + _spec.SetField(sourcecontrol.FieldRunnerOs, field.TypeString, value) + } + if scuo.mutation.RunnerOsCleared() { + _spec.ClearField(sourcecontrol.FieldRunnerOs, field.TypeString) + } if scuo.mutation.BazelInvocationCleared() { edge := &sqlgraph.EdgeSpec{ Rel: sqlgraph.O2O, diff --git a/ent/schema/sourcecontrol.go b/ent/schema/sourcecontrol.go index 69de7b1..ad3ca72 100644 --- a/ent/schema/sourcecontrol.go +++ b/ent/schema/sourcecontrol.go @@ -29,8 +29,32 @@ func (SourceControl) Fields() []ent.Field { // The source control refs associated with the invocation field.String("refs").Optional(), - // The source control run i d associated with the invocation + // The source control run id associated with the invocation field.String("run_id").Optional(), + + // The source control workflow associated with the invocation + field.String("workflow").Optional(), + + // The source control action associated with the invocation + field.String("action").Optional(), + + // The source control workspace associated with the invocation + field.String("workspace").Optional(), + + // The source control event name associated with the invocation + field.String("event_name").Optional(), + + // The source control job associated with the invocation + field.String("job").Optional(), + + // The source control job associated with the invocation (Possible duplicate) + field.String("runner_name").Optional(), + + // The source control runner architecture associated with the invocation (Possible duplicate) + field.String("runner_arch").Optional(), + + // The source control runner architecture associated with the invocation (Possible duplicate) + field.String("runner_os").Optional(), } } diff --git a/frontend/src/app/bazel-invocations/[invocationID]/index.graphql.ts b/frontend/src/app/bazel-invocations/[invocationID]/index.graphql.ts index 4bbc975..97a3e5e 100644 --- a/frontend/src/app/bazel-invocations/[invocationID]/index.graphql.ts +++ b/frontend/src/app/bazel-invocations/[invocationID]/index.graphql.ts @@ -244,6 +244,14 @@ fragment BazelInvocationInfo on BazelInvocation { repoURL refs runID + workflow + workspace + action + eventName + job + runnerName + runnerArch + runnerOs } } `); diff --git a/frontend/src/components/SourceControlDisplay/index.tsx b/frontend/src/components/SourceControlDisplay/index.tsx index 493453b..bf9b799 100644 --- a/frontend/src/components/SourceControlDisplay/index.tsx +++ b/frontend/src/components/SourceControlDisplay/index.tsx @@ -52,6 +52,29 @@ const SourceControlDisplay: React.FC<{ {stepLabel} + + + {sourceControlData?.workflow} + + + {sourceControlData?.job} + + + {sourceControlData?.action} + + + {sourceControlData?.eventName} + + + {sourceControlData?.runnerName} + + + {sourceControlData?.runnerArch} + + + {sourceControlData?.runnerOs} + + diff --git a/frontend/src/graphql/__generated__/gql.ts b/frontend/src/graphql/__generated__/gql.ts index 3b2687e..2055611 100644 --- a/frontend/src/graphql/__generated__/gql.ts +++ b/frontend/src/graphql/__generated__/gql.ts @@ -16,7 +16,7 @@ const documents = { "\n query LoadFullBazelInvocationDetails($invocationID: String!) {\n bazelInvocation(invocationId: $invocationID) {\n ...FullBazelInvocationDetails\n }\n }\n": types.LoadFullBazelInvocationDetailsDocument, "\n query GetProblemDetails($invocationID: String!) {\n bazelInvocation(invocationId: $invocationID) {\n ...ProblemDetails\n }\n }\n": types.GetProblemDetailsDocument, "\n\n fragment ProblemDetails on BazelInvocation{\n problems {\n ...ProblemInfo\n }\n }\n\n": types.ProblemDetailsFragmentDoc, - "\nfragment BazelInvocationInfo on BazelInvocation {\n metrics {\n id\n actionSummary {\n id\n actionsCreated\n actionsExecuted\n actionsCreatedNotIncludingAspects\n remoteCacheHits\n actionCacheStatistics {\n id\n loadTimeInMs\n saveTimeInMs\n hits\n misses\n sizeInBytes\n missDetails {\n id\n count\n reason\n }\n }\n runnerCount {\n id\n actionsExecuted\n name\n execKind\n }\n actionData {\n id\n mnemonic\n userTime\n systemTime\n lastEndedMs\n actionsCreated\n actionsExecuted\n firstStartedMs\n }\n }\n artifactMetrics {\n id\n sourceArtifactsRead {\n id\n sizeInBytes\n count\n }\n outputArtifactsSeen {\n id\n sizeInBytes\n count\n }\n outputArtifactsFromActionCache {\n id\n sizeInBytes\n count\n }\n topLevelArtifacts {\n id\n sizeInBytes\n count\n }\n }\n cumulativeMetrics {\n id\n numBuilds\n numAnalyses\n }\n dynamicExecutionMetrics {\n id\n raceStatistics {\n id\n localWins\n mnemonic\n renoteWins\n localRunner\n remoteRunner\n }\n }\n buildGraphMetrics {\n id\n actionLookupValueCount\n actionLookupValueCountNotIncludingAspects\n actionCount\n inputFileConfiguredTargetCount\n outputFileConfiguredTargetCount\n otherConfiguredTargetCount\n outputArtifactCount\n postInvocationSkyframeNodeCount\n }\n memoryMetrics {\n id\n usedHeapSizePostBuild\n peakPostGcHeapSize\n peakPostGcTenuredSpaceHeapSize\n garbageMetrics {\n id\n garbageCollected\n type\n }\n }\n targetMetrics {\n id\n targetsLoaded\n targetsConfigured\n targetsConfiguredNotIncludingAspects\n }\n timingMetrics {\n id\n cpuTimeInMs\n wallTimeInMs\n analysisPhaseTimeInMs\n executionPhaseTimeInMs\n actionsExecutionStartInMs\n }\n networkMetrics {\n id\n systemNetworkStats {\n id\n bytesSent\n bytesRecv\n packetsSent\n packetsRecv\n peakBytesSentPerSec\n peakBytesRecvPerSec\n peakPacketsSentPerSec\n peakPacketsRecvPerSec\n }\n }\n packageMetrics {\n id\n packagesLoaded\n packageLoadMetrics {\n id\n name\n numTargets\n loadDuration\n packageOverhead\n computationSteps\n numTransitiveLoads\n }\n }\n }\n bazelCommand {\n id\n command\n executable\n residual\n explicitCmdLine\n cmdLine\n startupOptions\n explicitStartupOptions\n }\n id\n invocationID\n build {\n id\n buildUUID\n }\n profile {\n id\n name\n digest\n sizeInBytes\n }\n targets {\n id\n label\n success\n testSize\n targetKind\n durationInMs\n abortReason\n }\n testCollection {\n id\n label\n strategy\n durationMs\n overallStatus\n cachedLocally\n cachedRemotely\n }\n relatedFiles {\n name\n url\n }\n user {\n Email\n LDAP\n }\n startedAt\n endedAt\n state {\n bepCompleted\n buildEndTime\n buildStartTime\n exitCode {\n code\n id\n name\n }\n id\n }\n configurationMnemonic\n cpu\n numFetches\n stepLabel\n hostname\n isCiWorker\n sourceControl {\n id\n commitSha\n actor\n branch\n repoURL\n refs\n runID\n }\n}\n": types.BazelInvocationInfoFragmentDoc, + "\nfragment BazelInvocationInfo on BazelInvocation {\n metrics {\n id\n actionSummary {\n id\n actionsCreated\n actionsExecuted\n actionsCreatedNotIncludingAspects\n remoteCacheHits\n actionCacheStatistics {\n id\n loadTimeInMs\n saveTimeInMs\n hits\n misses\n sizeInBytes\n missDetails {\n id\n count\n reason\n }\n }\n runnerCount {\n id\n actionsExecuted\n name\n execKind\n }\n actionData {\n id\n mnemonic\n userTime\n systemTime\n lastEndedMs\n actionsCreated\n actionsExecuted\n firstStartedMs\n }\n }\n artifactMetrics {\n id\n sourceArtifactsRead {\n id\n sizeInBytes\n count\n }\n outputArtifactsSeen {\n id\n sizeInBytes\n count\n }\n outputArtifactsFromActionCache {\n id\n sizeInBytes\n count\n }\n topLevelArtifacts {\n id\n sizeInBytes\n count\n }\n }\n cumulativeMetrics {\n id\n numBuilds\n numAnalyses\n }\n dynamicExecutionMetrics {\n id\n raceStatistics {\n id\n localWins\n mnemonic\n renoteWins\n localRunner\n remoteRunner\n }\n }\n buildGraphMetrics {\n id\n actionLookupValueCount\n actionLookupValueCountNotIncludingAspects\n actionCount\n inputFileConfiguredTargetCount\n outputFileConfiguredTargetCount\n otherConfiguredTargetCount\n outputArtifactCount\n postInvocationSkyframeNodeCount\n }\n memoryMetrics {\n id\n usedHeapSizePostBuild\n peakPostGcHeapSize\n peakPostGcTenuredSpaceHeapSize\n garbageMetrics {\n id\n garbageCollected\n type\n }\n }\n targetMetrics {\n id\n targetsLoaded\n targetsConfigured\n targetsConfiguredNotIncludingAspects\n }\n timingMetrics {\n id\n cpuTimeInMs\n wallTimeInMs\n analysisPhaseTimeInMs\n executionPhaseTimeInMs\n actionsExecutionStartInMs\n }\n networkMetrics {\n id\n systemNetworkStats {\n id\n bytesSent\n bytesRecv\n packetsSent\n packetsRecv\n peakBytesSentPerSec\n peakBytesRecvPerSec\n peakPacketsSentPerSec\n peakPacketsRecvPerSec\n }\n }\n packageMetrics {\n id\n packagesLoaded\n packageLoadMetrics {\n id\n name\n numTargets\n loadDuration\n packageOverhead\n computationSteps\n numTransitiveLoads\n }\n }\n }\n bazelCommand {\n id\n command\n executable\n residual\n explicitCmdLine\n cmdLine\n startupOptions\n explicitStartupOptions\n }\n id\n invocationID\n build {\n id\n buildUUID\n }\n profile {\n id\n name\n digest\n sizeInBytes\n }\n targets {\n id\n label\n success\n testSize\n targetKind\n durationInMs\n abortReason\n }\n testCollection {\n id\n label\n strategy\n durationMs\n overallStatus\n cachedLocally\n cachedRemotely\n }\n relatedFiles {\n name\n url\n }\n user {\n Email\n LDAP\n }\n startedAt\n endedAt\n state {\n bepCompleted\n buildEndTime\n buildStartTime\n exitCode {\n code\n id\n name\n }\n id\n }\n configurationMnemonic\n cpu\n numFetches\n stepLabel\n hostname\n isCiWorker\n sourceControl {\n id\n commitSha\n actor\n branch\n repoURL\n refs\n runID\n workflow\n workspace\n action\n eventName\n job\n runnerName\n runnerArch\n runnerOs\n }\n}\n": types.BazelInvocationInfoFragmentDoc, "\n fragment ProblemInfo on Problem {\n id\n label\n __typename\n ... on ActionProblem {\n __typename\n id\n label\n type\n stdout {\n ...BlobReferenceInfo\n }\n stderr {\n ...BlobReferenceInfo\n }\n }\n ... on TestProblem {\n __typename\n id\n label\n status\n results {\n __typename\n id\n run\n shard\n attempt\n status\n actionLogOutput {\n ...BlobReferenceInfo\n }\n undeclaredTestOutputs {\n ...BlobReferenceInfo\n }\n }\n }\n ... on TargetProblem {\n __typename\n id\n label\n }\n ... on ProgressProblem {\n __typename\n id\n output\n label\n }\n}\n": types.ProblemInfoFragmentDoc, "\nfragment BlobReferenceInfo on BlobReference {\n availabilityStatus\n name\n sizeInBytes\n downloadURL\n ephemeralURL\n}\n": types.BlobReferenceInfoFragmentDoc, "\n fragment FullBazelInvocationDetails on BazelInvocation {\n ...BazelInvocationInfo\n }\n": types.FullBazelInvocationDetailsFragmentDoc, @@ -67,7 +67,7 @@ export function gql(source: "\n\n fragment ProblemDetails on BazelInvocation{\n /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ -export function gql(source: "\nfragment BazelInvocationInfo on BazelInvocation {\n metrics {\n id\n actionSummary {\n id\n actionsCreated\n actionsExecuted\n actionsCreatedNotIncludingAspects\n remoteCacheHits\n actionCacheStatistics {\n id\n loadTimeInMs\n saveTimeInMs\n hits\n misses\n sizeInBytes\n missDetails {\n id\n count\n reason\n }\n }\n runnerCount {\n id\n actionsExecuted\n name\n execKind\n }\n actionData {\n id\n mnemonic\n userTime\n systemTime\n lastEndedMs\n actionsCreated\n actionsExecuted\n firstStartedMs\n }\n }\n artifactMetrics {\n id\n sourceArtifactsRead {\n id\n sizeInBytes\n count\n }\n outputArtifactsSeen {\n id\n sizeInBytes\n count\n }\n outputArtifactsFromActionCache {\n id\n sizeInBytes\n count\n }\n topLevelArtifacts {\n id\n sizeInBytes\n count\n }\n }\n cumulativeMetrics {\n id\n numBuilds\n numAnalyses\n }\n dynamicExecutionMetrics {\n id\n raceStatistics {\n id\n localWins\n mnemonic\n renoteWins\n localRunner\n remoteRunner\n }\n }\n buildGraphMetrics {\n id\n actionLookupValueCount\n actionLookupValueCountNotIncludingAspects\n actionCount\n inputFileConfiguredTargetCount\n outputFileConfiguredTargetCount\n otherConfiguredTargetCount\n outputArtifactCount\n postInvocationSkyframeNodeCount\n }\n memoryMetrics {\n id\n usedHeapSizePostBuild\n peakPostGcHeapSize\n peakPostGcTenuredSpaceHeapSize\n garbageMetrics {\n id\n garbageCollected\n type\n }\n }\n targetMetrics {\n id\n targetsLoaded\n targetsConfigured\n targetsConfiguredNotIncludingAspects\n }\n timingMetrics {\n id\n cpuTimeInMs\n wallTimeInMs\n analysisPhaseTimeInMs\n executionPhaseTimeInMs\n actionsExecutionStartInMs\n }\n networkMetrics {\n id\n systemNetworkStats {\n id\n bytesSent\n bytesRecv\n packetsSent\n packetsRecv\n peakBytesSentPerSec\n peakBytesRecvPerSec\n peakPacketsSentPerSec\n peakPacketsRecvPerSec\n }\n }\n packageMetrics {\n id\n packagesLoaded\n packageLoadMetrics {\n id\n name\n numTargets\n loadDuration\n packageOverhead\n computationSteps\n numTransitiveLoads\n }\n }\n }\n bazelCommand {\n id\n command\n executable\n residual\n explicitCmdLine\n cmdLine\n startupOptions\n explicitStartupOptions\n }\n id\n invocationID\n build {\n id\n buildUUID\n }\n profile {\n id\n name\n digest\n sizeInBytes\n }\n targets {\n id\n label\n success\n testSize\n targetKind\n durationInMs\n abortReason\n }\n testCollection {\n id\n label\n strategy\n durationMs\n overallStatus\n cachedLocally\n cachedRemotely\n }\n relatedFiles {\n name\n url\n }\n user {\n Email\n LDAP\n }\n startedAt\n endedAt\n state {\n bepCompleted\n buildEndTime\n buildStartTime\n exitCode {\n code\n id\n name\n }\n id\n }\n configurationMnemonic\n cpu\n numFetches\n stepLabel\n hostname\n isCiWorker\n sourceControl {\n id\n commitSha\n actor\n branch\n repoURL\n refs\n runID\n }\n}\n"): (typeof documents)["\nfragment BazelInvocationInfo on BazelInvocation {\n metrics {\n id\n actionSummary {\n id\n actionsCreated\n actionsExecuted\n actionsCreatedNotIncludingAspects\n remoteCacheHits\n actionCacheStatistics {\n id\n loadTimeInMs\n saveTimeInMs\n hits\n misses\n sizeInBytes\n missDetails {\n id\n count\n reason\n }\n }\n runnerCount {\n id\n actionsExecuted\n name\n execKind\n }\n actionData {\n id\n mnemonic\n userTime\n systemTime\n lastEndedMs\n actionsCreated\n actionsExecuted\n firstStartedMs\n }\n }\n artifactMetrics {\n id\n sourceArtifactsRead {\n id\n sizeInBytes\n count\n }\n outputArtifactsSeen {\n id\n sizeInBytes\n count\n }\n outputArtifactsFromActionCache {\n id\n sizeInBytes\n count\n }\n topLevelArtifacts {\n id\n sizeInBytes\n count\n }\n }\n cumulativeMetrics {\n id\n numBuilds\n numAnalyses\n }\n dynamicExecutionMetrics {\n id\n raceStatistics {\n id\n localWins\n mnemonic\n renoteWins\n localRunner\n remoteRunner\n }\n }\n buildGraphMetrics {\n id\n actionLookupValueCount\n actionLookupValueCountNotIncludingAspects\n actionCount\n inputFileConfiguredTargetCount\n outputFileConfiguredTargetCount\n otherConfiguredTargetCount\n outputArtifactCount\n postInvocationSkyframeNodeCount\n }\n memoryMetrics {\n id\n usedHeapSizePostBuild\n peakPostGcHeapSize\n peakPostGcTenuredSpaceHeapSize\n garbageMetrics {\n id\n garbageCollected\n type\n }\n }\n targetMetrics {\n id\n targetsLoaded\n targetsConfigured\n targetsConfiguredNotIncludingAspects\n }\n timingMetrics {\n id\n cpuTimeInMs\n wallTimeInMs\n analysisPhaseTimeInMs\n executionPhaseTimeInMs\n actionsExecutionStartInMs\n }\n networkMetrics {\n id\n systemNetworkStats {\n id\n bytesSent\n bytesRecv\n packetsSent\n packetsRecv\n peakBytesSentPerSec\n peakBytesRecvPerSec\n peakPacketsSentPerSec\n peakPacketsRecvPerSec\n }\n }\n packageMetrics {\n id\n packagesLoaded\n packageLoadMetrics {\n id\n name\n numTargets\n loadDuration\n packageOverhead\n computationSteps\n numTransitiveLoads\n }\n }\n }\n bazelCommand {\n id\n command\n executable\n residual\n explicitCmdLine\n cmdLine\n startupOptions\n explicitStartupOptions\n }\n id\n invocationID\n build {\n id\n buildUUID\n }\n profile {\n id\n name\n digest\n sizeInBytes\n }\n targets {\n id\n label\n success\n testSize\n targetKind\n durationInMs\n abortReason\n }\n testCollection {\n id\n label\n strategy\n durationMs\n overallStatus\n cachedLocally\n cachedRemotely\n }\n relatedFiles {\n name\n url\n }\n user {\n Email\n LDAP\n }\n startedAt\n endedAt\n state {\n bepCompleted\n buildEndTime\n buildStartTime\n exitCode {\n code\n id\n name\n }\n id\n }\n configurationMnemonic\n cpu\n numFetches\n stepLabel\n hostname\n isCiWorker\n sourceControl {\n id\n commitSha\n actor\n branch\n repoURL\n refs\n runID\n }\n}\n"]; +export function gql(source: "\nfragment BazelInvocationInfo on BazelInvocation {\n metrics {\n id\n actionSummary {\n id\n actionsCreated\n actionsExecuted\n actionsCreatedNotIncludingAspects\n remoteCacheHits\n actionCacheStatistics {\n id\n loadTimeInMs\n saveTimeInMs\n hits\n misses\n sizeInBytes\n missDetails {\n id\n count\n reason\n }\n }\n runnerCount {\n id\n actionsExecuted\n name\n execKind\n }\n actionData {\n id\n mnemonic\n userTime\n systemTime\n lastEndedMs\n actionsCreated\n actionsExecuted\n firstStartedMs\n }\n }\n artifactMetrics {\n id\n sourceArtifactsRead {\n id\n sizeInBytes\n count\n }\n outputArtifactsSeen {\n id\n sizeInBytes\n count\n }\n outputArtifactsFromActionCache {\n id\n sizeInBytes\n count\n }\n topLevelArtifacts {\n id\n sizeInBytes\n count\n }\n }\n cumulativeMetrics {\n id\n numBuilds\n numAnalyses\n }\n dynamicExecutionMetrics {\n id\n raceStatistics {\n id\n localWins\n mnemonic\n renoteWins\n localRunner\n remoteRunner\n }\n }\n buildGraphMetrics {\n id\n actionLookupValueCount\n actionLookupValueCountNotIncludingAspects\n actionCount\n inputFileConfiguredTargetCount\n outputFileConfiguredTargetCount\n otherConfiguredTargetCount\n outputArtifactCount\n postInvocationSkyframeNodeCount\n }\n memoryMetrics {\n id\n usedHeapSizePostBuild\n peakPostGcHeapSize\n peakPostGcTenuredSpaceHeapSize\n garbageMetrics {\n id\n garbageCollected\n type\n }\n }\n targetMetrics {\n id\n targetsLoaded\n targetsConfigured\n targetsConfiguredNotIncludingAspects\n }\n timingMetrics {\n id\n cpuTimeInMs\n wallTimeInMs\n analysisPhaseTimeInMs\n executionPhaseTimeInMs\n actionsExecutionStartInMs\n }\n networkMetrics {\n id\n systemNetworkStats {\n id\n bytesSent\n bytesRecv\n packetsSent\n packetsRecv\n peakBytesSentPerSec\n peakBytesRecvPerSec\n peakPacketsSentPerSec\n peakPacketsRecvPerSec\n }\n }\n packageMetrics {\n id\n packagesLoaded\n packageLoadMetrics {\n id\n name\n numTargets\n loadDuration\n packageOverhead\n computationSteps\n numTransitiveLoads\n }\n }\n }\n bazelCommand {\n id\n command\n executable\n residual\n explicitCmdLine\n cmdLine\n startupOptions\n explicitStartupOptions\n }\n id\n invocationID\n build {\n id\n buildUUID\n }\n profile {\n id\n name\n digest\n sizeInBytes\n }\n targets {\n id\n label\n success\n testSize\n targetKind\n durationInMs\n abortReason\n }\n testCollection {\n id\n label\n strategy\n durationMs\n overallStatus\n cachedLocally\n cachedRemotely\n }\n relatedFiles {\n name\n url\n }\n user {\n Email\n LDAP\n }\n startedAt\n endedAt\n state {\n bepCompleted\n buildEndTime\n buildStartTime\n exitCode {\n code\n id\n name\n }\n id\n }\n configurationMnemonic\n cpu\n numFetches\n stepLabel\n hostname\n isCiWorker\n sourceControl {\n id\n commitSha\n actor\n branch\n repoURL\n refs\n runID\n workflow\n workspace\n action\n eventName\n job\n runnerName\n runnerArch\n runnerOs\n }\n}\n"): (typeof documents)["\nfragment BazelInvocationInfo on BazelInvocation {\n metrics {\n id\n actionSummary {\n id\n actionsCreated\n actionsExecuted\n actionsCreatedNotIncludingAspects\n remoteCacheHits\n actionCacheStatistics {\n id\n loadTimeInMs\n saveTimeInMs\n hits\n misses\n sizeInBytes\n missDetails {\n id\n count\n reason\n }\n }\n runnerCount {\n id\n actionsExecuted\n name\n execKind\n }\n actionData {\n id\n mnemonic\n userTime\n systemTime\n lastEndedMs\n actionsCreated\n actionsExecuted\n firstStartedMs\n }\n }\n artifactMetrics {\n id\n sourceArtifactsRead {\n id\n sizeInBytes\n count\n }\n outputArtifactsSeen {\n id\n sizeInBytes\n count\n }\n outputArtifactsFromActionCache {\n id\n sizeInBytes\n count\n }\n topLevelArtifacts {\n id\n sizeInBytes\n count\n }\n }\n cumulativeMetrics {\n id\n numBuilds\n numAnalyses\n }\n dynamicExecutionMetrics {\n id\n raceStatistics {\n id\n localWins\n mnemonic\n renoteWins\n localRunner\n remoteRunner\n }\n }\n buildGraphMetrics {\n id\n actionLookupValueCount\n actionLookupValueCountNotIncludingAspects\n actionCount\n inputFileConfiguredTargetCount\n outputFileConfiguredTargetCount\n otherConfiguredTargetCount\n outputArtifactCount\n postInvocationSkyframeNodeCount\n }\n memoryMetrics {\n id\n usedHeapSizePostBuild\n peakPostGcHeapSize\n peakPostGcTenuredSpaceHeapSize\n garbageMetrics {\n id\n garbageCollected\n type\n }\n }\n targetMetrics {\n id\n targetsLoaded\n targetsConfigured\n targetsConfiguredNotIncludingAspects\n }\n timingMetrics {\n id\n cpuTimeInMs\n wallTimeInMs\n analysisPhaseTimeInMs\n executionPhaseTimeInMs\n actionsExecutionStartInMs\n }\n networkMetrics {\n id\n systemNetworkStats {\n id\n bytesSent\n bytesRecv\n packetsSent\n packetsRecv\n peakBytesSentPerSec\n peakBytesRecvPerSec\n peakPacketsSentPerSec\n peakPacketsRecvPerSec\n }\n }\n packageMetrics {\n id\n packagesLoaded\n packageLoadMetrics {\n id\n name\n numTargets\n loadDuration\n packageOverhead\n computationSteps\n numTransitiveLoads\n }\n }\n }\n bazelCommand {\n id\n command\n executable\n residual\n explicitCmdLine\n cmdLine\n startupOptions\n explicitStartupOptions\n }\n id\n invocationID\n build {\n id\n buildUUID\n }\n profile {\n id\n name\n digest\n sizeInBytes\n }\n targets {\n id\n label\n success\n testSize\n targetKind\n durationInMs\n abortReason\n }\n testCollection {\n id\n label\n strategy\n durationMs\n overallStatus\n cachedLocally\n cachedRemotely\n }\n relatedFiles {\n name\n url\n }\n user {\n Email\n LDAP\n }\n startedAt\n endedAt\n state {\n bepCompleted\n buildEndTime\n buildStartTime\n exitCode {\n code\n id\n name\n }\n id\n }\n configurationMnemonic\n cpu\n numFetches\n stepLabel\n hostname\n isCiWorker\n sourceControl {\n id\n commitSha\n actor\n branch\n repoURL\n refs\n runID\n workflow\n workspace\n action\n eventName\n job\n runnerName\n runnerArch\n runnerOs\n }\n}\n"]; /** * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients. */ diff --git a/frontend/src/graphql/__generated__/graphql.ts b/frontend/src/graphql/__generated__/graphql.ts index c0bf020..5334bb5 100644 --- a/frontend/src/graphql/__generated__/graphql.ts +++ b/frontend/src/graphql/__generated__/graphql.ts @@ -2580,14 +2580,22 @@ export type RunnerCountWhereInput = { export type SourceControl = Node & { __typename?: 'SourceControl'; + action?: Maybe; actor?: Maybe; bazelInvocation?: Maybe; branch?: Maybe; commitSha?: Maybe; + eventName?: Maybe; id: Scalars['ID']['output']; + job?: Maybe; refs?: Maybe; repoURL?: Maybe; runID?: Maybe; + runnerArch?: Maybe; + runnerName?: Maybe; + runnerOs?: Maybe; + workflow?: Maybe; + workspace?: Maybe; }; /** @@ -2595,6 +2603,22 @@ export type SourceControl = Node & { * Input was generated by ent. */ export type SourceControlWhereInput = { + /** action field predicates */ + action?: InputMaybe; + actionContains?: InputMaybe; + actionContainsFold?: InputMaybe; + actionEqualFold?: InputMaybe; + actionGT?: InputMaybe; + actionGTE?: InputMaybe; + actionHasPrefix?: InputMaybe; + actionHasSuffix?: InputMaybe; + actionIn?: InputMaybe>; + actionIsNil?: InputMaybe; + actionLT?: InputMaybe; + actionLTE?: InputMaybe; + actionNEQ?: InputMaybe; + actionNotIn?: InputMaybe>; + actionNotNil?: InputMaybe; /** actor field predicates */ actor?: InputMaybe; actorContains?: InputMaybe; @@ -2644,6 +2668,22 @@ export type SourceControlWhereInput = { commitShaNEQ?: InputMaybe; commitShaNotIn?: InputMaybe>; commitShaNotNil?: InputMaybe; + /** event_name field predicates */ + eventName?: InputMaybe; + eventNameContains?: InputMaybe; + eventNameContainsFold?: InputMaybe; + eventNameEqualFold?: InputMaybe; + eventNameGT?: InputMaybe; + eventNameGTE?: InputMaybe; + eventNameHasPrefix?: InputMaybe; + eventNameHasSuffix?: InputMaybe; + eventNameIn?: InputMaybe>; + eventNameIsNil?: InputMaybe; + eventNameLT?: InputMaybe; + eventNameLTE?: InputMaybe; + eventNameNEQ?: InputMaybe; + eventNameNotIn?: InputMaybe>; + eventNameNotNil?: InputMaybe; /** bazel_invocation edge predicates */ hasBazelInvocation?: InputMaybe; hasBazelInvocationWith?: InputMaybe>; @@ -2656,6 +2696,22 @@ export type SourceControlWhereInput = { idLTE?: InputMaybe; idNEQ?: InputMaybe; idNotIn?: InputMaybe>; + /** job field predicates */ + job?: InputMaybe; + jobContains?: InputMaybe; + jobContainsFold?: InputMaybe; + jobEqualFold?: InputMaybe; + jobGT?: InputMaybe; + jobGTE?: InputMaybe; + jobHasPrefix?: InputMaybe; + jobHasSuffix?: InputMaybe; + jobIn?: InputMaybe>; + jobIsNil?: InputMaybe; + jobLT?: InputMaybe; + jobLTE?: InputMaybe; + jobNEQ?: InputMaybe; + jobNotIn?: InputMaybe>; + jobNotNil?: InputMaybe; not?: InputMaybe; or?: InputMaybe>; /** refs field predicates */ @@ -2706,6 +2762,86 @@ export type SourceControlWhereInput = { runIDNEQ?: InputMaybe; runIDNotIn?: InputMaybe>; runIDNotNil?: InputMaybe; + /** runner_arch field predicates */ + runnerArch?: InputMaybe; + runnerArchContains?: InputMaybe; + runnerArchContainsFold?: InputMaybe; + runnerArchEqualFold?: InputMaybe; + runnerArchGT?: InputMaybe; + runnerArchGTE?: InputMaybe; + runnerArchHasPrefix?: InputMaybe; + runnerArchHasSuffix?: InputMaybe; + runnerArchIn?: InputMaybe>; + runnerArchIsNil?: InputMaybe; + runnerArchLT?: InputMaybe; + runnerArchLTE?: InputMaybe; + runnerArchNEQ?: InputMaybe; + runnerArchNotIn?: InputMaybe>; + runnerArchNotNil?: InputMaybe; + /** runner_name field predicates */ + runnerName?: InputMaybe; + runnerNameContains?: InputMaybe; + runnerNameContainsFold?: InputMaybe; + runnerNameEqualFold?: InputMaybe; + runnerNameGT?: InputMaybe; + runnerNameGTE?: InputMaybe; + runnerNameHasPrefix?: InputMaybe; + runnerNameHasSuffix?: InputMaybe; + runnerNameIn?: InputMaybe>; + runnerNameIsNil?: InputMaybe; + runnerNameLT?: InputMaybe; + runnerNameLTE?: InputMaybe; + runnerNameNEQ?: InputMaybe; + runnerNameNotIn?: InputMaybe>; + runnerNameNotNil?: InputMaybe; + /** runner_os field predicates */ + runnerOs?: InputMaybe; + runnerOsContains?: InputMaybe; + runnerOsContainsFold?: InputMaybe; + runnerOsEqualFold?: InputMaybe; + runnerOsGT?: InputMaybe; + runnerOsGTE?: InputMaybe; + runnerOsHasPrefix?: InputMaybe; + runnerOsHasSuffix?: InputMaybe; + runnerOsIn?: InputMaybe>; + runnerOsIsNil?: InputMaybe; + runnerOsLT?: InputMaybe; + runnerOsLTE?: InputMaybe; + runnerOsNEQ?: InputMaybe; + runnerOsNotIn?: InputMaybe>; + runnerOsNotNil?: InputMaybe; + /** workflow field predicates */ + workflow?: InputMaybe; + workflowContains?: InputMaybe; + workflowContainsFold?: InputMaybe; + workflowEqualFold?: InputMaybe; + workflowGT?: InputMaybe; + workflowGTE?: InputMaybe; + workflowHasPrefix?: InputMaybe; + workflowHasSuffix?: InputMaybe; + workflowIn?: InputMaybe>; + workflowIsNil?: InputMaybe; + workflowLT?: InputMaybe; + workflowLTE?: InputMaybe; + workflowNEQ?: InputMaybe; + workflowNotIn?: InputMaybe>; + workflowNotNil?: InputMaybe; + /** workspace field predicates */ + workspace?: InputMaybe; + workspaceContains?: InputMaybe; + workspaceContainsFold?: InputMaybe; + workspaceEqualFold?: InputMaybe; + workspaceGT?: InputMaybe; + workspaceGTE?: InputMaybe; + workspaceHasPrefix?: InputMaybe; + workspaceHasSuffix?: InputMaybe; + workspaceIn?: InputMaybe>; + workspaceIsNil?: InputMaybe; + workspaceLT?: InputMaybe; + workspaceLTE?: InputMaybe; + workspaceNEQ?: InputMaybe; + workspaceNotIn?: InputMaybe>; + workspaceNotNil?: InputMaybe; }; export type SystemNetworkStats = Node & { @@ -4166,7 +4302,7 @@ export type ProblemDetailsFragment = { __typename?: 'BazelInvocation', problems: & { ' $fragmentRefs'?: { 'ProblemInfo_TestProblem_Fragment': ProblemInfo_TestProblem_Fragment } } )> } & { ' $fragmentName'?: 'ProblemDetailsFragment' }; -export type BazelInvocationInfoFragment = { __typename?: 'BazelInvocation', id: string, invocationID: any, startedAt: any, endedAt?: any | null, configurationMnemonic?: string | null, cpu?: string | null, numFetches?: number | null, stepLabel: string, hostname?: string | null, isCiWorker?: boolean | null, metrics?: { __typename?: 'Metrics', id: string, actionSummary?: { __typename?: 'ActionSummary', id: string, actionsCreated?: number | null, actionsExecuted?: number | null, actionsCreatedNotIncludingAspects?: number | null, remoteCacheHits?: number | null, actionCacheStatistics?: { __typename?: 'ActionCacheStatistics', id: string, loadTimeInMs?: number | null, saveTimeInMs?: number | null, hits?: number | null, misses?: number | null, sizeInBytes?: number | null, missDetails?: Array<{ __typename?: 'MissDetail', id: string, count?: number | null, reason?: MissDetailReason | null }> | null } | null, runnerCount?: Array<{ __typename?: 'RunnerCount', id: string, actionsExecuted?: number | null, name?: string | null, execKind?: string | null }> | null, actionData?: Array<{ __typename?: 'ActionData', id: string, mnemonic?: string | null, userTime?: number | null, systemTime?: number | null, lastEndedMs?: number | null, actionsCreated?: number | null, actionsExecuted?: number | null, firstStartedMs?: number | null }> | null } | null, artifactMetrics?: { __typename?: 'ArtifactMetrics', id: string, sourceArtifactsRead?: { __typename?: 'FilesMetric', id: string, sizeInBytes?: number | null, count?: number | null } | null, outputArtifactsSeen?: { __typename?: 'FilesMetric', id: string, sizeInBytes?: number | null, count?: number | null } | null, outputArtifactsFromActionCache?: { __typename?: 'FilesMetric', id: string, sizeInBytes?: number | null, count?: number | null } | null, topLevelArtifacts?: { __typename?: 'FilesMetric', id: string, sizeInBytes?: number | null, count?: number | null } | null } | null, cumulativeMetrics?: { __typename?: 'CumulativeMetrics', id: string, numBuilds?: number | null, numAnalyses?: number | null } | null, dynamicExecutionMetrics?: { __typename?: 'DynamicExecutionMetrics', id: string, raceStatistics?: Array<{ __typename?: 'RaceStatistics', id: string, localWins?: number | null, mnemonic?: string | null, renoteWins?: number | null, localRunner?: string | null, remoteRunner?: string | null }> | null } | null, buildGraphMetrics?: { __typename?: 'BuildGraphMetrics', id: string, actionLookupValueCount?: number | null, actionLookupValueCountNotIncludingAspects?: number | null, actionCount?: number | null, inputFileConfiguredTargetCount?: number | null, outputFileConfiguredTargetCount?: number | null, otherConfiguredTargetCount?: number | null, outputArtifactCount?: number | null, postInvocationSkyframeNodeCount?: number | null } | null, memoryMetrics?: { __typename?: 'MemoryMetrics', id: string, usedHeapSizePostBuild?: number | null, peakPostGcHeapSize?: number | null, peakPostGcTenuredSpaceHeapSize?: number | null, garbageMetrics?: Array<{ __typename?: 'GarbageMetrics', id: string, garbageCollected?: number | null, type?: string | null }> | null } | null, targetMetrics?: { __typename?: 'TargetMetrics', id: string, targetsLoaded?: number | null, targetsConfigured?: number | null, targetsConfiguredNotIncludingAspects?: number | null } | null, timingMetrics?: { __typename?: 'TimingMetrics', id: string, cpuTimeInMs?: number | null, wallTimeInMs?: number | null, analysisPhaseTimeInMs?: number | null, executionPhaseTimeInMs?: number | null, actionsExecutionStartInMs?: number | null } | null, networkMetrics?: { __typename?: 'NetworkMetrics', id: string, systemNetworkStats?: { __typename?: 'SystemNetworkStats', id: string, bytesSent?: number | null, bytesRecv?: number | null, packetsSent?: number | null, packetsRecv?: number | null, peakBytesSentPerSec?: number | null, peakBytesRecvPerSec?: number | null, peakPacketsSentPerSec?: number | null, peakPacketsRecvPerSec?: number | null } | null } | null, packageMetrics?: { __typename?: 'PackageMetrics', id: string, packagesLoaded?: number | null, packageLoadMetrics?: Array<{ __typename?: 'PackageLoadMetrics', id: string, name?: string | null, numTargets?: number | null, loadDuration?: number | null, packageOverhead?: number | null, computationSteps?: number | null, numTransitiveLoads?: number | null }> | null } | null } | null, bazelCommand: { __typename?: 'BazelCommand', id: string, command: string, executable: string, residual: string, explicitCmdLine: string, cmdLine?: Array | null, startupOptions?: Array | null, explicitStartupOptions?: Array | null }, build?: { __typename?: 'Build', id: string, buildUUID: any } | null, profile?: { __typename?: 'Profile', id: string, name: string, digest: string, sizeInBytes: number } | null, targets?: Array<{ __typename?: 'TargetPair', id: string, label?: string | null, success?: boolean | null, testSize?: TargetPairTestSize | null, targetKind?: string | null, durationInMs?: number | null, abortReason?: TargetPairAbortReason | null }> | null, testCollection?: Array<{ __typename?: 'TestCollection', id: string, label?: string | null, strategy?: string | null, durationMs?: number | null, overallStatus?: TestCollectionOverallStatus | null, cachedLocally?: boolean | null, cachedRemotely?: boolean | null }> | null, relatedFiles: Array<{ __typename?: 'NamedFile', name: string, url: string }>, user?: { __typename?: 'User', Email: string, LDAP: string } | null, state: { __typename?: 'BazelInvocationState', bepCompleted: boolean, buildEndTime: any, buildStartTime: any, id: string, exitCode?: { __typename?: 'ExitCode', code: number, id: string, name: string } | null }, sourceControl?: { __typename?: 'SourceControl', id: string, commitSha?: string | null, actor?: string | null, branch?: string | null, repoURL?: string | null, refs?: string | null, runID?: string | null } | null } & { ' $fragmentName'?: 'BazelInvocationInfoFragment' }; +export type BazelInvocationInfoFragment = { __typename?: 'BazelInvocation', id: string, invocationID: any, startedAt: any, endedAt?: any | null, configurationMnemonic?: string | null, cpu?: string | null, numFetches?: number | null, stepLabel: string, hostname?: string | null, isCiWorker?: boolean | null, metrics?: { __typename?: 'Metrics', id: string, actionSummary?: { __typename?: 'ActionSummary', id: string, actionsCreated?: number | null, actionsExecuted?: number | null, actionsCreatedNotIncludingAspects?: number | null, remoteCacheHits?: number | null, actionCacheStatistics?: { __typename?: 'ActionCacheStatistics', id: string, loadTimeInMs?: number | null, saveTimeInMs?: number | null, hits?: number | null, misses?: number | null, sizeInBytes?: number | null, missDetails?: Array<{ __typename?: 'MissDetail', id: string, count?: number | null, reason?: MissDetailReason | null }> | null } | null, runnerCount?: Array<{ __typename?: 'RunnerCount', id: string, actionsExecuted?: number | null, name?: string | null, execKind?: string | null }> | null, actionData?: Array<{ __typename?: 'ActionData', id: string, mnemonic?: string | null, userTime?: number | null, systemTime?: number | null, lastEndedMs?: number | null, actionsCreated?: number | null, actionsExecuted?: number | null, firstStartedMs?: number | null }> | null } | null, artifactMetrics?: { __typename?: 'ArtifactMetrics', id: string, sourceArtifactsRead?: { __typename?: 'FilesMetric', id: string, sizeInBytes?: number | null, count?: number | null } | null, outputArtifactsSeen?: { __typename?: 'FilesMetric', id: string, sizeInBytes?: number | null, count?: number | null } | null, outputArtifactsFromActionCache?: { __typename?: 'FilesMetric', id: string, sizeInBytes?: number | null, count?: number | null } | null, topLevelArtifacts?: { __typename?: 'FilesMetric', id: string, sizeInBytes?: number | null, count?: number | null } | null } | null, cumulativeMetrics?: { __typename?: 'CumulativeMetrics', id: string, numBuilds?: number | null, numAnalyses?: number | null } | null, dynamicExecutionMetrics?: { __typename?: 'DynamicExecutionMetrics', id: string, raceStatistics?: Array<{ __typename?: 'RaceStatistics', id: string, localWins?: number | null, mnemonic?: string | null, renoteWins?: number | null, localRunner?: string | null, remoteRunner?: string | null }> | null } | null, buildGraphMetrics?: { __typename?: 'BuildGraphMetrics', id: string, actionLookupValueCount?: number | null, actionLookupValueCountNotIncludingAspects?: number | null, actionCount?: number | null, inputFileConfiguredTargetCount?: number | null, outputFileConfiguredTargetCount?: number | null, otherConfiguredTargetCount?: number | null, outputArtifactCount?: number | null, postInvocationSkyframeNodeCount?: number | null } | null, memoryMetrics?: { __typename?: 'MemoryMetrics', id: string, usedHeapSizePostBuild?: number | null, peakPostGcHeapSize?: number | null, peakPostGcTenuredSpaceHeapSize?: number | null, garbageMetrics?: Array<{ __typename?: 'GarbageMetrics', id: string, garbageCollected?: number | null, type?: string | null }> | null } | null, targetMetrics?: { __typename?: 'TargetMetrics', id: string, targetsLoaded?: number | null, targetsConfigured?: number | null, targetsConfiguredNotIncludingAspects?: number | null } | null, timingMetrics?: { __typename?: 'TimingMetrics', id: string, cpuTimeInMs?: number | null, wallTimeInMs?: number | null, analysisPhaseTimeInMs?: number | null, executionPhaseTimeInMs?: number | null, actionsExecutionStartInMs?: number | null } | null, networkMetrics?: { __typename?: 'NetworkMetrics', id: string, systemNetworkStats?: { __typename?: 'SystemNetworkStats', id: string, bytesSent?: number | null, bytesRecv?: number | null, packetsSent?: number | null, packetsRecv?: number | null, peakBytesSentPerSec?: number | null, peakBytesRecvPerSec?: number | null, peakPacketsSentPerSec?: number | null, peakPacketsRecvPerSec?: number | null } | null } | null, packageMetrics?: { __typename?: 'PackageMetrics', id: string, packagesLoaded?: number | null, packageLoadMetrics?: Array<{ __typename?: 'PackageLoadMetrics', id: string, name?: string | null, numTargets?: number | null, loadDuration?: number | null, packageOverhead?: number | null, computationSteps?: number | null, numTransitiveLoads?: number | null }> | null } | null } | null, bazelCommand: { __typename?: 'BazelCommand', id: string, command: string, executable: string, residual: string, explicitCmdLine: string, cmdLine?: Array | null, startupOptions?: Array | null, explicitStartupOptions?: Array | null }, build?: { __typename?: 'Build', id: string, buildUUID: any } | null, profile?: { __typename?: 'Profile', id: string, name: string, digest: string, sizeInBytes: number } | null, targets?: Array<{ __typename?: 'TargetPair', id: string, label?: string | null, success?: boolean | null, testSize?: TargetPairTestSize | null, targetKind?: string | null, durationInMs?: number | null, abortReason?: TargetPairAbortReason | null }> | null, testCollection?: Array<{ __typename?: 'TestCollection', id: string, label?: string | null, strategy?: string | null, durationMs?: number | null, overallStatus?: TestCollectionOverallStatus | null, cachedLocally?: boolean | null, cachedRemotely?: boolean | null }> | null, relatedFiles: Array<{ __typename?: 'NamedFile', name: string, url: string }>, user?: { __typename?: 'User', Email: string, LDAP: string } | null, state: { __typename?: 'BazelInvocationState', bepCompleted: boolean, buildEndTime: any, buildStartTime: any, id: string, exitCode?: { __typename?: 'ExitCode', code: number, id: string, name: string } | null }, sourceControl?: { __typename?: 'SourceControl', id: string, commitSha?: string | null, actor?: string | null, branch?: string | null, repoURL?: string | null, refs?: string | null, runID?: string | null, workflow?: string | null, workspace?: string | null, action?: string | null, eventName?: string | null, job?: string | null, runnerName?: string | null, runnerArch?: string | null, runnerOs?: string | null } | null } & { ' $fragmentName'?: 'BazelInvocationInfoFragment' }; type ProblemInfo_ActionProblem_Fragment = { __typename: 'ActionProblem', id: string, label: string, type: string, stdout?: ( { __typename?: 'BlobReference' } @@ -4337,15 +4473,15 @@ export type FindTestsWithCacheQuery = { __typename?: 'Query', findTests: { __typ export const BlobReferenceInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BlobReferenceInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BlobReference"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availabilityStatus"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"downloadURL"}},{"kind":"Field","name":{"kind":"Name","value":"ephemeralURL"}}]}}]} as unknown as DocumentNode; export const ProblemInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProblemInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Problem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ActionProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"stdout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stderr"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TestProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"run"}},{"kind":"Field","name":{"kind":"Name","value":"shard"}},{"kind":"Field","name":{"kind":"Name","value":"attempt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"actionLogOutput"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"undeclaredTestOutputs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TargetProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProgressProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"output"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BlobReferenceInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BlobReference"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availabilityStatus"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"downloadURL"}},{"kind":"Field","name":{"kind":"Name","value":"ephemeralURL"}}]}}]} as unknown as DocumentNode; export const ProblemDetailsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProblemDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"problems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProblemInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BlobReferenceInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BlobReference"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availabilityStatus"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"downloadURL"}},{"kind":"Field","name":{"kind":"Name","value":"ephemeralURL"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProblemInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Problem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ActionProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"stdout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stderr"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TestProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"run"}},{"kind":"Field","name":{"kind":"Name","value":"shard"}},{"kind":"Field","name":{"kind":"Name","value":"attempt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"actionLogOutput"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"undeclaredTestOutputs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TargetProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProgressProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"output"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}}]} as unknown as DocumentNode; -export const BazelInvocationInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BazelInvocationInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreatedNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"remoteCacheHits"}},{"kind":"Field","name":{"kind":"Name","value":"actionCacheStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"loadTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"saveTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"hits"}},{"kind":"Field","name":{"kind":"Name","value":"misses"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"missDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"runnerCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"execKind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"userTime"}},{"kind":"Field","name":{"kind":"Name","value":"systemTime"}},{"kind":"Field","name":{"kind":"Name","value":"lastEndedMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"firstStartedMs"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"artifactMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceArtifactsRead"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsSeen"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsFromActionCache"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"topLevelArtifacts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cumulativeMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"numBuilds"}},{"kind":"Field","name":{"kind":"Name","value":"numAnalyses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"dynamicExecutionMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raceStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"localWins"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"renoteWins"}},{"kind":"Field","name":{"kind":"Name","value":"localRunner"}},{"kind":"Field","name":{"kind":"Name","value":"remoteRunner"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"buildGraphMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCount"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCountNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"actionCount"}},{"kind":"Field","name":{"kind":"Name","value":"inputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"otherConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactCount"}},{"kind":"Field","name":{"kind":"Name","value":"postInvocationSkyframeNodeCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"memoryMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"usedHeapSizePostBuild"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcTenuredSpaceHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"garbageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"garbageCollected"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"targetsLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfiguredNotIncludingAspects"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timingMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cpuTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"wallTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"analysisPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"executionPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecutionStartInMs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"networkMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"systemNetworkStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"bytesSent"}},{"kind":"Field","name":{"kind":"Name","value":"bytesRecv"}},{"kind":"Field","name":{"kind":"Name","value":"packetsSent"}},{"kind":"Field","name":{"kind":"Name","value":"packetsRecv"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesRecvPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsRecvPerSec"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"packageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"packagesLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"packageLoadMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numTargets"}},{"kind":"Field","name":{"kind":"Name","value":"loadDuration"}},{"kind":"Field","name":{"kind":"Name","value":"packageOverhead"}},{"kind":"Field","name":{"kind":"Name","value":"computationSteps"}},{"kind":"Field","name":{"kind":"Name","value":"numTransitiveLoads"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bazelCommand"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"command"}},{"kind":"Field","name":{"kind":"Name","value":"executable"}},{"kind":"Field","name":{"kind":"Name","value":"residual"}},{"kind":"Field","name":{"kind":"Name","value":"explicitCmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"cmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"startupOptions"}},{"kind":"Field","name":{"kind":"Name","value":"explicitStartupOptions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invocationID"}},{"kind":"Field","name":{"kind":"Name","value":"build"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"digest"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"testSize"}},{"kind":"Field","name":{"kind":"Name","value":"targetKind"}},{"kind":"Field","name":{"kind":"Name","value":"durationInMs"}},{"kind":"Field","name":{"kind":"Name","value":"abortReason"}}]}},{"kind":"Field","name":{"kind":"Name","value":"testCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}},{"kind":"Field","name":{"kind":"Name","value":"durationMs"}},{"kind":"Field","name":{"kind":"Name","value":"overallStatus"}},{"kind":"Field","name":{"kind":"Name","value":"cachedLocally"}},{"kind":"Field","name":{"kind":"Name","value":"cachedRemotely"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Email"}},{"kind":"Field","name":{"kind":"Name","value":"LDAP"}}]}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bepCompleted"}},{"kind":"Field","name":{"kind":"Name","value":"buildEndTime"}},{"kind":"Field","name":{"kind":"Name","value":"buildStartTime"}},{"kind":"Field","name":{"kind":"Name","value":"exitCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"configurationMnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"cpu"}},{"kind":"Field","name":{"kind":"Name","value":"numFetches"}},{"kind":"Field","name":{"kind":"Name","value":"stepLabel"}},{"kind":"Field","name":{"kind":"Name","value":"hostname"}},{"kind":"Field","name":{"kind":"Name","value":"isCiWorker"}},{"kind":"Field","name":{"kind":"Name","value":"sourceControl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commitSha"}},{"kind":"Field","name":{"kind":"Name","value":"actor"}},{"kind":"Field","name":{"kind":"Name","value":"branch"}},{"kind":"Field","name":{"kind":"Name","value":"repoURL"}},{"kind":"Field","name":{"kind":"Name","value":"refs"}},{"kind":"Field","name":{"kind":"Name","value":"runID"}}]}}]}}]} as unknown as DocumentNode; -export const FullBazelInvocationDetailsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullBazelInvocationDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BazelInvocationInfo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BazelInvocationInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreatedNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"remoteCacheHits"}},{"kind":"Field","name":{"kind":"Name","value":"actionCacheStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"loadTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"saveTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"hits"}},{"kind":"Field","name":{"kind":"Name","value":"misses"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"missDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"runnerCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"execKind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"userTime"}},{"kind":"Field","name":{"kind":"Name","value":"systemTime"}},{"kind":"Field","name":{"kind":"Name","value":"lastEndedMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"firstStartedMs"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"artifactMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceArtifactsRead"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsSeen"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsFromActionCache"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"topLevelArtifacts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cumulativeMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"numBuilds"}},{"kind":"Field","name":{"kind":"Name","value":"numAnalyses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"dynamicExecutionMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raceStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"localWins"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"renoteWins"}},{"kind":"Field","name":{"kind":"Name","value":"localRunner"}},{"kind":"Field","name":{"kind":"Name","value":"remoteRunner"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"buildGraphMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCount"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCountNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"actionCount"}},{"kind":"Field","name":{"kind":"Name","value":"inputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"otherConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactCount"}},{"kind":"Field","name":{"kind":"Name","value":"postInvocationSkyframeNodeCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"memoryMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"usedHeapSizePostBuild"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcTenuredSpaceHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"garbageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"garbageCollected"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"targetsLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfiguredNotIncludingAspects"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timingMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cpuTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"wallTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"analysisPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"executionPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecutionStartInMs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"networkMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"systemNetworkStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"bytesSent"}},{"kind":"Field","name":{"kind":"Name","value":"bytesRecv"}},{"kind":"Field","name":{"kind":"Name","value":"packetsSent"}},{"kind":"Field","name":{"kind":"Name","value":"packetsRecv"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesRecvPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsRecvPerSec"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"packageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"packagesLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"packageLoadMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numTargets"}},{"kind":"Field","name":{"kind":"Name","value":"loadDuration"}},{"kind":"Field","name":{"kind":"Name","value":"packageOverhead"}},{"kind":"Field","name":{"kind":"Name","value":"computationSteps"}},{"kind":"Field","name":{"kind":"Name","value":"numTransitiveLoads"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bazelCommand"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"command"}},{"kind":"Field","name":{"kind":"Name","value":"executable"}},{"kind":"Field","name":{"kind":"Name","value":"residual"}},{"kind":"Field","name":{"kind":"Name","value":"explicitCmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"cmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"startupOptions"}},{"kind":"Field","name":{"kind":"Name","value":"explicitStartupOptions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invocationID"}},{"kind":"Field","name":{"kind":"Name","value":"build"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"digest"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"testSize"}},{"kind":"Field","name":{"kind":"Name","value":"targetKind"}},{"kind":"Field","name":{"kind":"Name","value":"durationInMs"}},{"kind":"Field","name":{"kind":"Name","value":"abortReason"}}]}},{"kind":"Field","name":{"kind":"Name","value":"testCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}},{"kind":"Field","name":{"kind":"Name","value":"durationMs"}},{"kind":"Field","name":{"kind":"Name","value":"overallStatus"}},{"kind":"Field","name":{"kind":"Name","value":"cachedLocally"}},{"kind":"Field","name":{"kind":"Name","value":"cachedRemotely"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Email"}},{"kind":"Field","name":{"kind":"Name","value":"LDAP"}}]}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bepCompleted"}},{"kind":"Field","name":{"kind":"Name","value":"buildEndTime"}},{"kind":"Field","name":{"kind":"Name","value":"buildStartTime"}},{"kind":"Field","name":{"kind":"Name","value":"exitCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"configurationMnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"cpu"}},{"kind":"Field","name":{"kind":"Name","value":"numFetches"}},{"kind":"Field","name":{"kind":"Name","value":"stepLabel"}},{"kind":"Field","name":{"kind":"Name","value":"hostname"}},{"kind":"Field","name":{"kind":"Name","value":"isCiWorker"}},{"kind":"Field","name":{"kind":"Name","value":"sourceControl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commitSha"}},{"kind":"Field","name":{"kind":"Name","value":"actor"}},{"kind":"Field","name":{"kind":"Name","value":"branch"}},{"kind":"Field","name":{"kind":"Name","value":"repoURL"}},{"kind":"Field","name":{"kind":"Name","value":"refs"}},{"kind":"Field","name":{"kind":"Name","value":"runID"}}]}}]}}]} as unknown as DocumentNode; +export const BazelInvocationInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BazelInvocationInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreatedNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"remoteCacheHits"}},{"kind":"Field","name":{"kind":"Name","value":"actionCacheStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"loadTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"saveTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"hits"}},{"kind":"Field","name":{"kind":"Name","value":"misses"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"missDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"runnerCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"execKind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"userTime"}},{"kind":"Field","name":{"kind":"Name","value":"systemTime"}},{"kind":"Field","name":{"kind":"Name","value":"lastEndedMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"firstStartedMs"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"artifactMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceArtifactsRead"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsSeen"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsFromActionCache"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"topLevelArtifacts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cumulativeMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"numBuilds"}},{"kind":"Field","name":{"kind":"Name","value":"numAnalyses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"dynamicExecutionMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raceStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"localWins"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"renoteWins"}},{"kind":"Field","name":{"kind":"Name","value":"localRunner"}},{"kind":"Field","name":{"kind":"Name","value":"remoteRunner"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"buildGraphMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCount"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCountNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"actionCount"}},{"kind":"Field","name":{"kind":"Name","value":"inputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"otherConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactCount"}},{"kind":"Field","name":{"kind":"Name","value":"postInvocationSkyframeNodeCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"memoryMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"usedHeapSizePostBuild"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcTenuredSpaceHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"garbageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"garbageCollected"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"targetsLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfiguredNotIncludingAspects"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timingMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cpuTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"wallTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"analysisPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"executionPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecutionStartInMs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"networkMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"systemNetworkStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"bytesSent"}},{"kind":"Field","name":{"kind":"Name","value":"bytesRecv"}},{"kind":"Field","name":{"kind":"Name","value":"packetsSent"}},{"kind":"Field","name":{"kind":"Name","value":"packetsRecv"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesRecvPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsRecvPerSec"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"packageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"packagesLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"packageLoadMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numTargets"}},{"kind":"Field","name":{"kind":"Name","value":"loadDuration"}},{"kind":"Field","name":{"kind":"Name","value":"packageOverhead"}},{"kind":"Field","name":{"kind":"Name","value":"computationSteps"}},{"kind":"Field","name":{"kind":"Name","value":"numTransitiveLoads"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bazelCommand"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"command"}},{"kind":"Field","name":{"kind":"Name","value":"executable"}},{"kind":"Field","name":{"kind":"Name","value":"residual"}},{"kind":"Field","name":{"kind":"Name","value":"explicitCmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"cmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"startupOptions"}},{"kind":"Field","name":{"kind":"Name","value":"explicitStartupOptions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invocationID"}},{"kind":"Field","name":{"kind":"Name","value":"build"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"digest"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"testSize"}},{"kind":"Field","name":{"kind":"Name","value":"targetKind"}},{"kind":"Field","name":{"kind":"Name","value":"durationInMs"}},{"kind":"Field","name":{"kind":"Name","value":"abortReason"}}]}},{"kind":"Field","name":{"kind":"Name","value":"testCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}},{"kind":"Field","name":{"kind":"Name","value":"durationMs"}},{"kind":"Field","name":{"kind":"Name","value":"overallStatus"}},{"kind":"Field","name":{"kind":"Name","value":"cachedLocally"}},{"kind":"Field","name":{"kind":"Name","value":"cachedRemotely"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Email"}},{"kind":"Field","name":{"kind":"Name","value":"LDAP"}}]}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bepCompleted"}},{"kind":"Field","name":{"kind":"Name","value":"buildEndTime"}},{"kind":"Field","name":{"kind":"Name","value":"buildStartTime"}},{"kind":"Field","name":{"kind":"Name","value":"exitCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"configurationMnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"cpu"}},{"kind":"Field","name":{"kind":"Name","value":"numFetches"}},{"kind":"Field","name":{"kind":"Name","value":"stepLabel"}},{"kind":"Field","name":{"kind":"Name","value":"hostname"}},{"kind":"Field","name":{"kind":"Name","value":"isCiWorker"}},{"kind":"Field","name":{"kind":"Name","value":"sourceControl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commitSha"}},{"kind":"Field","name":{"kind":"Name","value":"actor"}},{"kind":"Field","name":{"kind":"Name","value":"branch"}},{"kind":"Field","name":{"kind":"Name","value":"repoURL"}},{"kind":"Field","name":{"kind":"Name","value":"refs"}},{"kind":"Field","name":{"kind":"Name","value":"runID"}},{"kind":"Field","name":{"kind":"Name","value":"workflow"}},{"kind":"Field","name":{"kind":"Name","value":"workspace"}},{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"eventName"}},{"kind":"Field","name":{"kind":"Name","value":"job"}},{"kind":"Field","name":{"kind":"Name","value":"runnerName"}},{"kind":"Field","name":{"kind":"Name","value":"runnerArch"}},{"kind":"Field","name":{"kind":"Name","value":"runnerOs"}}]}}]}}]} as unknown as DocumentNode; +export const FullBazelInvocationDetailsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullBazelInvocationDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BazelInvocationInfo"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BazelInvocationInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreatedNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"remoteCacheHits"}},{"kind":"Field","name":{"kind":"Name","value":"actionCacheStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"loadTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"saveTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"hits"}},{"kind":"Field","name":{"kind":"Name","value":"misses"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"missDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"runnerCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"execKind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"userTime"}},{"kind":"Field","name":{"kind":"Name","value":"systemTime"}},{"kind":"Field","name":{"kind":"Name","value":"lastEndedMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"firstStartedMs"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"artifactMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceArtifactsRead"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsSeen"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsFromActionCache"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"topLevelArtifacts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cumulativeMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"numBuilds"}},{"kind":"Field","name":{"kind":"Name","value":"numAnalyses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"dynamicExecutionMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raceStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"localWins"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"renoteWins"}},{"kind":"Field","name":{"kind":"Name","value":"localRunner"}},{"kind":"Field","name":{"kind":"Name","value":"remoteRunner"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"buildGraphMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCount"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCountNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"actionCount"}},{"kind":"Field","name":{"kind":"Name","value":"inputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"otherConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactCount"}},{"kind":"Field","name":{"kind":"Name","value":"postInvocationSkyframeNodeCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"memoryMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"usedHeapSizePostBuild"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcTenuredSpaceHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"garbageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"garbageCollected"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"targetsLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfiguredNotIncludingAspects"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timingMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cpuTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"wallTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"analysisPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"executionPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecutionStartInMs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"networkMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"systemNetworkStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"bytesSent"}},{"kind":"Field","name":{"kind":"Name","value":"bytesRecv"}},{"kind":"Field","name":{"kind":"Name","value":"packetsSent"}},{"kind":"Field","name":{"kind":"Name","value":"packetsRecv"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesRecvPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsRecvPerSec"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"packageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"packagesLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"packageLoadMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numTargets"}},{"kind":"Field","name":{"kind":"Name","value":"loadDuration"}},{"kind":"Field","name":{"kind":"Name","value":"packageOverhead"}},{"kind":"Field","name":{"kind":"Name","value":"computationSteps"}},{"kind":"Field","name":{"kind":"Name","value":"numTransitiveLoads"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bazelCommand"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"command"}},{"kind":"Field","name":{"kind":"Name","value":"executable"}},{"kind":"Field","name":{"kind":"Name","value":"residual"}},{"kind":"Field","name":{"kind":"Name","value":"explicitCmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"cmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"startupOptions"}},{"kind":"Field","name":{"kind":"Name","value":"explicitStartupOptions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invocationID"}},{"kind":"Field","name":{"kind":"Name","value":"build"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"digest"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"testSize"}},{"kind":"Field","name":{"kind":"Name","value":"targetKind"}},{"kind":"Field","name":{"kind":"Name","value":"durationInMs"}},{"kind":"Field","name":{"kind":"Name","value":"abortReason"}}]}},{"kind":"Field","name":{"kind":"Name","value":"testCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}},{"kind":"Field","name":{"kind":"Name","value":"durationMs"}},{"kind":"Field","name":{"kind":"Name","value":"overallStatus"}},{"kind":"Field","name":{"kind":"Name","value":"cachedLocally"}},{"kind":"Field","name":{"kind":"Name","value":"cachedRemotely"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Email"}},{"kind":"Field","name":{"kind":"Name","value":"LDAP"}}]}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bepCompleted"}},{"kind":"Field","name":{"kind":"Name","value":"buildEndTime"}},{"kind":"Field","name":{"kind":"Name","value":"buildStartTime"}},{"kind":"Field","name":{"kind":"Name","value":"exitCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"configurationMnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"cpu"}},{"kind":"Field","name":{"kind":"Name","value":"numFetches"}},{"kind":"Field","name":{"kind":"Name","value":"stepLabel"}},{"kind":"Field","name":{"kind":"Name","value":"hostname"}},{"kind":"Field","name":{"kind":"Name","value":"isCiWorker"}},{"kind":"Field","name":{"kind":"Name","value":"sourceControl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commitSha"}},{"kind":"Field","name":{"kind":"Name","value":"actor"}},{"kind":"Field","name":{"kind":"Name","value":"branch"}},{"kind":"Field","name":{"kind":"Name","value":"repoURL"}},{"kind":"Field","name":{"kind":"Name","value":"refs"}},{"kind":"Field","name":{"kind":"Name","value":"runID"}},{"kind":"Field","name":{"kind":"Name","value":"workflow"}},{"kind":"Field","name":{"kind":"Name","value":"workspace"}},{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"eventName"}},{"kind":"Field","name":{"kind":"Name","value":"job"}},{"kind":"Field","name":{"kind":"Name","value":"runnerName"}},{"kind":"Field","name":{"kind":"Name","value":"runnerArch"}},{"kind":"Field","name":{"kind":"Name","value":"runnerOs"}}]}}]}}]} as unknown as DocumentNode; export const TestResultInfoFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"TestResultInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TestResult"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"actionLogOutput"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"attempt"}},{"kind":"Field","name":{"kind":"Name","value":"run"}},{"kind":"Field","name":{"kind":"Name","value":"shard"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"undeclaredTestOutputs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BlobReferenceInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BlobReference"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availabilityStatus"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"downloadURL"}},{"kind":"Field","name":{"kind":"Name","value":"ephemeralURL"}}]}}]} as unknown as DocumentNode; export const BazelInvocationNodeFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BazelInvocationNode"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invocationID"}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Email"}},{"kind":"Field","name":{"kind":"Name","value":"LDAP"}}]}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bepCompleted"}},{"kind":"Field","name":{"kind":"Name","value":"exitCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"build"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}}]}}]}}]} as unknown as DocumentNode; export const BuildNodeFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BuildNode"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Build"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}},{"kind":"Field","name":{"kind":"Name","value":"buildURL"}}]}}]} as unknown as DocumentNode; -export const LoadFullBazelInvocationDetailsDocument = {"__meta__":{"hash":"7ef1c8eb2971648f5ee1525e32123f49336d22ac"},"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"LoadFullBazelInvocationDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"invocationID"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bazelInvocation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"invocationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"invocationID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FullBazelInvocationDetails"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BazelInvocationInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreatedNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"remoteCacheHits"}},{"kind":"Field","name":{"kind":"Name","value":"actionCacheStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"loadTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"saveTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"hits"}},{"kind":"Field","name":{"kind":"Name","value":"misses"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"missDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"runnerCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"execKind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"userTime"}},{"kind":"Field","name":{"kind":"Name","value":"systemTime"}},{"kind":"Field","name":{"kind":"Name","value":"lastEndedMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"firstStartedMs"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"artifactMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceArtifactsRead"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsSeen"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsFromActionCache"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"topLevelArtifacts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cumulativeMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"numBuilds"}},{"kind":"Field","name":{"kind":"Name","value":"numAnalyses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"dynamicExecutionMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raceStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"localWins"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"renoteWins"}},{"kind":"Field","name":{"kind":"Name","value":"localRunner"}},{"kind":"Field","name":{"kind":"Name","value":"remoteRunner"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"buildGraphMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCount"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCountNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"actionCount"}},{"kind":"Field","name":{"kind":"Name","value":"inputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"otherConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactCount"}},{"kind":"Field","name":{"kind":"Name","value":"postInvocationSkyframeNodeCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"memoryMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"usedHeapSizePostBuild"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcTenuredSpaceHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"garbageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"garbageCollected"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"targetsLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfiguredNotIncludingAspects"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timingMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cpuTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"wallTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"analysisPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"executionPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecutionStartInMs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"networkMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"systemNetworkStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"bytesSent"}},{"kind":"Field","name":{"kind":"Name","value":"bytesRecv"}},{"kind":"Field","name":{"kind":"Name","value":"packetsSent"}},{"kind":"Field","name":{"kind":"Name","value":"packetsRecv"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesRecvPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsRecvPerSec"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"packageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"packagesLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"packageLoadMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numTargets"}},{"kind":"Field","name":{"kind":"Name","value":"loadDuration"}},{"kind":"Field","name":{"kind":"Name","value":"packageOverhead"}},{"kind":"Field","name":{"kind":"Name","value":"computationSteps"}},{"kind":"Field","name":{"kind":"Name","value":"numTransitiveLoads"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bazelCommand"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"command"}},{"kind":"Field","name":{"kind":"Name","value":"executable"}},{"kind":"Field","name":{"kind":"Name","value":"residual"}},{"kind":"Field","name":{"kind":"Name","value":"explicitCmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"cmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"startupOptions"}},{"kind":"Field","name":{"kind":"Name","value":"explicitStartupOptions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invocationID"}},{"kind":"Field","name":{"kind":"Name","value":"build"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"digest"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"testSize"}},{"kind":"Field","name":{"kind":"Name","value":"targetKind"}},{"kind":"Field","name":{"kind":"Name","value":"durationInMs"}},{"kind":"Field","name":{"kind":"Name","value":"abortReason"}}]}},{"kind":"Field","name":{"kind":"Name","value":"testCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}},{"kind":"Field","name":{"kind":"Name","value":"durationMs"}},{"kind":"Field","name":{"kind":"Name","value":"overallStatus"}},{"kind":"Field","name":{"kind":"Name","value":"cachedLocally"}},{"kind":"Field","name":{"kind":"Name","value":"cachedRemotely"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Email"}},{"kind":"Field","name":{"kind":"Name","value":"LDAP"}}]}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bepCompleted"}},{"kind":"Field","name":{"kind":"Name","value":"buildEndTime"}},{"kind":"Field","name":{"kind":"Name","value":"buildStartTime"}},{"kind":"Field","name":{"kind":"Name","value":"exitCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"configurationMnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"cpu"}},{"kind":"Field","name":{"kind":"Name","value":"numFetches"}},{"kind":"Field","name":{"kind":"Name","value":"stepLabel"}},{"kind":"Field","name":{"kind":"Name","value":"hostname"}},{"kind":"Field","name":{"kind":"Name","value":"isCiWorker"}},{"kind":"Field","name":{"kind":"Name","value":"sourceControl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commitSha"}},{"kind":"Field","name":{"kind":"Name","value":"actor"}},{"kind":"Field","name":{"kind":"Name","value":"branch"}},{"kind":"Field","name":{"kind":"Name","value":"repoURL"}},{"kind":"Field","name":{"kind":"Name","value":"refs"}},{"kind":"Field","name":{"kind":"Name","value":"runID"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullBazelInvocationDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BazelInvocationInfo"}}]}}]} as unknown as DocumentNode; +export const LoadFullBazelInvocationDetailsDocument = {"__meta__":{"hash":"b81aff00ca1f89dde18260c8f18c1501b018a5f3"},"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"LoadFullBazelInvocationDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"invocationID"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bazelInvocation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"invocationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"invocationID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FullBazelInvocationDetails"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BazelInvocationInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreatedNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"remoteCacheHits"}},{"kind":"Field","name":{"kind":"Name","value":"actionCacheStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"loadTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"saveTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"hits"}},{"kind":"Field","name":{"kind":"Name","value":"misses"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"missDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"runnerCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"execKind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"userTime"}},{"kind":"Field","name":{"kind":"Name","value":"systemTime"}},{"kind":"Field","name":{"kind":"Name","value":"lastEndedMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"firstStartedMs"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"artifactMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceArtifactsRead"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsSeen"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsFromActionCache"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"topLevelArtifacts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cumulativeMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"numBuilds"}},{"kind":"Field","name":{"kind":"Name","value":"numAnalyses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"dynamicExecutionMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raceStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"localWins"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"renoteWins"}},{"kind":"Field","name":{"kind":"Name","value":"localRunner"}},{"kind":"Field","name":{"kind":"Name","value":"remoteRunner"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"buildGraphMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCount"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCountNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"actionCount"}},{"kind":"Field","name":{"kind":"Name","value":"inputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"otherConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactCount"}},{"kind":"Field","name":{"kind":"Name","value":"postInvocationSkyframeNodeCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"memoryMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"usedHeapSizePostBuild"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcTenuredSpaceHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"garbageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"garbageCollected"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"targetsLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfiguredNotIncludingAspects"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timingMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cpuTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"wallTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"analysisPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"executionPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecutionStartInMs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"networkMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"systemNetworkStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"bytesSent"}},{"kind":"Field","name":{"kind":"Name","value":"bytesRecv"}},{"kind":"Field","name":{"kind":"Name","value":"packetsSent"}},{"kind":"Field","name":{"kind":"Name","value":"packetsRecv"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesRecvPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsRecvPerSec"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"packageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"packagesLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"packageLoadMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numTargets"}},{"kind":"Field","name":{"kind":"Name","value":"loadDuration"}},{"kind":"Field","name":{"kind":"Name","value":"packageOverhead"}},{"kind":"Field","name":{"kind":"Name","value":"computationSteps"}},{"kind":"Field","name":{"kind":"Name","value":"numTransitiveLoads"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bazelCommand"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"command"}},{"kind":"Field","name":{"kind":"Name","value":"executable"}},{"kind":"Field","name":{"kind":"Name","value":"residual"}},{"kind":"Field","name":{"kind":"Name","value":"explicitCmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"cmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"startupOptions"}},{"kind":"Field","name":{"kind":"Name","value":"explicitStartupOptions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invocationID"}},{"kind":"Field","name":{"kind":"Name","value":"build"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"digest"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"testSize"}},{"kind":"Field","name":{"kind":"Name","value":"targetKind"}},{"kind":"Field","name":{"kind":"Name","value":"durationInMs"}},{"kind":"Field","name":{"kind":"Name","value":"abortReason"}}]}},{"kind":"Field","name":{"kind":"Name","value":"testCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}},{"kind":"Field","name":{"kind":"Name","value":"durationMs"}},{"kind":"Field","name":{"kind":"Name","value":"overallStatus"}},{"kind":"Field","name":{"kind":"Name","value":"cachedLocally"}},{"kind":"Field","name":{"kind":"Name","value":"cachedRemotely"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Email"}},{"kind":"Field","name":{"kind":"Name","value":"LDAP"}}]}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bepCompleted"}},{"kind":"Field","name":{"kind":"Name","value":"buildEndTime"}},{"kind":"Field","name":{"kind":"Name","value":"buildStartTime"}},{"kind":"Field","name":{"kind":"Name","value":"exitCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"configurationMnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"cpu"}},{"kind":"Field","name":{"kind":"Name","value":"numFetches"}},{"kind":"Field","name":{"kind":"Name","value":"stepLabel"}},{"kind":"Field","name":{"kind":"Name","value":"hostname"}},{"kind":"Field","name":{"kind":"Name","value":"isCiWorker"}},{"kind":"Field","name":{"kind":"Name","value":"sourceControl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commitSha"}},{"kind":"Field","name":{"kind":"Name","value":"actor"}},{"kind":"Field","name":{"kind":"Name","value":"branch"}},{"kind":"Field","name":{"kind":"Name","value":"repoURL"}},{"kind":"Field","name":{"kind":"Name","value":"refs"}},{"kind":"Field","name":{"kind":"Name","value":"runID"}},{"kind":"Field","name":{"kind":"Name","value":"workflow"}},{"kind":"Field","name":{"kind":"Name","value":"workspace"}},{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"eventName"}},{"kind":"Field","name":{"kind":"Name","value":"job"}},{"kind":"Field","name":{"kind":"Name","value":"runnerName"}},{"kind":"Field","name":{"kind":"Name","value":"runnerArch"}},{"kind":"Field","name":{"kind":"Name","value":"runnerOs"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullBazelInvocationDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BazelInvocationInfo"}}]}}]} as unknown as DocumentNode; export const GetProblemDetailsDocument = {"__meta__":{"hash":"bb34b92cb4a11280082ec2332b06334a13cf4433"},"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetProblemDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"invocationID"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bazelInvocation"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"invocationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"invocationID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProblemDetails"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BlobReferenceInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BlobReference"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availabilityStatus"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"downloadURL"}},{"kind":"Field","name":{"kind":"Name","value":"ephemeralURL"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProblemInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Problem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ActionProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"stdout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stderr"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TestProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"results"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"run"}},{"kind":"Field","name":{"kind":"Name","value":"shard"}},{"kind":"Field","name":{"kind":"Name","value":"attempt"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"actionLogOutput"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"undeclaredTestOutputs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}}]}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"TargetProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ProgressProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"__typename"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"output"}},{"kind":"Field","name":{"kind":"Name","value":"label"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProblemDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"problems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProblemInfo"}}]}}]}}]} as unknown as DocumentNode; export const GetActionProblemDocument = {"__meta__":{"hash":"1e8efb549059b9fe79348092e6a23e7ea9b365f8"},"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetActionProblem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"ActionProblem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"stdout"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}},{"kind":"Field","name":{"kind":"Name","value":"stderr"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BlobReferenceInfo"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BlobReferenceInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BlobReference"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availabilityStatus"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"downloadURL"}},{"kind":"Field","name":{"kind":"Name","value":"ephemeralURL"}}]}}]} as unknown as DocumentNode; -export const FindBuildByUuidDocument = {"__meta__":{"hash":"d09eb6616bf2844a0b6398b564621be51bee48ad"},"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindBuildByUUID"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"url"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getBuild"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"buildURL"},"value":{"kind":"Variable","name":{"kind":"Name","value":"url"}}},{"kind":"Argument","name":{"kind":"Name","value":"buildUUID"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildURL"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}},{"kind":"Field","name":{"kind":"Name","value":"invocations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FullBazelInvocationDetails"}}]}},{"kind":"Field","name":{"kind":"Name","value":"env"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BazelInvocationInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreatedNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"remoteCacheHits"}},{"kind":"Field","name":{"kind":"Name","value":"actionCacheStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"loadTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"saveTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"hits"}},{"kind":"Field","name":{"kind":"Name","value":"misses"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"missDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"runnerCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"execKind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"userTime"}},{"kind":"Field","name":{"kind":"Name","value":"systemTime"}},{"kind":"Field","name":{"kind":"Name","value":"lastEndedMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"firstStartedMs"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"artifactMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceArtifactsRead"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsSeen"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsFromActionCache"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"topLevelArtifacts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cumulativeMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"numBuilds"}},{"kind":"Field","name":{"kind":"Name","value":"numAnalyses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"dynamicExecutionMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raceStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"localWins"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"renoteWins"}},{"kind":"Field","name":{"kind":"Name","value":"localRunner"}},{"kind":"Field","name":{"kind":"Name","value":"remoteRunner"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"buildGraphMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCount"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCountNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"actionCount"}},{"kind":"Field","name":{"kind":"Name","value":"inputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"otherConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactCount"}},{"kind":"Field","name":{"kind":"Name","value":"postInvocationSkyframeNodeCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"memoryMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"usedHeapSizePostBuild"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcTenuredSpaceHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"garbageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"garbageCollected"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"targetsLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfiguredNotIncludingAspects"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timingMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cpuTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"wallTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"analysisPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"executionPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecutionStartInMs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"networkMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"systemNetworkStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"bytesSent"}},{"kind":"Field","name":{"kind":"Name","value":"bytesRecv"}},{"kind":"Field","name":{"kind":"Name","value":"packetsSent"}},{"kind":"Field","name":{"kind":"Name","value":"packetsRecv"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesRecvPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsRecvPerSec"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"packageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"packagesLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"packageLoadMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numTargets"}},{"kind":"Field","name":{"kind":"Name","value":"loadDuration"}},{"kind":"Field","name":{"kind":"Name","value":"packageOverhead"}},{"kind":"Field","name":{"kind":"Name","value":"computationSteps"}},{"kind":"Field","name":{"kind":"Name","value":"numTransitiveLoads"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bazelCommand"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"command"}},{"kind":"Field","name":{"kind":"Name","value":"executable"}},{"kind":"Field","name":{"kind":"Name","value":"residual"}},{"kind":"Field","name":{"kind":"Name","value":"explicitCmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"cmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"startupOptions"}},{"kind":"Field","name":{"kind":"Name","value":"explicitStartupOptions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invocationID"}},{"kind":"Field","name":{"kind":"Name","value":"build"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"digest"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"testSize"}},{"kind":"Field","name":{"kind":"Name","value":"targetKind"}},{"kind":"Field","name":{"kind":"Name","value":"durationInMs"}},{"kind":"Field","name":{"kind":"Name","value":"abortReason"}}]}},{"kind":"Field","name":{"kind":"Name","value":"testCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}},{"kind":"Field","name":{"kind":"Name","value":"durationMs"}},{"kind":"Field","name":{"kind":"Name","value":"overallStatus"}},{"kind":"Field","name":{"kind":"Name","value":"cachedLocally"}},{"kind":"Field","name":{"kind":"Name","value":"cachedRemotely"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Email"}},{"kind":"Field","name":{"kind":"Name","value":"LDAP"}}]}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bepCompleted"}},{"kind":"Field","name":{"kind":"Name","value":"buildEndTime"}},{"kind":"Field","name":{"kind":"Name","value":"buildStartTime"}},{"kind":"Field","name":{"kind":"Name","value":"exitCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"configurationMnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"cpu"}},{"kind":"Field","name":{"kind":"Name","value":"numFetches"}},{"kind":"Field","name":{"kind":"Name","value":"stepLabel"}},{"kind":"Field","name":{"kind":"Name","value":"hostname"}},{"kind":"Field","name":{"kind":"Name","value":"isCiWorker"}},{"kind":"Field","name":{"kind":"Name","value":"sourceControl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commitSha"}},{"kind":"Field","name":{"kind":"Name","value":"actor"}},{"kind":"Field","name":{"kind":"Name","value":"branch"}},{"kind":"Field","name":{"kind":"Name","value":"repoURL"}},{"kind":"Field","name":{"kind":"Name","value":"refs"}},{"kind":"Field","name":{"kind":"Name","value":"runID"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullBazelInvocationDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BazelInvocationInfo"}}]}}]} as unknown as DocumentNode; +export const FindBuildByUuidDocument = {"__meta__":{"hash":"482603255e473f6937c1813eb3edf1d705de0574"},"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindBuildByUUID"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"url"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getBuild"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"buildURL"},"value":{"kind":"Variable","name":{"kind":"Name","value":"url"}}},{"kind":"Argument","name":{"kind":"Name","value":"buildUUID"},"value":{"kind":"Variable","name":{"kind":"Name","value":"uuid"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildURL"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}},{"kind":"Field","name":{"kind":"Name","value":"invocations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"FullBazelInvocationDetails"}}]}},{"kind":"Field","name":{"kind":"Name","value":"env"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"BazelInvocationInfo"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"metrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionSummary"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreatedNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"remoteCacheHits"}},{"kind":"Field","name":{"kind":"Name","value":"actionCacheStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"loadTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"saveTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"hits"}},{"kind":"Field","name":{"kind":"Name","value":"misses"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"missDetails"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"reason"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"runnerCount"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"execKind"}}]}},{"kind":"Field","name":{"kind":"Name","value":"actionData"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"userTime"}},{"kind":"Field","name":{"kind":"Name","value":"systemTime"}},{"kind":"Field","name":{"kind":"Name","value":"lastEndedMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsCreated"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecuted"}},{"kind":"Field","name":{"kind":"Name","value":"firstStartedMs"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"artifactMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sourceArtifactsRead"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsSeen"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactsFromActionCache"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}},{"kind":"Field","name":{"kind":"Name","value":"topLevelArtifacts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}},{"kind":"Field","name":{"kind":"Name","value":"count"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"cumulativeMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"numBuilds"}},{"kind":"Field","name":{"kind":"Name","value":"numAnalyses"}}]}},{"kind":"Field","name":{"kind":"Name","value":"dynamicExecutionMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"raceStatistics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"localWins"}},{"kind":"Field","name":{"kind":"Name","value":"mnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"renoteWins"}},{"kind":"Field","name":{"kind":"Name","value":"localRunner"}},{"kind":"Field","name":{"kind":"Name","value":"remoteRunner"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"buildGraphMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCount"}},{"kind":"Field","name":{"kind":"Name","value":"actionLookupValueCountNotIncludingAspects"}},{"kind":"Field","name":{"kind":"Name","value":"actionCount"}},{"kind":"Field","name":{"kind":"Name","value":"inputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputFileConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"otherConfiguredTargetCount"}},{"kind":"Field","name":{"kind":"Name","value":"outputArtifactCount"}},{"kind":"Field","name":{"kind":"Name","value":"postInvocationSkyframeNodeCount"}}]}},{"kind":"Field","name":{"kind":"Name","value":"memoryMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"usedHeapSizePostBuild"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"peakPostGcTenuredSpaceHeapSize"}},{"kind":"Field","name":{"kind":"Name","value":"garbageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"garbageCollected"}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"targetsLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfigured"}},{"kind":"Field","name":{"kind":"Name","value":"targetsConfiguredNotIncludingAspects"}}]}},{"kind":"Field","name":{"kind":"Name","value":"timingMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"cpuTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"wallTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"analysisPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"executionPhaseTimeInMs"}},{"kind":"Field","name":{"kind":"Name","value":"actionsExecutionStartInMs"}}]}},{"kind":"Field","name":{"kind":"Name","value":"networkMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"systemNetworkStats"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"bytesSent"}},{"kind":"Field","name":{"kind":"Name","value":"bytesRecv"}},{"kind":"Field","name":{"kind":"Name","value":"packetsSent"}},{"kind":"Field","name":{"kind":"Name","value":"packetsRecv"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakBytesRecvPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsSentPerSec"}},{"kind":"Field","name":{"kind":"Name","value":"peakPacketsRecvPerSec"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"packageMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"packagesLoaded"}},{"kind":"Field","name":{"kind":"Name","value":"packageLoadMetrics"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"numTargets"}},{"kind":"Field","name":{"kind":"Name","value":"loadDuration"}},{"kind":"Field","name":{"kind":"Name","value":"packageOverhead"}},{"kind":"Field","name":{"kind":"Name","value":"computationSteps"}},{"kind":"Field","name":{"kind":"Name","value":"numTransitiveLoads"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"bazelCommand"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"command"}},{"kind":"Field","name":{"kind":"Name","value":"executable"}},{"kind":"Field","name":{"kind":"Name","value":"residual"}},{"kind":"Field","name":{"kind":"Name","value":"explicitCmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"cmdLine"}},{"kind":"Field","name":{"kind":"Name","value":"startupOptions"}},{"kind":"Field","name":{"kind":"Name","value":"explicitStartupOptions"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"invocationID"}},{"kind":"Field","name":{"kind":"Name","value":"build"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"buildUUID"}}]}},{"kind":"Field","name":{"kind":"Name","value":"profile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"digest"}},{"kind":"Field","name":{"kind":"Name","value":"sizeInBytes"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targets"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"testSize"}},{"kind":"Field","name":{"kind":"Name","value":"targetKind"}},{"kind":"Field","name":{"kind":"Name","value":"durationInMs"}},{"kind":"Field","name":{"kind":"Name","value":"abortReason"}}]}},{"kind":"Field","name":{"kind":"Name","value":"testCollection"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"strategy"}},{"kind":"Field","name":{"kind":"Name","value":"durationMs"}},{"kind":"Field","name":{"kind":"Name","value":"overallStatus"}},{"kind":"Field","name":{"kind":"Name","value":"cachedLocally"}},{"kind":"Field","name":{"kind":"Name","value":"cachedRemotely"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relatedFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"url"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"Email"}},{"kind":"Field","name":{"kind":"Name","value":"LDAP"}}]}},{"kind":"Field","name":{"kind":"Name","value":"startedAt"}},{"kind":"Field","name":{"kind":"Name","value":"endedAt"}},{"kind":"Field","name":{"kind":"Name","value":"state"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"bepCompleted"}},{"kind":"Field","name":{"kind":"Name","value":"buildEndTime"}},{"kind":"Field","name":{"kind":"Name","value":"buildStartTime"}},{"kind":"Field","name":{"kind":"Name","value":"exitCode"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"configurationMnemonic"}},{"kind":"Field","name":{"kind":"Name","value":"cpu"}},{"kind":"Field","name":{"kind":"Name","value":"numFetches"}},{"kind":"Field","name":{"kind":"Name","value":"stepLabel"}},{"kind":"Field","name":{"kind":"Name","value":"hostname"}},{"kind":"Field","name":{"kind":"Name","value":"isCiWorker"}},{"kind":"Field","name":{"kind":"Name","value":"sourceControl"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"commitSha"}},{"kind":"Field","name":{"kind":"Name","value":"actor"}},{"kind":"Field","name":{"kind":"Name","value":"branch"}},{"kind":"Field","name":{"kind":"Name","value":"repoURL"}},{"kind":"Field","name":{"kind":"Name","value":"refs"}},{"kind":"Field","name":{"kind":"Name","value":"runID"}},{"kind":"Field","name":{"kind":"Name","value":"workflow"}},{"kind":"Field","name":{"kind":"Name","value":"workspace"}},{"kind":"Field","name":{"kind":"Name","value":"action"}},{"kind":"Field","name":{"kind":"Name","value":"eventName"}},{"kind":"Field","name":{"kind":"Name","value":"job"}},{"kind":"Field","name":{"kind":"Name","value":"runnerName"}},{"kind":"Field","name":{"kind":"Name","value":"runnerArch"}},{"kind":"Field","name":{"kind":"Name","value":"runnerOs"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"FullBazelInvocationDetails"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"BazelInvocation"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"BazelInvocationInfo"}}]}}]} as unknown as DocumentNode; export const GetTargetsWithOffsetDocument = {"__meta__":{"hash":"45528b39e6234ab4c14e4ade920240652d8961e8"},"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTargetsWithOffset"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"label"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sortBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"direction"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getTargetsWithOffset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"label"},"value":{"kind":"Variable","name":{"kind":"Name","value":"label"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"sortBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sortBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"direction"},"value":{"kind":"Variable","name":{"kind":"Name","value":"direction"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"result"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"sum"}},{"kind":"Field","name":{"kind":"Name","value":"min"}},{"kind":"Field","name":{"kind":"Name","value":"max"}},{"kind":"Field","name":{"kind":"Name","value":"avg"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"passRate"}}]}}]}}]}}]} as unknown as DocumentNode; export const FindTargetsDocument = {"__meta__":{"hash":"f4e866e3a87835a6ea5e334117dc69417e8cda19"},"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindTargets"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"first"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"where"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TargetPairWhereInput"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"TargetPairOrder"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"after"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Cursor"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findTargets"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"first"},"value":{"kind":"Variable","name":{"kind":"Name","value":"first"}}},{"kind":"Argument","name":{"kind":"Name","value":"where"},"value":{"kind":"Variable","name":{"kind":"Name","value":"where"}}},{"kind":"Argument","name":{"kind":"Name","value":"orderBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"orderBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"after"},"value":{"kind":"Variable","name":{"kind":"Name","value":"after"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"startCursor"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}},{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"hasPreviousPage"}}]}},{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"durationInMs"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"success"}},{"kind":"Field","name":{"kind":"Name","value":"bazelInvocation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"invocationID"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const GetTestsWithOffsetDocument = {"__meta__":{"hash":"a58c22b2db5f30d1dba201fe125838c7f14d5e6d"},"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetTestsWithOffset"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"label"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"offset"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"sortBy"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"direction"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getTestsWithOffset"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"label"},"value":{"kind":"Variable","name":{"kind":"Name","value":"label"}}},{"kind":"Argument","name":{"kind":"Name","value":"offset"},"value":{"kind":"Variable","name":{"kind":"Name","value":"offset"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"sortBy"},"value":{"kind":"Variable","name":{"kind":"Name","value":"sortBy"}}},{"kind":"Argument","name":{"kind":"Name","value":"direction"},"value":{"kind":"Variable","name":{"kind":"Name","value":"direction"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"result"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"sum"}},{"kind":"Field","name":{"kind":"Name","value":"min"}},{"kind":"Field","name":{"kind":"Name","value":"max"}},{"kind":"Field","name":{"kind":"Name","value":"avg"}},{"kind":"Field","name":{"kind":"Name","value":"count"}},{"kind":"Field","name":{"kind":"Name","value":"passRate"}}]}}]}}]}}]} as unknown as DocumentNode; diff --git a/frontend/src/graphql/__generated__/persisted-documents.json b/frontend/src/graphql/__generated__/persisted-documents.json index 7dc46b7..0fea8a9 100644 --- a/frontend/src/graphql/__generated__/persisted-documents.json +++ b/frontend/src/graphql/__generated__/persisted-documents.json @@ -1,8 +1,8 @@ { - "7ef1c8eb2971648f5ee1525e32123f49336d22ac": "fragment BazelInvocationInfo on BazelInvocation { bazelCommand { cmdLine command executable explicitCmdLine explicitStartupOptions id residual startupOptions } build { buildUUID id } configurationMnemonic cpu endedAt hostname id invocationID isCiWorker metrics { actionSummary { actionCacheStatistics { hits id loadTimeInMs missDetails { count id reason } misses saveTimeInMs sizeInBytes } actionData { actionsCreated actionsExecuted firstStartedMs id lastEndedMs mnemonic systemTime userTime } actionsCreated actionsCreatedNotIncludingAspects actionsExecuted id remoteCacheHits runnerCount { actionsExecuted execKind id name } } artifactMetrics { id outputArtifactsFromActionCache { count id sizeInBytes } outputArtifactsSeen { count id sizeInBytes } sourceArtifactsRead { count id sizeInBytes } topLevelArtifacts { count id sizeInBytes } } buildGraphMetrics { actionCount actionLookupValueCount actionLookupValueCountNotIncludingAspects id inputFileConfiguredTargetCount otherConfiguredTargetCount outputArtifactCount outputFileConfiguredTargetCount postInvocationSkyframeNodeCount } cumulativeMetrics { id numAnalyses numBuilds } dynamicExecutionMetrics { id raceStatistics { id localRunner localWins mnemonic remoteRunner renoteWins } } id memoryMetrics { garbageMetrics { garbageCollected id type } id peakPostGcHeapSize peakPostGcTenuredSpaceHeapSize usedHeapSizePostBuild } networkMetrics { id systemNetworkStats { bytesRecv bytesSent id packetsRecv packetsSent peakBytesRecvPerSec peakBytesSentPerSec peakPacketsRecvPerSec peakPacketsSentPerSec } } packageMetrics { id packageLoadMetrics { computationSteps id loadDuration name numTargets numTransitiveLoads packageOverhead } packagesLoaded } targetMetrics { id targetsConfigured targetsConfiguredNotIncludingAspects targetsLoaded } timingMetrics { actionsExecutionStartInMs analysisPhaseTimeInMs cpuTimeInMs executionPhaseTimeInMs id wallTimeInMs } } numFetches profile { digest id name sizeInBytes } relatedFiles { name url } sourceControl { actor branch commitSha id refs repoURL runID } startedAt state { bepCompleted buildEndTime buildStartTime exitCode { code id name } id } stepLabel targets { abortReason durationInMs id label success targetKind testSize } testCollection { cachedLocally cachedRemotely durationMs id label overallStatus strategy } user { Email LDAP } } fragment FullBazelInvocationDetails on BazelInvocation { ...BazelInvocationInfo } query LoadFullBazelInvocationDetails($invocationID: String!) { bazelInvocation(invocationId: $invocationID) { ...FullBazelInvocationDetails } }", + "b81aff00ca1f89dde18260c8f18c1501b018a5f3": "fragment BazelInvocationInfo on BazelInvocation { bazelCommand { cmdLine command executable explicitCmdLine explicitStartupOptions id residual startupOptions } build { buildUUID id } configurationMnemonic cpu endedAt hostname id invocationID isCiWorker metrics { actionSummary { actionCacheStatistics { hits id loadTimeInMs missDetails { count id reason } misses saveTimeInMs sizeInBytes } actionData { actionsCreated actionsExecuted firstStartedMs id lastEndedMs mnemonic systemTime userTime } actionsCreated actionsCreatedNotIncludingAspects actionsExecuted id remoteCacheHits runnerCount { actionsExecuted execKind id name } } artifactMetrics { id outputArtifactsFromActionCache { count id sizeInBytes } outputArtifactsSeen { count id sizeInBytes } sourceArtifactsRead { count id sizeInBytes } topLevelArtifacts { count id sizeInBytes } } buildGraphMetrics { actionCount actionLookupValueCount actionLookupValueCountNotIncludingAspects id inputFileConfiguredTargetCount otherConfiguredTargetCount outputArtifactCount outputFileConfiguredTargetCount postInvocationSkyframeNodeCount } cumulativeMetrics { id numAnalyses numBuilds } dynamicExecutionMetrics { id raceStatistics { id localRunner localWins mnemonic remoteRunner renoteWins } } id memoryMetrics { garbageMetrics { garbageCollected id type } id peakPostGcHeapSize peakPostGcTenuredSpaceHeapSize usedHeapSizePostBuild } networkMetrics { id systemNetworkStats { bytesRecv bytesSent id packetsRecv packetsSent peakBytesRecvPerSec peakBytesSentPerSec peakPacketsRecvPerSec peakPacketsSentPerSec } } packageMetrics { id packageLoadMetrics { computationSteps id loadDuration name numTargets numTransitiveLoads packageOverhead } packagesLoaded } targetMetrics { id targetsConfigured targetsConfiguredNotIncludingAspects targetsLoaded } timingMetrics { actionsExecutionStartInMs analysisPhaseTimeInMs cpuTimeInMs executionPhaseTimeInMs id wallTimeInMs } } numFetches profile { digest id name sizeInBytes } relatedFiles { name url } sourceControl { action actor branch commitSha eventName id job refs repoURL runID runnerArch runnerName runnerOs workflow workspace } startedAt state { bepCompleted buildEndTime buildStartTime exitCode { code id name } id } stepLabel targets { abortReason durationInMs id label success targetKind testSize } testCollection { cachedLocally cachedRemotely durationMs id label overallStatus strategy } user { Email LDAP } } fragment FullBazelInvocationDetails on BazelInvocation { ...BazelInvocationInfo } query LoadFullBazelInvocationDetails($invocationID: String!) { bazelInvocation(invocationId: $invocationID) { ...FullBazelInvocationDetails } }", "bb34b92cb4a11280082ec2332b06334a13cf4433": "fragment BlobReferenceInfo on BlobReference { availabilityStatus downloadURL ephemeralURL name sizeInBytes } fragment ProblemDetails on BazelInvocation { problems { ...ProblemInfo } } fragment ProblemInfo on Problem { __typename id label ... on ActionProblem { __typename id label stderr { ...BlobReferenceInfo } stdout { ...BlobReferenceInfo } type } ... on ProgressProblem { __typename id label output } ... on TargetProblem { __typename id label } ... on TestProblem { __typename id label results { __typename actionLogOutput { ...BlobReferenceInfo } attempt id run shard status undeclaredTestOutputs { ...BlobReferenceInfo } } status } } query GetProblemDetails($invocationID: String!) { bazelInvocation(invocationId: $invocationID) { ...ProblemDetails } }", "1e8efb549059b9fe79348092e6a23e7ea9b365f8": "fragment BlobReferenceInfo on BlobReference { availabilityStatus downloadURL ephemeralURL name sizeInBytes } query GetActionProblem($id: ID!) { node(id: $id) { id ... on ActionProblem { label stderr { ...BlobReferenceInfo } stdout { ...BlobReferenceInfo } } } }", - "d09eb6616bf2844a0b6398b564621be51bee48ad": "fragment BazelInvocationInfo on BazelInvocation { bazelCommand { cmdLine command executable explicitCmdLine explicitStartupOptions id residual startupOptions } build { buildUUID id } configurationMnemonic cpu endedAt hostname id invocationID isCiWorker metrics { actionSummary { actionCacheStatistics { hits id loadTimeInMs missDetails { count id reason } misses saveTimeInMs sizeInBytes } actionData { actionsCreated actionsExecuted firstStartedMs id lastEndedMs mnemonic systemTime userTime } actionsCreated actionsCreatedNotIncludingAspects actionsExecuted id remoteCacheHits runnerCount { actionsExecuted execKind id name } } artifactMetrics { id outputArtifactsFromActionCache { count id sizeInBytes } outputArtifactsSeen { count id sizeInBytes } sourceArtifactsRead { count id sizeInBytes } topLevelArtifacts { count id sizeInBytes } } buildGraphMetrics { actionCount actionLookupValueCount actionLookupValueCountNotIncludingAspects id inputFileConfiguredTargetCount otherConfiguredTargetCount outputArtifactCount outputFileConfiguredTargetCount postInvocationSkyframeNodeCount } cumulativeMetrics { id numAnalyses numBuilds } dynamicExecutionMetrics { id raceStatistics { id localRunner localWins mnemonic remoteRunner renoteWins } } id memoryMetrics { garbageMetrics { garbageCollected id type } id peakPostGcHeapSize peakPostGcTenuredSpaceHeapSize usedHeapSizePostBuild } networkMetrics { id systemNetworkStats { bytesRecv bytesSent id packetsRecv packetsSent peakBytesRecvPerSec peakBytesSentPerSec peakPacketsRecvPerSec peakPacketsSentPerSec } } packageMetrics { id packageLoadMetrics { computationSteps id loadDuration name numTargets numTransitiveLoads packageOverhead } packagesLoaded } targetMetrics { id targetsConfigured targetsConfiguredNotIncludingAspects targetsLoaded } timingMetrics { actionsExecutionStartInMs analysisPhaseTimeInMs cpuTimeInMs executionPhaseTimeInMs id wallTimeInMs } } numFetches profile { digest id name sizeInBytes } relatedFiles { name url } sourceControl { actor branch commitSha id refs repoURL runID } startedAt state { bepCompleted buildEndTime buildStartTime exitCode { code id name } id } stepLabel targets { abortReason durationInMs id label success targetKind testSize } testCollection { cachedLocally cachedRemotely durationMs id label overallStatus strategy } user { Email LDAP } } fragment FullBazelInvocationDetails on BazelInvocation { ...BazelInvocationInfo } query FindBuildByUUID($url: String, $uuid: UUID) { getBuild(buildURL: $url, buildUUID: $uuid) { buildURL buildUUID env { key value } id invocations { ...FullBazelInvocationDetails } } }", + "482603255e473f6937c1813eb3edf1d705de0574": "fragment BazelInvocationInfo on BazelInvocation { bazelCommand { cmdLine command executable explicitCmdLine explicitStartupOptions id residual startupOptions } build { buildUUID id } configurationMnemonic cpu endedAt hostname id invocationID isCiWorker metrics { actionSummary { actionCacheStatistics { hits id loadTimeInMs missDetails { count id reason } misses saveTimeInMs sizeInBytes } actionData { actionsCreated actionsExecuted firstStartedMs id lastEndedMs mnemonic systemTime userTime } actionsCreated actionsCreatedNotIncludingAspects actionsExecuted id remoteCacheHits runnerCount { actionsExecuted execKind id name } } artifactMetrics { id outputArtifactsFromActionCache { count id sizeInBytes } outputArtifactsSeen { count id sizeInBytes } sourceArtifactsRead { count id sizeInBytes } topLevelArtifacts { count id sizeInBytes } } buildGraphMetrics { actionCount actionLookupValueCount actionLookupValueCountNotIncludingAspects id inputFileConfiguredTargetCount otherConfiguredTargetCount outputArtifactCount outputFileConfiguredTargetCount postInvocationSkyframeNodeCount } cumulativeMetrics { id numAnalyses numBuilds } dynamicExecutionMetrics { id raceStatistics { id localRunner localWins mnemonic remoteRunner renoteWins } } id memoryMetrics { garbageMetrics { garbageCollected id type } id peakPostGcHeapSize peakPostGcTenuredSpaceHeapSize usedHeapSizePostBuild } networkMetrics { id systemNetworkStats { bytesRecv bytesSent id packetsRecv packetsSent peakBytesRecvPerSec peakBytesSentPerSec peakPacketsRecvPerSec peakPacketsSentPerSec } } packageMetrics { id packageLoadMetrics { computationSteps id loadDuration name numTargets numTransitiveLoads packageOverhead } packagesLoaded } targetMetrics { id targetsConfigured targetsConfiguredNotIncludingAspects targetsLoaded } timingMetrics { actionsExecutionStartInMs analysisPhaseTimeInMs cpuTimeInMs executionPhaseTimeInMs id wallTimeInMs } } numFetches profile { digest id name sizeInBytes } relatedFiles { name url } sourceControl { action actor branch commitSha eventName id job refs repoURL runID runnerArch runnerName runnerOs workflow workspace } startedAt state { bepCompleted buildEndTime buildStartTime exitCode { code id name } id } stepLabel targets { abortReason durationInMs id label success targetKind testSize } testCollection { cachedLocally cachedRemotely durationMs id label overallStatus strategy } user { Email LDAP } } fragment FullBazelInvocationDetails on BazelInvocation { ...BazelInvocationInfo } query FindBuildByUUID($url: String, $uuid: UUID) { getBuild(buildURL: $url, buildUUID: $uuid) { buildURL buildUUID env { key value } id invocations { ...FullBazelInvocationDetails } } }", "45528b39e6234ab4c14e4ade920240652d8961e8": "query GetTargetsWithOffset($direction: String, $label: String, $limit: Int, $offset: Int, $sortBy: String) { getTargetsWithOffset( label: $label offset: $offset limit: $limit sortBy: $sortBy direction: $direction ) { result { avg count label max min passRate sum } total } }", "f4e866e3a87835a6ea5e334117dc69417e8cda19": "query FindTargets($after: Cursor, $first: Int!, $orderBy: TargetPairOrder, $where: TargetPairWhereInput) { findTargets(first: $first, where: $where, orderBy: $orderBy, after: $after) { edges { node { bazelInvocation { invocationID } durationInMs id label success } } pageInfo { endCursor hasNextPage hasPreviousPage startCursor } totalCount } }", "a58c22b2db5f30d1dba201fe125838c7f14d5e6d": "query GetTestsWithOffset($direction: String, $label: String, $limit: Int, $offset: Int, $sortBy: String) { getTestsWithOffset( label: $label offset: $offset limit: $limit sortBy: $sortBy direction: $direction ) { result { avg count label max min passRate sum } total } }", diff --git a/internal/graphql/schema/ent.graphql b/internal/graphql/schema/ent.graphql index 179fffe..d3a1301 100644 --- a/internal/graphql/schema/ent.graphql +++ b/internal/graphql/schema/ent.graphql @@ -2845,6 +2845,14 @@ type SourceControl implements Node { actor: String refs: String runID: String + workflow: String + action: String + workspace: String + eventName: String + job: String + runnerName: String + runnerArch: String + runnerOs: String bazelInvocation: BazelInvocation } """ @@ -2975,6 +2983,150 @@ input SourceControlWhereInput { runIDEqualFold: String runIDContainsFold: String """ + workflow field predicates + """ + workflow: String + workflowNEQ: String + workflowIn: [String!] + workflowNotIn: [String!] + workflowGT: String + workflowGTE: String + workflowLT: String + workflowLTE: String + workflowContains: String + workflowHasPrefix: String + workflowHasSuffix: String + workflowIsNil: Boolean + workflowNotNil: Boolean + workflowEqualFold: String + workflowContainsFold: String + """ + action field predicates + """ + action: String + actionNEQ: String + actionIn: [String!] + actionNotIn: [String!] + actionGT: String + actionGTE: String + actionLT: String + actionLTE: String + actionContains: String + actionHasPrefix: String + actionHasSuffix: String + actionIsNil: Boolean + actionNotNil: Boolean + actionEqualFold: String + actionContainsFold: String + """ + workspace field predicates + """ + workspace: String + workspaceNEQ: String + workspaceIn: [String!] + workspaceNotIn: [String!] + workspaceGT: String + workspaceGTE: String + workspaceLT: String + workspaceLTE: String + workspaceContains: String + workspaceHasPrefix: String + workspaceHasSuffix: String + workspaceIsNil: Boolean + workspaceNotNil: Boolean + workspaceEqualFold: String + workspaceContainsFold: String + """ + event_name field predicates + """ + eventName: String + eventNameNEQ: String + eventNameIn: [String!] + eventNameNotIn: [String!] + eventNameGT: String + eventNameGTE: String + eventNameLT: String + eventNameLTE: String + eventNameContains: String + eventNameHasPrefix: String + eventNameHasSuffix: String + eventNameIsNil: Boolean + eventNameNotNil: Boolean + eventNameEqualFold: String + eventNameContainsFold: String + """ + job field predicates + """ + job: String + jobNEQ: String + jobIn: [String!] + jobNotIn: [String!] + jobGT: String + jobGTE: String + jobLT: String + jobLTE: String + jobContains: String + jobHasPrefix: String + jobHasSuffix: String + jobIsNil: Boolean + jobNotNil: Boolean + jobEqualFold: String + jobContainsFold: String + """ + runner_name field predicates + """ + runnerName: String + runnerNameNEQ: String + runnerNameIn: [String!] + runnerNameNotIn: [String!] + runnerNameGT: String + runnerNameGTE: String + runnerNameLT: String + runnerNameLTE: String + runnerNameContains: String + runnerNameHasPrefix: String + runnerNameHasSuffix: String + runnerNameIsNil: Boolean + runnerNameNotNil: Boolean + runnerNameEqualFold: String + runnerNameContainsFold: String + """ + runner_arch field predicates + """ + runnerArch: String + runnerArchNEQ: String + runnerArchIn: [String!] + runnerArchNotIn: [String!] + runnerArchGT: String + runnerArchGTE: String + runnerArchLT: String + runnerArchLTE: String + runnerArchContains: String + runnerArchHasPrefix: String + runnerArchHasSuffix: String + runnerArchIsNil: Boolean + runnerArchNotNil: Boolean + runnerArchEqualFold: String + runnerArchContainsFold: String + """ + runner_os field predicates + """ + runnerOs: String + runnerOsNEQ: String + runnerOsIn: [String!] + runnerOsNotIn: [String!] + runnerOsGT: String + runnerOsGTE: String + runnerOsLT: String + runnerOsLTE: String + runnerOsContains: String + runnerOsHasPrefix: String + runnerOsHasSuffix: String + runnerOsIsNil: Boolean + runnerOsNotNil: Boolean + runnerOsEqualFold: String + runnerOsContainsFold: String + """ bazel_invocation edge predicates """ hasBazelInvocation: Boolean diff --git a/internal/graphql/server_gen.go b/internal/graphql/server_gen.go index 6141b24..19dc372 100644 --- a/internal/graphql/server_gen.go +++ b/internal/graphql/server_gen.go @@ -552,14 +552,22 @@ type ComplexityRoot struct { } SourceControl struct { + Action func(childComplexity int) int Actor func(childComplexity int) int BazelInvocation func(childComplexity int) int Branch func(childComplexity int) int CommitSha func(childComplexity int) int + EventName func(childComplexity int) int ID func(childComplexity int) int + Job func(childComplexity int) int Refs func(childComplexity int) int RepoURL func(childComplexity int) int RunID func(childComplexity int) int + RunnerArch func(childComplexity int) int + RunnerName func(childComplexity int) int + RunnerOs func(childComplexity int) int + Workflow func(childComplexity int) int + Workspace func(childComplexity int) int } SystemNetworkStats struct { @@ -3383,6 +3391,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.RunnerCountEdge.Node(childComplexity), true + case "SourceControl.action": + if e.complexity.SourceControl.Action == nil { + break + } + + return e.complexity.SourceControl.Action(childComplexity), true + case "SourceControl.actor": if e.complexity.SourceControl.Actor == nil { break @@ -3411,6 +3426,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.SourceControl.CommitSha(childComplexity), true + case "SourceControl.eventName": + if e.complexity.SourceControl.EventName == nil { + break + } + + return e.complexity.SourceControl.EventName(childComplexity), true + case "SourceControl.id": if e.complexity.SourceControl.ID == nil { break @@ -3418,6 +3440,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.SourceControl.ID(childComplexity), true + case "SourceControl.job": + if e.complexity.SourceControl.Job == nil { + break + } + + return e.complexity.SourceControl.Job(childComplexity), true + case "SourceControl.refs": if e.complexity.SourceControl.Refs == nil { break @@ -3439,6 +3468,41 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.SourceControl.RunID(childComplexity), true + case "SourceControl.runnerArch": + if e.complexity.SourceControl.RunnerArch == nil { + break + } + + return e.complexity.SourceControl.RunnerArch(childComplexity), true + + case "SourceControl.runnerName": + if e.complexity.SourceControl.RunnerName == nil { + break + } + + return e.complexity.SourceControl.RunnerName(childComplexity), true + + case "SourceControl.runnerOs": + if e.complexity.SourceControl.RunnerOs == nil { + break + } + + return e.complexity.SourceControl.RunnerOs(childComplexity), true + + case "SourceControl.workflow": + if e.complexity.SourceControl.Workflow == nil { + break + } + + return e.complexity.SourceControl.Workflow(childComplexity), true + + case "SourceControl.workspace": + if e.complexity.SourceControl.Workspace == nil { + break + } + + return e.complexity.SourceControl.Workspace(childComplexity), true + case "SystemNetworkStats.bytesRecv": if e.complexity.SystemNetworkStats.BytesRecv == nil { break @@ -9577,6 +9641,22 @@ func (ec *executionContext) fieldContext_BazelInvocation_sourceControl(_ context return ec.fieldContext_SourceControl_refs(ctx, field) case "runID": return ec.fieldContext_SourceControl_runID(ctx, field) + case "workflow": + return ec.fieldContext_SourceControl_workflow(ctx, field) + case "action": + return ec.fieldContext_SourceControl_action(ctx, field) + case "workspace": + return ec.fieldContext_SourceControl_workspace(ctx, field) + case "eventName": + return ec.fieldContext_SourceControl_eventName(ctx, field) + case "job": + return ec.fieldContext_SourceControl_job(ctx, field) + case "runnerName": + return ec.fieldContext_SourceControl_runnerName(ctx, field) + case "runnerArch": + return ec.fieldContext_SourceControl_runnerArch(ctx, field) + case "runnerOs": + return ec.fieldContext_SourceControl_runnerOs(ctx, field) case "bazelInvocation": return ec.fieldContext_SourceControl_bazelInvocation(ctx, field) } @@ -20159,6 +20239,334 @@ func (ec *executionContext) fieldContext_SourceControl_runID(_ context.Context, return fc, nil } +func (ec *executionContext) _SourceControl_workflow(ctx context.Context, field graphql.CollectedField, obj *ent.SourceControl) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_SourceControl_workflow(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.Workflow, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(string) + fc.Result = res + return ec.marshalOString2string(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_SourceControl_workflow(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SourceControl", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SourceControl_action(ctx context.Context, field graphql.CollectedField, obj *ent.SourceControl) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_SourceControl_action(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.Action, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(string) + fc.Result = res + return ec.marshalOString2string(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_SourceControl_action(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SourceControl", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SourceControl_workspace(ctx context.Context, field graphql.CollectedField, obj *ent.SourceControl) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_SourceControl_workspace(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.Workspace, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(string) + fc.Result = res + return ec.marshalOString2string(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_SourceControl_workspace(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SourceControl", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SourceControl_eventName(ctx context.Context, field graphql.CollectedField, obj *ent.SourceControl) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_SourceControl_eventName(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.EventName, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(string) + fc.Result = res + return ec.marshalOString2string(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_SourceControl_eventName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SourceControl", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SourceControl_job(ctx context.Context, field graphql.CollectedField, obj *ent.SourceControl) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_SourceControl_job(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.Job, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(string) + fc.Result = res + return ec.marshalOString2string(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_SourceControl_job(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SourceControl", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SourceControl_runnerName(ctx context.Context, field graphql.CollectedField, obj *ent.SourceControl) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_SourceControl_runnerName(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.RunnerName, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(string) + fc.Result = res + return ec.marshalOString2string(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_SourceControl_runnerName(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SourceControl", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SourceControl_runnerArch(ctx context.Context, field graphql.CollectedField, obj *ent.SourceControl) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_SourceControl_runnerArch(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.RunnerArch, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(string) + fc.Result = res + return ec.marshalOString2string(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_SourceControl_runnerArch(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SourceControl", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _SourceControl_runnerOs(ctx context.Context, field graphql.CollectedField, obj *ent.SourceControl) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_SourceControl_runnerOs(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.RunnerOs, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(string) + fc.Result = res + return ec.marshalOString2string(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_SourceControl_runnerOs(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "SourceControl", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + func (ec *executionContext) _SourceControl_bazelInvocation(ctx context.Context, field graphql.CollectedField, obj *ent.SourceControl) (ret graphql.Marshaler) { fc, err := ec.fieldContext_SourceControl_bazelInvocation(ctx, field) if err != nil { @@ -40864,7 +41272,7 @@ func (ec *executionContext) unmarshalInputSourceControlWhereInput(ctx context.Co asMap[k] = v } - fieldsInOrder := [...]string{"not", "and", "or", "id", "idNEQ", "idIn", "idNotIn", "idGT", "idGTE", "idLT", "idLTE", "repoURL", "repoURLNEQ", "repoURLIn", "repoURLNotIn", "repoURLGT", "repoURLGTE", "repoURLLT", "repoURLLTE", "repoURLContains", "repoURLHasPrefix", "repoURLHasSuffix", "repoURLIsNil", "repoURLNotNil", "repoURLEqualFold", "repoURLContainsFold", "branch", "branchNEQ", "branchIn", "branchNotIn", "branchGT", "branchGTE", "branchLT", "branchLTE", "branchContains", "branchHasPrefix", "branchHasSuffix", "branchIsNil", "branchNotNil", "branchEqualFold", "branchContainsFold", "commitSha", "commitShaNEQ", "commitShaIn", "commitShaNotIn", "commitShaGT", "commitShaGTE", "commitShaLT", "commitShaLTE", "commitShaContains", "commitShaHasPrefix", "commitShaHasSuffix", "commitShaIsNil", "commitShaNotNil", "commitShaEqualFold", "commitShaContainsFold", "actor", "actorNEQ", "actorIn", "actorNotIn", "actorGT", "actorGTE", "actorLT", "actorLTE", "actorContains", "actorHasPrefix", "actorHasSuffix", "actorIsNil", "actorNotNil", "actorEqualFold", "actorContainsFold", "refs", "refsNEQ", "refsIn", "refsNotIn", "refsGT", "refsGTE", "refsLT", "refsLTE", "refsContains", "refsHasPrefix", "refsHasSuffix", "refsIsNil", "refsNotNil", "refsEqualFold", "refsContainsFold", "runID", "runIDNEQ", "runIDIn", "runIDNotIn", "runIDGT", "runIDGTE", "runIDLT", "runIDLTE", "runIDContains", "runIDHasPrefix", "runIDHasSuffix", "runIDIsNil", "runIDNotNil", "runIDEqualFold", "runIDContainsFold", "hasBazelInvocation", "hasBazelInvocationWith"} + fieldsInOrder := [...]string{"not", "and", "or", "id", "idNEQ", "idIn", "idNotIn", "idGT", "idGTE", "idLT", "idLTE", "repoURL", "repoURLNEQ", "repoURLIn", "repoURLNotIn", "repoURLGT", "repoURLGTE", "repoURLLT", "repoURLLTE", "repoURLContains", "repoURLHasPrefix", "repoURLHasSuffix", "repoURLIsNil", "repoURLNotNil", "repoURLEqualFold", "repoURLContainsFold", "branch", "branchNEQ", "branchIn", "branchNotIn", "branchGT", "branchGTE", "branchLT", "branchLTE", "branchContains", "branchHasPrefix", "branchHasSuffix", "branchIsNil", "branchNotNil", "branchEqualFold", "branchContainsFold", "commitSha", "commitShaNEQ", "commitShaIn", "commitShaNotIn", "commitShaGT", "commitShaGTE", "commitShaLT", "commitShaLTE", "commitShaContains", "commitShaHasPrefix", "commitShaHasSuffix", "commitShaIsNil", "commitShaNotNil", "commitShaEqualFold", "commitShaContainsFold", "actor", "actorNEQ", "actorIn", "actorNotIn", "actorGT", "actorGTE", "actorLT", "actorLTE", "actorContains", "actorHasPrefix", "actorHasSuffix", "actorIsNil", "actorNotNil", "actorEqualFold", "actorContainsFold", "refs", "refsNEQ", "refsIn", "refsNotIn", "refsGT", "refsGTE", "refsLT", "refsLTE", "refsContains", "refsHasPrefix", "refsHasSuffix", "refsIsNil", "refsNotNil", "refsEqualFold", "refsContainsFold", "runID", "runIDNEQ", "runIDIn", "runIDNotIn", "runIDGT", "runIDGTE", "runIDLT", "runIDLTE", "runIDContains", "runIDHasPrefix", "runIDHasSuffix", "runIDIsNil", "runIDNotNil", "runIDEqualFold", "runIDContainsFold", "workflow", "workflowNEQ", "workflowIn", "workflowNotIn", "workflowGT", "workflowGTE", "workflowLT", "workflowLTE", "workflowContains", "workflowHasPrefix", "workflowHasSuffix", "workflowIsNil", "workflowNotNil", "workflowEqualFold", "workflowContainsFold", "action", "actionNEQ", "actionIn", "actionNotIn", "actionGT", "actionGTE", "actionLT", "actionLTE", "actionContains", "actionHasPrefix", "actionHasSuffix", "actionIsNil", "actionNotNil", "actionEqualFold", "actionContainsFold", "workspace", "workspaceNEQ", "workspaceIn", "workspaceNotIn", "workspaceGT", "workspaceGTE", "workspaceLT", "workspaceLTE", "workspaceContains", "workspaceHasPrefix", "workspaceHasSuffix", "workspaceIsNil", "workspaceNotNil", "workspaceEqualFold", "workspaceContainsFold", "eventName", "eventNameNEQ", "eventNameIn", "eventNameNotIn", "eventNameGT", "eventNameGTE", "eventNameLT", "eventNameLTE", "eventNameContains", "eventNameHasPrefix", "eventNameHasSuffix", "eventNameIsNil", "eventNameNotNil", "eventNameEqualFold", "eventNameContainsFold", "job", "jobNEQ", "jobIn", "jobNotIn", "jobGT", "jobGTE", "jobLT", "jobLTE", "jobContains", "jobHasPrefix", "jobHasSuffix", "jobIsNil", "jobNotNil", "jobEqualFold", "jobContainsFold", "runnerName", "runnerNameNEQ", "runnerNameIn", "runnerNameNotIn", "runnerNameGT", "runnerNameGTE", "runnerNameLT", "runnerNameLTE", "runnerNameContains", "runnerNameHasPrefix", "runnerNameHasSuffix", "runnerNameIsNil", "runnerNameNotNil", "runnerNameEqualFold", "runnerNameContainsFold", "runnerArch", "runnerArchNEQ", "runnerArchIn", "runnerArchNotIn", "runnerArchGT", "runnerArchGTE", "runnerArchLT", "runnerArchLTE", "runnerArchContains", "runnerArchHasPrefix", "runnerArchHasSuffix", "runnerArchIsNil", "runnerArchNotNil", "runnerArchEqualFold", "runnerArchContainsFold", "runnerOs", "runnerOsNEQ", "runnerOsIn", "runnerOsNotIn", "runnerOsGT", "runnerOsGTE", "runnerOsLT", "runnerOsLTE", "runnerOsContains", "runnerOsHasPrefix", "runnerOsHasSuffix", "runnerOsIsNil", "runnerOsNotNil", "runnerOsEqualFold", "runnerOsContainsFold", "hasBazelInvocation", "hasBazelInvocationWith"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { @@ -41594,6 +42002,846 @@ func (ec *executionContext) unmarshalInputSourceControlWhereInput(ctx context.Co return it, err } it.RunIDContainsFold = data + case "workflow": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflow")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.Workflow = data + case "workflowNEQ": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowNEQ")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowNEQ = data + case "workflowIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.WorkflowIn = data + case "workflowNotIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowNotIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.WorkflowNotIn = data + case "workflowGT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowGT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowGT = data + case "workflowGTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowGTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowGTE = data + case "workflowLT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowLT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowLT = data + case "workflowLTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowLTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowLTE = data + case "workflowContains": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowContains")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowContains = data + case "workflowHasPrefix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowHasPrefix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowHasPrefix = data + case "workflowHasSuffix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowHasSuffix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowHasSuffix = data + case "workflowIsNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowIsNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.WorkflowIsNil = data + case "workflowNotNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowNotNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.WorkflowNotNil = data + case "workflowEqualFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowEqualFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowEqualFold = data + case "workflowContainsFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workflowContainsFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkflowContainsFold = data + case "action": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("action")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.Action = data + case "actionNEQ": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionNEQ")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionNEQ = data + case "actionIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.ActionIn = data + case "actionNotIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionNotIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.ActionNotIn = data + case "actionGT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionGT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionGT = data + case "actionGTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionGTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionGTE = data + case "actionLT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionLT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionLT = data + case "actionLTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionLTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionLTE = data + case "actionContains": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionContains")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionContains = data + case "actionHasPrefix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionHasPrefix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionHasPrefix = data + case "actionHasSuffix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionHasSuffix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionHasSuffix = data + case "actionIsNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionIsNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.ActionIsNil = data + case "actionNotNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionNotNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.ActionNotNil = data + case "actionEqualFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionEqualFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionEqualFold = data + case "actionContainsFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("actionContainsFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.ActionContainsFold = data + case "workspace": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspace")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.Workspace = data + case "workspaceNEQ": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceNEQ")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceNEQ = data + case "workspaceIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceIn = data + case "workspaceNotIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceNotIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceNotIn = data + case "workspaceGT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceGT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceGT = data + case "workspaceGTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceGTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceGTE = data + case "workspaceLT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceLT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceLT = data + case "workspaceLTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceLTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceLTE = data + case "workspaceContains": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceContains")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceContains = data + case "workspaceHasPrefix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceHasPrefix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceHasPrefix = data + case "workspaceHasSuffix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceHasSuffix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceHasSuffix = data + case "workspaceIsNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceIsNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceIsNil = data + case "workspaceNotNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceNotNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceNotNil = data + case "workspaceEqualFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceEqualFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceEqualFold = data + case "workspaceContainsFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("workspaceContainsFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.WorkspaceContainsFold = data + case "eventName": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventName")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventName = data + case "eventNameNEQ": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameNEQ")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameNEQ = data + case "eventNameIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.EventNameIn = data + case "eventNameNotIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameNotIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.EventNameNotIn = data + case "eventNameGT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameGT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameGT = data + case "eventNameGTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameGTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameGTE = data + case "eventNameLT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameLT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameLT = data + case "eventNameLTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameLTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameLTE = data + case "eventNameContains": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameContains")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameContains = data + case "eventNameHasPrefix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameHasPrefix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameHasPrefix = data + case "eventNameHasSuffix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameHasSuffix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameHasSuffix = data + case "eventNameIsNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameIsNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.EventNameIsNil = data + case "eventNameNotNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameNotNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.EventNameNotNil = data + case "eventNameEqualFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameEqualFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameEqualFold = data + case "eventNameContainsFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("eventNameContainsFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.EventNameContainsFold = data + case "job": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("job")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.Job = data + case "jobNEQ": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobNEQ")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobNEQ = data + case "jobIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.JobIn = data + case "jobNotIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobNotIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.JobNotIn = data + case "jobGT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobGT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobGT = data + case "jobGTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobGTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobGTE = data + case "jobLT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobLT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobLT = data + case "jobLTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobLTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobLTE = data + case "jobContains": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobContains")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobContains = data + case "jobHasPrefix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobHasPrefix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobHasPrefix = data + case "jobHasSuffix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobHasSuffix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobHasSuffix = data + case "jobIsNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobIsNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.JobIsNil = data + case "jobNotNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobNotNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.JobNotNil = data + case "jobEqualFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobEqualFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobEqualFold = data + case "jobContainsFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("jobContainsFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.JobContainsFold = data + case "runnerName": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerName")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerName = data + case "runnerNameNEQ": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameNEQ")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameNEQ = data + case "runnerNameIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameIn = data + case "runnerNameNotIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameNotIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameNotIn = data + case "runnerNameGT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameGT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameGT = data + case "runnerNameGTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameGTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameGTE = data + case "runnerNameLT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameLT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameLT = data + case "runnerNameLTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameLTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameLTE = data + case "runnerNameContains": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameContains")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameContains = data + case "runnerNameHasPrefix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameHasPrefix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameHasPrefix = data + case "runnerNameHasSuffix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameHasSuffix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameHasSuffix = data + case "runnerNameIsNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameIsNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameIsNil = data + case "runnerNameNotNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameNotNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameNotNil = data + case "runnerNameEqualFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameEqualFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameEqualFold = data + case "runnerNameContainsFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerNameContainsFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerNameContainsFold = data + case "runnerArch": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArch")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArch = data + case "runnerArchNEQ": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchNEQ")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchNEQ = data + case "runnerArchIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchIn = data + case "runnerArchNotIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchNotIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchNotIn = data + case "runnerArchGT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchGT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchGT = data + case "runnerArchGTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchGTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchGTE = data + case "runnerArchLT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchLT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchLT = data + case "runnerArchLTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchLTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchLTE = data + case "runnerArchContains": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchContains")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchContains = data + case "runnerArchHasPrefix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchHasPrefix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchHasPrefix = data + case "runnerArchHasSuffix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchHasSuffix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchHasSuffix = data + case "runnerArchIsNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchIsNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchIsNil = data + case "runnerArchNotNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchNotNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchNotNil = data + case "runnerArchEqualFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchEqualFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchEqualFold = data + case "runnerArchContainsFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerArchContainsFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerArchContainsFold = data + case "runnerOs": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOs")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOs = data + case "runnerOsNEQ": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsNEQ")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsNEQ = data + case "runnerOsIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsIn = data + case "runnerOsNotIn": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsNotIn")) + data, err := ec.unmarshalOString2áš•stringáš„(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsNotIn = data + case "runnerOsGT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsGT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsGT = data + case "runnerOsGTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsGTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsGTE = data + case "runnerOsLT": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsLT")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsLT = data + case "runnerOsLTE": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsLTE")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsLTE = data + case "runnerOsContains": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsContains")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsContains = data + case "runnerOsHasPrefix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsHasPrefix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsHasPrefix = data + case "runnerOsHasSuffix": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsHasSuffix")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsHasSuffix = data + case "runnerOsIsNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsIsNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsIsNil = data + case "runnerOsNotNil": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsNotNil")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsNotNil = data + case "runnerOsEqualFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsEqualFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsEqualFold = data + case "runnerOsContainsFold": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("runnerOsContainsFold")) + data, err := ec.unmarshalOString2áš–string(ctx, v) + if err != nil { + return it, err + } + it.RunnerOsContainsFold = data case "hasBazelInvocation": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("hasBazelInvocation")) data, err := ec.unmarshalOBoolean2áš–bool(ctx, v) @@ -54379,6 +55627,22 @@ func (ec *executionContext) _SourceControl(ctx context.Context, sel ast.Selectio out.Values[i] = ec._SourceControl_refs(ctx, field, obj) case "runID": out.Values[i] = ec._SourceControl_runID(ctx, field, obj) + case "workflow": + out.Values[i] = ec._SourceControl_workflow(ctx, field, obj) + case "action": + out.Values[i] = ec._SourceControl_action(ctx, field, obj) + case "workspace": + out.Values[i] = ec._SourceControl_workspace(ctx, field, obj) + case "eventName": + out.Values[i] = ec._SourceControl_eventName(ctx, field, obj) + case "job": + out.Values[i] = ec._SourceControl_job(ctx, field, obj) + case "runnerName": + out.Values[i] = ec._SourceControl_runnerName(ctx, field, obj) + case "runnerArch": + out.Values[i] = ec._SourceControl_runnerArch(ctx, field, obj) + case "runnerOs": + out.Values[i] = ec._SourceControl_runnerOs(ctx, field, obj) case "bazelInvocation": field := field diff --git a/internal/graphql/testdata/snapshot.db b/internal/graphql/testdata/snapshot.db index 4349dfe..5514155 100644 Binary files a/internal/graphql/testdata/snapshot.db and b/internal/graphql/testdata/snapshot.db differ diff --git a/internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-URL).golden.json b/internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-URL).golden.json index 2ef03bc..4dd2255 100644 --- a/internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-URL).golden.json +++ b/internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-URL).golden.json @@ -12,14 +12,35 @@ "invocations": [ { "bazelCommand": { - "cmdLine": [], + "cmdLine": [ + "--enable_runfiles=1", + "--build_metadata=BUILD_STEP_LABEL=nextjs_test", + "--build_event_json_file=./pkg/summary/testdata/nextjs_test_fail.bep.ndjson" + ], "command": "test", "executable": "bazel", - "explicitCmdLine": "", - "explicitStartupOptions": [], + "explicitCmdLine": "--build_metadata=BUILD_STEP_LABEL=nextjs_test --build_event_json_file=./pkg/summary/testdata/nextjs_test_fail.bep.ndjson", + "explicitStartupOptions": [ + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ], "id": "", "residual": "//next.js/...", - "startupOptions": [] + "startupOptions": [ + "--max_idle_secs=10800", + "--noshutdown_on_low_sys_mem", + "--connect_timeout_secs=30", + "--output_user_root=/var/tmp/_bazel_nameless", + "--output_base=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096", + "--failure_detail_out=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096/failure_detail.rawproto", + "--expand_configs_in_place", + "--idle_server_tasks", + "--write_command_log", + "--nowatchfs", + "--nofatal_event_bus_exceptions", + "--nowindows_enable_symlinks", + "--noclient_debug", + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ] }, "build": { "buildUUID": "16276f4b-81e2-5b48-a09a-7c7c7b8b692f", @@ -208,7 +229,23 @@ "url": "../summary/testdata/nextjs_test_fail.bep.ndjson" } ], - "sourceControl": null, + "sourceControl": { + "action": "", + "actor": "", + "branch": "", + "commitSha": "", + "eventName": "", + "id": "U291cmNlQ29udHJvbDo1", + "job": "", + "refs": "", + "repoURL": "", + "runID": "", + "runnerArch": "", + "runnerName": "", + "runnerOs": "", + "workflow": "", + "workspace": "" + }, "startedAt": "2024-05-13T23:43:23.045Z", "state": { "bepCompleted": true, @@ -225,88 +262,88 @@ "targets": [ { "abortReason": "", - "durationInMs": 3, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMTU=", - "label": "//next.js/pages:_jest_test_bazel_sequencer", + "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", "success": true, "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMTY=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", + "label": "//next.js:build_smoke_test", "success": true, - "targetKind": "_copy_file rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMTc=", - "label": "//next.js/public:public", + "label": "//next.js:next_dev", "success": true, - "targetKind": "js_library rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMTg=", - "label": "//next.js:next", + "label": "//next.js:next_js_binary", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMTk=", - "label": "//next.js:next_dev", + "label": "//next.js/pages:_jest_test_bazel_sequencer", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjA=", - "label": "//next.js:package_json", + "label": "//next.js/pages/api:api", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjE=", - "label": "//next.js/pages/api:api", + "label": "//next.js/pages:pages", "success": true, "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjI=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", + "label": "//next.js/public:public", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoyMjM=", - "label": "//next.js:build_smoke_test", + "label": "//next.js:build_test", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMjQ=", "label": "//next.js:eslintrc", "success": true, @@ -315,93 +352,93 @@ }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMjU=", - "label": "//next.js:jest_config", + "label": "//next.js:next_start", "success": true, - "targetKind": "js_library rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMjY=", - "label": "//next.js/pages:pages", + "label": "//next.js:package_json", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjc=", - "label": "//next.js/styles:styles", + "label": "//next.js:tsconfig", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_config rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMjg=", - "label": "//next.js:next_js_binary", + "label": "//next.js/pages:_jest_test_jest_entrypoint", "success": true, - "targetKind": "js_binary rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMjk=", - "label": "//next.js:tsconfig", + "label": "//next.js/pages:specs", "success": true, - "targetKind": "ts_config rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMzA=", - "label": "//next.js/pages:jest_test", + "label": "//next.js:next", "success": true, - "targetKind": "jest_test rule", - "testSize": "MEDIUM" + "targetKind": "_run_binary rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMzE=", - "label": "//next.js/pages:_jest_test_jest_entrypoint", + "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", "success": true, - "targetKind": "directory_path rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMzI=", - "label": "//next.js/pages:specs", + "label": "//next.js/styles:styles", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMzM=", - "label": "//next.js:build_test", + "label": "//next.js:jest_config", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMzQ=", - "label": "//next.js:next_start", + "label": "//next.js/pages:jest_test", "success": true, - "targetKind": "_js_run_devserver rule", - "testSize": "UNKNOWN" + "targetKind": "jest_test rule", + "testSize": "MEDIUM" } ], "testCollection": [ diff --git a/internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-UUID).golden.json b/internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-UUID).golden.json index 2ef03bc..4dd2255 100644 --- a/internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-UUID).golden.json +++ b/internal/graphql/testdata/snapshots/FindBuildByUUID/found-(by-UUID).golden.json @@ -12,14 +12,35 @@ "invocations": [ { "bazelCommand": { - "cmdLine": [], + "cmdLine": [ + "--enable_runfiles=1", + "--build_metadata=BUILD_STEP_LABEL=nextjs_test", + "--build_event_json_file=./pkg/summary/testdata/nextjs_test_fail.bep.ndjson" + ], "command": "test", "executable": "bazel", - "explicitCmdLine": "", - "explicitStartupOptions": [], + "explicitCmdLine": "--build_metadata=BUILD_STEP_LABEL=nextjs_test --build_event_json_file=./pkg/summary/testdata/nextjs_test_fail.bep.ndjson", + "explicitStartupOptions": [ + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ], "id": "", "residual": "//next.js/...", - "startupOptions": [] + "startupOptions": [ + "--max_idle_secs=10800", + "--noshutdown_on_low_sys_mem", + "--connect_timeout_secs=30", + "--output_user_root=/var/tmp/_bazel_nameless", + "--output_base=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096", + "--failure_detail_out=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096/failure_detail.rawproto", + "--expand_configs_in_place", + "--idle_server_tasks", + "--write_command_log", + "--nowatchfs", + "--nofatal_event_bus_exceptions", + "--nowindows_enable_symlinks", + "--noclient_debug", + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ] }, "build": { "buildUUID": "16276f4b-81e2-5b48-a09a-7c7c7b8b692f", @@ -208,7 +229,23 @@ "url": "../summary/testdata/nextjs_test_fail.bep.ndjson" } ], - "sourceControl": null, + "sourceControl": { + "action": "", + "actor": "", + "branch": "", + "commitSha": "", + "eventName": "", + "id": "U291cmNlQ29udHJvbDo1", + "job": "", + "refs": "", + "repoURL": "", + "runID": "", + "runnerArch": "", + "runnerName": "", + "runnerOs": "", + "workflow": "", + "workspace": "" + }, "startedAt": "2024-05-13T23:43:23.045Z", "state": { "bepCompleted": true, @@ -225,88 +262,88 @@ "targets": [ { "abortReason": "", - "durationInMs": 3, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMTU=", - "label": "//next.js/pages:_jest_test_bazel_sequencer", + "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", "success": true, "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMTY=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", + "label": "//next.js:build_smoke_test", "success": true, - "targetKind": "_copy_file rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMTc=", - "label": "//next.js/public:public", + "label": "//next.js:next_dev", "success": true, - "targetKind": "js_library rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMTg=", - "label": "//next.js:next", + "label": "//next.js:next_js_binary", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMTk=", - "label": "//next.js:next_dev", + "label": "//next.js/pages:_jest_test_bazel_sequencer", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjA=", - "label": "//next.js:package_json", + "label": "//next.js/pages/api:api", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjE=", - "label": "//next.js/pages/api:api", + "label": "//next.js/pages:pages", "success": true, "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjI=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", + "label": "//next.js/public:public", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoyMjM=", - "label": "//next.js:build_smoke_test", + "label": "//next.js:build_test", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMjQ=", "label": "//next.js:eslintrc", "success": true, @@ -315,93 +352,93 @@ }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMjU=", - "label": "//next.js:jest_config", + "label": "//next.js:next_start", "success": true, - "targetKind": "js_library rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMjY=", - "label": "//next.js/pages:pages", + "label": "//next.js:package_json", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjc=", - "label": "//next.js/styles:styles", + "label": "//next.js:tsconfig", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_config rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMjg=", - "label": "//next.js:next_js_binary", + "label": "//next.js/pages:_jest_test_jest_entrypoint", "success": true, - "targetKind": "js_binary rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMjk=", - "label": "//next.js:tsconfig", + "label": "//next.js/pages:specs", "success": true, - "targetKind": "ts_config rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMzA=", - "label": "//next.js/pages:jest_test", + "label": "//next.js:next", "success": true, - "targetKind": "jest_test rule", - "testSize": "MEDIUM" + "targetKind": "_run_binary rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMzE=", - "label": "//next.js/pages:_jest_test_jest_entrypoint", + "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", "success": true, - "targetKind": "directory_path rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMzI=", - "label": "//next.js/pages:specs", + "label": "//next.js/styles:styles", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMzM=", - "label": "//next.js:build_test", + "label": "//next.js:jest_config", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMzQ=", - "label": "//next.js:next_start", + "label": "//next.js/pages:jest_test", "success": true, - "targetKind": "_js_run_devserver rule", - "testSize": "UNKNOWN" + "targetKind": "jest_test rule", + "testSize": "MEDIUM" } ], "testCollection": [ diff --git a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-analysis-failed-target.golden.json b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-analysis-failed-target.golden.json index 31b6f90..de2258c 100644 --- a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-analysis-failed-target.golden.json +++ b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-analysis-failed-target.golden.json @@ -1,14 +1,35 @@ { "bazelInvocation": { "bazelCommand": { - "cmdLine": [], + "cmdLine": [ + "--enable_runfiles=1", + "--build_metadata=BUILD_STEP_LABEL=nextjs_test", + "--build_event_json_file=./pkg/summary/testdata/nextjs_test_fail.bep.ndjson" + ], "command": "test", "executable": "bazel", - "explicitCmdLine": "", - "explicitStartupOptions": [], + "explicitCmdLine": "--build_metadata=BUILD_STEP_LABEL=nextjs_test --build_event_json_file=./pkg/summary/testdata/nextjs_test_fail.bep.ndjson", + "explicitStartupOptions": [ + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ], "id": "", "residual": "//next.js/...", - "startupOptions": [] + "startupOptions": [ + "--max_idle_secs=10800", + "--noshutdown_on_low_sys_mem", + "--connect_timeout_secs=30", + "--output_user_root=/var/tmp/_bazel_nameless", + "--output_base=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096", + "--failure_detail_out=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096/failure_detail.rawproto", + "--expand_configs_in_place", + "--idle_server_tasks", + "--write_command_log", + "--nowatchfs", + "--nofatal_event_bus_exceptions", + "--nowindows_enable_symlinks", + "--noclient_debug", + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ] }, "build": { "buildUUID": "16276f4b-81e2-5b48-a09a-7c7c7b8b692f", @@ -197,7 +218,23 @@ "url": "../summary/testdata/nextjs_test_fail.bep.ndjson" } ], - "sourceControl": null, + "sourceControl": { + "action": "", + "actor": "", + "branch": "", + "commitSha": "", + "eventName": "", + "id": "U291cmNlQ29udHJvbDo1", + "job": "", + "refs": "", + "repoURL": "", + "runID": "", + "runnerArch": "", + "runnerName": "", + "runnerOs": "", + "workflow": "", + "workspace": "" + }, "startedAt": "2024-05-13T23:43:23.045Z", "state": { "bepCompleted": true, @@ -214,88 +251,88 @@ "targets": [ { "abortReason": "", - "durationInMs": 3, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMTU=", - "label": "//next.js/pages:_jest_test_bazel_sequencer", + "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", "success": true, "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMTY=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", + "label": "//next.js:build_smoke_test", "success": true, - "targetKind": "_copy_file rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMTc=", - "label": "//next.js/public:public", + "label": "//next.js:next_dev", "success": true, - "targetKind": "js_library rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMTg=", - "label": "//next.js:next", + "label": "//next.js:next_js_binary", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMTk=", - "label": "//next.js:next_dev", + "label": "//next.js/pages:_jest_test_bazel_sequencer", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjA=", - "label": "//next.js:package_json", + "label": "//next.js/pages/api:api", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjE=", - "label": "//next.js/pages/api:api", + "label": "//next.js/pages:pages", "success": true, "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjI=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", + "label": "//next.js/public:public", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoyMjM=", - "label": "//next.js:build_smoke_test", + "label": "//next.js:build_test", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMjQ=", "label": "//next.js:eslintrc", "success": true, @@ -304,93 +341,93 @@ }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMjU=", - "label": "//next.js:jest_config", + "label": "//next.js:next_start", "success": true, - "targetKind": "js_library rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMjY=", - "label": "//next.js/pages:pages", + "label": "//next.js:package_json", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMjc=", - "label": "//next.js/styles:styles", + "label": "//next.js:tsconfig", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_config rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMjg=", - "label": "//next.js:next_js_binary", + "label": "//next.js/pages:_jest_test_jest_entrypoint", "success": true, - "targetKind": "js_binary rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoyMjk=", - "label": "//next.js:tsconfig", + "label": "//next.js/pages:specs", "success": true, - "targetKind": "ts_config rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMzA=", - "label": "//next.js/pages:jest_test", + "label": "//next.js:next", "success": true, - "targetKind": "jest_test rule", - "testSize": "MEDIUM" + "targetKind": "_run_binary rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMzE=", - "label": "//next.js/pages:_jest_test_jest_entrypoint", + "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", "success": true, - "targetKind": "directory_path rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMzI=", - "label": "//next.js/pages:specs", + "label": "//next.js/styles:styles", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMzM=", - "label": "//next.js:build_test", + "label": "//next.js:jest_config", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMzQ=", - "label": "//next.js:next_start", + "label": "//next.js/pages:jest_test", "success": true, - "targetKind": "_js_run_devserver rule", - "testSize": "UNKNOWN" + "targetKind": "jest_test rule", + "testSize": "MEDIUM" } ], "testCollection": [ diff --git a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-ignoring-target-and-error-progress-if-action-has-output.golden.json b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-ignoring-target-and-error-progress-if-action-has-output.golden.json index 405d1d8..f15d847 100644 --- a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-ignoring-target-and-error-progress-if-action-has-output.golden.json +++ b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-bazel-invocation-ignoring-target-and-error-progress-if-action-has-output.golden.json @@ -1,14 +1,34 @@ { "bazelInvocation": { "bazelCommand": { - "cmdLine": [], + "cmdLine": [ + "--enable_runfiles=1", + "--build_event_json_file=./pkg/summary/testdata/nextjs_target_failed.bep.ndjson" + ], "command": "build", "executable": "bazel", - "explicitCmdLine": "", - "explicitStartupOptions": [], + "explicitCmdLine": "--build_event_json_file=./pkg/summary/testdata/nextjs_target_failed.bep.ndjson", + "explicitStartupOptions": [ + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ], "id": "", "residual": "//...", - "startupOptions": [] + "startupOptions": [ + "--max_idle_secs=10800", + "--noshutdown_on_low_sys_mem", + "--connect_timeout_secs=30", + "--output_user_root=/var/tmp/_bazel_nameless", + "--output_base=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096", + "--failure_detail_out=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096/failure_detail.rawproto", + "--expand_configs_in_place", + "--idle_server_tasks", + "--write_command_log", + "--nowatchfs", + "--nofatal_event_bus_exceptions", + "--nowindows_enable_symlinks", + "--noclient_debug", + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ] }, "build": null, "configurationMnemonic": "darwin_arm64-fastbuild", @@ -178,7 +198,23 @@ "url": "../summary/testdata/nextjs_error_progress.bep.ndjson" } ], - "sourceControl": null, + "sourceControl": { + "action": "", + "actor": "", + "branch": "", + "commitSha": "", + "eventName": "", + "id": "U291cmNlQ29udHJvbDoz", + "job": "", + "refs": "", + "repoURL": "", + "runID": "", + "runnerArch": "", + "runnerName": "", + "runnerOs": "", + "workflow": "", + "workspace": "" + }, "startedAt": "2024-05-03T00:29:47.443Z", "state": { "bepCompleted": true, @@ -195,228 +231,228 @@ "targets": [ { "abortReason": "INCOMPLETE", - "durationInMs": 3, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoxMjc=", - "label": "//next.js/pages/api:api", + "label": "//next.js/pages:specs", "success": false, "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { - "abortReason": "", - "durationInMs": 0, + "abortReason": "INCOMPLETE", + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMjg=", - "label": "//next.js/public:public", - "success": true, - "targetKind": "js_library rule", + "label": "//packages/one:one", + "success": false, + "targetKind": "_npm_package rule", "testSize": "UNKNOWN" }, { "abortReason": "INCOMPLETE", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMjk=", - "label": "//next.js:next_js_binary", + "label": "//packages/one:one_ts", "success": false, - "targetKind": "js_binary rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "INCOMPLETE", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMzA=", - "label": "//react/src:lint", + "label": "//next.js:package_json", "success": false, - "targetKind": "eslint_test rule", - "testSize": "MEDIUM" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMzE=", - "label": "//react/src:src_typecheck", + "label": "//react/src:assets", "success": true, - "targetKind": "filegroup rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMzI=", - "label": "//react/src:test", + "label": "//react/src:src", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { - "abortReason": "", - "durationInMs": 0, + "abortReason": "INCOMPLETE", + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMzM=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", - "success": true, - "targetKind": "_copy_file rule", + "label": "//next.js:tsconfig", + "success": false, + "targetKind": "ts_config rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMzQ=", - "label": "//next.js/styles:styles", + "label": "//react/src:test", "success": true, - "targetKind": "js_library rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { - "abortReason": "INCOMPLETE", - "durationInMs": 2, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMzU=", - "label": "//next.js:tsconfig", - "success": false, - "targetKind": "ts_config rule", + "label": "//next.js/pages:_jest_test_bazel_sequencer", + "success": true, + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMzY=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", + "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", "success": true, "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "INCOMPLETE", - "durationInMs": 3, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoxMzc=", - "label": "//next.js/pages:_jest_test_jest_entrypoint", + "label": "//next.js:jest_config", "success": false, - "targetKind": "directory_path rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { - "abortReason": "INCOMPLETE", - "durationInMs": 2, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMzg=", - "label": "//packages/one:one_ts", - "success": false, - "targetKind": "ts_project rule", + "label": "//react/src:src_typecheck", + "success": true, + "targetKind": "filegroup rule", "testSize": "UNKNOWN" }, { "abortReason": "INCOMPLETE", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMzk=", - "label": "//next.js:package_json", + "label": "//next.js/pages:pages", "success": false, - "targetKind": "js_library rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNDA=", - "label": "//react/src:assets", + "label": "//next.js/public:public", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { - "abortReason": "", + "abortReason": "INCOMPLETE", "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNDE=", - "label": "//react/src:src_transpile", - "success": true, - "targetKind": "swc_compile rule", + "label": "//next.js:eslintrc", + "success": false, + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNDI=", - "label": "//next.js/pages:_jest_test_bazel_sequencer", + "label": "//next.js/styles:styles", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "INCOMPLETE", - "durationInMs": 3, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNDM=", - "label": "//next.js/pages:pages", + "label": "//next.js:next_js_binary", "success": false, - "targetKind": "ts_project rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "INCOMPLETE", - "durationInMs": 3, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoxNDQ=", - "label": "//next.js/pages:specs", + "label": "//next.js/pages/api:api", "success": false, "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { - "abortReason": "INCOMPLETE", - "durationInMs": 3, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNDU=", - "label": "//next.js:eslintrc", - "success": false, - "targetKind": "js_library rule", + "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", + "success": true, + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "INCOMPLETE", "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoxNDY=", - "label": "//next.js:jest_config", + "label": "//next.js/pages:_jest_test_jest_entrypoint", "success": false, - "targetKind": "js_library rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { - "abortReason": "INCOMPLETE", - "durationInMs": 2, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNDc=", - "label": "//packages/one:one", - "success": false, - "targetKind": "_npm_package rule", + "label": "//react/src:src_typings", + "success": true, + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNDg=", - "label": "//react/public:public", + "label": "//react/src:src_typecheck_test", "success": true, - "targetKind": "js_library rule", - "testSize": "UNKNOWN" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNDk=", - "label": "//react/src:src", + "label": "//react/public:public", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { - "abortReason": "", + "abortReason": "INCOMPLETE", "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNTA=", - "label": "//react/src:src_typings", - "success": true, - "targetKind": "ts_project rule", - "testSize": "UNKNOWN" + "label": "//react/src:lint", + "success": false, + "targetKind": "eslint_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNTE=", - "label": "//react/src:src_typecheck_test", + "label": "//react/src:src_transpile", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "swc_compile rule", + "testSize": "UNKNOWN" } ], "testCollection": [], diff --git a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-failed-bazel-invocation.golden.json b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-failed-bazel-invocation.golden.json index d38df1a..390c829 100644 --- a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-failed-bazel-invocation.golden.json +++ b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-single-failed-bazel-invocation.golden.json @@ -1,14 +1,34 @@ { "bazelInvocation": { "bazelCommand": { - "cmdLine": [], + "cmdLine": [ + "--enable_runfiles=1", + "--build_event_json_file=./pkg/summary/testdata/nextjs_build_fail.bep.ndjson" + ], "command": "test", "executable": "bazel", - "explicitCmdLine": "", - "explicitStartupOptions": [], + "explicitCmdLine": "--build_event_json_file=./pkg/summary/testdata/nextjs_build_fail.bep.ndjson", + "explicitStartupOptions": [ + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ], "id": "", "residual": "//...", - "startupOptions": [] + "startupOptions": [ + "--max_idle_secs=10800", + "--noshutdown_on_low_sys_mem", + "--connect_timeout_secs=30", + "--output_user_root=/var/tmp/_bazel_nameless", + "--output_base=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096", + "--failure_detail_out=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096/failure_detail.rawproto", + "--expand_configs_in_place", + "--idle_server_tasks", + "--write_command_log", + "--nowatchfs", + "--nofatal_event_bus_exceptions", + "--nowindows_enable_symlinks", + "--noclient_debug", + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ] }, "build": null, "configurationMnemonic": "darwin_arm64-fastbuild", @@ -204,7 +224,23 @@ "url": "../summary/testdata/nextjs_build_fail.bep.ndjson" } ], - "sourceControl": null, + "sourceControl": { + "action": "", + "actor": "", + "branch": "", + "commitSha": "", + "eventName": "", + "id": "U291cmNlQ29udHJvbDoy", + "job": "", + "refs": "", + "repoURL": "", + "runID": "", + "runnerArch": "", + "runnerName": "", + "runnerOs": "", + "workflow": "", + "workspace": "" + }, "startedAt": "2024-05-03T00:24:15.374Z", "state": { "bepCompleted": true, @@ -220,19 +256,19 @@ "stepLabel": "", "targets": [ { - "abortReason": "UNKNOWN", - "durationInMs": 10, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo2NA==", - "label": "//next.js:next_dev", - "success": false, - "targetKind": "_js_run_devserver rule", + "label": "//react-webpack:_bundle_webpack_binary_entrypoint", + "success": true, + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo2NQ==", - "label": "//react/src:assets", + "label": "//next.js:jest_config", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" @@ -248,46 +284,46 @@ }, { "abortReason": "", - "durationInMs": 4, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo2Nw==", - "label": "//react-webpack:_dev_server_webpack_binary", + "label": "//react/src:test_lib_typecheck", "success": true, - "targetKind": "js_binary rule", + "targetKind": "filegroup rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo2OA==", - "label": "//react-webpack:build_smoke_test", + "label": "//react/src:test_lib_typings", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "ts_project rule", + "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo2OQ==", - "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", + "label": "//react:write_swcrc", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo3MA==", - "label": "//next.js:jest_config", + "label": "//vue/libraries/simple:simple", "success": true, - "targetKind": "js_library rule", + "targetKind": "_npm_package rule", "testSize": "UNKNOWN" }, { - "abortReason": "UNKNOWN", - "durationInMs": 9, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo3MQ==", - "label": "//next.js:next", - "success": false, + "label": "//vue/libraries/simple:types", + "success": true, "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, @@ -295,169 +331,169 @@ "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo3Mg==", - "label": "//next.js:package_json", + "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", "success": true, - "targetKind": "js_library rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 6, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo3Mw==", - "label": "//react:package_json", + "label": "//next.js/public:public", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { - "abortReason": "", - "durationInMs": 0, + "abortReason": "UNKNOWN", + "durationInMs": 9, "id": "VGFyZ2V0UGFpcjo3NA==", - "label": "//next.js:next_js_binary", - "success": true, - "targetKind": "js_binary rule", + "label": "//next.js:next_start", + "success": false, + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo3NQ==", - "label": "//react/src:test_lib_typecheck", + "label": "//react:preview", "success": true, - "targetKind": "filegroup rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { - "abortReason": "", - "durationInMs": 0, + "abortReason": "UNKNOWN", + "durationInMs": 9, "id": "VGFyZ2V0UGFpcjo3Ng==", - "label": "//react:preview", - "success": true, - "targetKind": "js_binary rule", - "testSize": "UNKNOWN" + "label": "//next.js:build_test", + "success": false, + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 7, "id": "VGFyZ2V0UGFpcjo3Nw==", - "label": "//next.js/pages/api:api", + "label": "//next.js:eslintrc", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { - "abortReason": "", - "durationInMs": 0, + "abortReason": "UNKNOWN", + "durationInMs": 9, "id": "VGFyZ2V0UGFpcjo3OA==", - "label": "//packages/one:one", - "success": true, - "targetKind": "_npm_package rule", + "label": "//next.js:next", + "success": false, + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo3OQ==", - "label": "//react/public:public", + "label": "//vue:vite", "success": true, - "targetKind": "js_library rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjo4MA==", - "label": "//react:vite.config", + "label": "//react-webpack:build_smoke_test", "success": true, - "targetKind": "js_library rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo4MQ==", - "label": "//react:vite", + "label": "//vue:build", "success": true, - "targetKind": "js_binary rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo4Mg==", - "label": "//react-webpack:_dev_server_webpack_binary_entrypoint", + "label": "//next.js/pages:_jest_test_bazel_sequencer", "success": true, - "targetKind": "directory_path rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo4Mw==", - "label": "//react-webpack:bundle", + "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", "success": true, - "targetKind": "_webpack_bundle rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 8, "id": "VGFyZ2V0UGFpcjo4NA==", - "label": "//vue/libraries/simple:types", + "label": "//next.js/pages:_jest_test_jest_entrypoint", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjo4NQ==", - "label": "//vue:type-check", + "label": "//react/src:src_typecheck_test", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo4Ng==", - "label": "//vue:vite", - "success": true, - "targetKind": "js_binary rule", - "testSize": "UNKNOWN" - }, - { - "abortReason": "", - "durationInMs": 0, - "id": "VGFyZ2V0UGFpcjo4Nw==", - "label": "//next.js/pages:_jest_test_bazel_sequencer", + "label": "//vue/libraries/simple:build", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "UNKNOWN", - "durationInMs": 11, - "id": "VGFyZ2V0UGFpcjo4OA==", + "durationInMs": 10, + "id": "VGFyZ2V0UGFpcjo4Nw==", "label": "//next.js/pages:jest_test", "success": false, "targetKind": "jest_test rule", "testSize": "MEDIUM" }, { - "abortReason": "UNKNOWN", - "durationInMs": 11, + "abortReason": "", + "durationInMs": 6, + "id": "VGFyZ2V0UGFpcjo4OA==", + "label": "//react/src:lint", + "success": true, + "targetKind": "eslint_test rule", + "testSize": "MEDIUM" + }, + { + "abortReason": "", + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjo4OQ==", - "label": "//next.js:build_test", - "success": false, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "label": "//react/src:test_lib", + "success": true, + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo5MA==", - "label": "//react/src:src", + "label": "//react:vite.config", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" @@ -466,140 +502,140 @@ "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo5MQ==", - "label": "//vue:build", + "label": "//vue/libraries/simple:vite.config", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { - "abortReason": "UNKNOWN", - "durationInMs": 11, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo5Mg==", - "label": "//next.js:build_smoke_test", - "success": false, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "label": "//react/src:src_typings", + "success": true, + "targetKind": "ts_project rule", + "testSize": "UNKNOWN" }, { - "abortReason": "UNKNOWN", - "durationInMs": 10, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo5Mw==", - "label": "//next.js:next_start", - "success": false, - "targetKind": "_js_run_devserver rule", + "label": "//react-webpack/src:transpile", + "success": true, + "targetKind": "swc_compile rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjo5NA==", - "label": "//react:build", + "label": "//react-webpack:_dev_server_webpack_binary", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo5NQ==", - "label": "//packages/one:one_ts", + "label": "//react-webpack:_dev_server_webpack_binary_entrypoint", "success": true, - "targetKind": "ts_project rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 4, "id": "VGFyZ2V0UGFpcjo5Ng==", - "label": "//react:build_smoke_test", + "label": "//next.js/pages/api:api", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "ts_project rule", + "testSize": "UNKNOWN" }, { - "abortReason": "", - "durationInMs": 1, + "abortReason": "UNKNOWN", + "durationInMs": 9, "id": "VGFyZ2V0UGFpcjo5Nw==", - "label": "//react:write_swcrc", - "success": true, - "targetKind": "_run_binary rule", - "testSize": "UNKNOWN" + "label": "//next.js:build_smoke_test", + "success": false, + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo5OA==", - "label": "//next.js/styles:styles", + "label": "//react/src:src", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { - "abortReason": "UNKNOWN", - "durationInMs": 11, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo5OQ==", - "label": "//next.js/pages:specs", - "success": false, - "targetKind": "ts_project rule", + "label": "//vue/src:src", + "success": true, + "targetKind": "_copy_to_bin rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMDA=", - "label": "//next.js:tsconfig", + "label": "//next.js/styles:styles", "success": true, - "targetKind": "ts_config rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMDE=", - "label": "//react/src:test_lib_typings", + "label": "//react/src:src_typecheck", "success": true, - "targetKind": "ts_project rule", + "targetKind": "filegroup rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoxMDI=", - "label": "//vue/libraries/simple:vite.config", + "label": "//react:build", "success": true, - "targetKind": "js_library rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 9, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoxMDM=", - "label": "//next.js/pages:_jest_test_jest_entrypoint", + "label": "//react-webpack:_bundle_webpack_binary", "success": true, - "targetKind": "directory_path rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 5, "id": "VGFyZ2V0UGFpcjoxMDQ=", - "label": "//react:start", + "label": "//react:package_json", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMDU=", - "label": "//vue/libraries/simple:simple", + "label": "//vue:type-check", "success": true, - "targetKind": "_npm_package rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMDY=", "label": "//vue:build_test", "success": true, @@ -608,171 +644,171 @@ }, { "abortReason": "", - "durationInMs": 9, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMDc=", - "label": "//next.js:eslintrc", + "label": "//next.js:next_js_binary", "success": true, - "targetKind": "js_library rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { - "abortReason": "", - "durationInMs": 1, + "abortReason": "UNKNOWN", + "durationInMs": 9, "id": "VGFyZ2V0UGFpcjoxMDg=", - "label": "//vue/src:src", - "success": true, - "targetKind": "_copy_to_bin rule", + "label": "//next.js:next_dev", + "success": false, + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMDk=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", + "label": "//packages/one:one", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "_npm_package rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMTA=", - "label": "//react/src:src_typecheck_test", + "label": "//react/src:assets", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 6, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMTE=", - "label": "//react/src:test", + "label": "//react-webpack:bundle", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "_webpack_bundle rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoxMTI=", - "label": "//react/src:test_lib_transpile", + "label": "//react-webpack:dev_server", "success": true, - "targetKind": "swc_compile rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { - "abortReason": "", - "durationInMs": 1, + "abortReason": "UNKNOWN", + "durationInMs": 10, "id": "VGFyZ2V0UGFpcjoxMTM=", - "label": "//react-webpack/src:transpile", - "success": true, - "targetKind": "swc_compile rule", + "label": "//next.js/pages:pages", + "success": false, + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMTQ=", - "label": "//react-webpack:_bundle_webpack_binary", + "label": "//next.js:package_json", "success": true, - "targetKind": "js_binary rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoxMTU=", - "label": "//react-webpack:_bundle_webpack_binary_entrypoint", + "label": "//react:build_smoke_test", "success": true, - "targetKind": "directory_path rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMTY=", - "label": "//react/src:src_typecheck", + "label": "//react/src:test_lib_transpile", "success": true, - "targetKind": "filegroup rule", + "targetKind": "swc_compile rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 6, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoxMTc=", - "label": "//react/src:lint", + "label": "//react/src:test_lib_typecheck_test", "success": true, - "targetKind": "eslint_test rule", - "testSize": "MEDIUM" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMTg=", - "label": "//react/src:src_typings", + "label": "//react:vite", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 4, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMTk=", - "label": "//react/src:test_lib", + "label": "//:eslint", "success": true, - "targetKind": "js_library rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 6, "id": "VGFyZ2V0UGFpcjoxMjA=", - "label": "//react-webpack:dev_server", + "label": "//react/src:test", "success": true, - "targetKind": "_js_run_devserver rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoxMjE=", - "label": "//vue/libraries/simple:build", + "label": "//react:start", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { - "abortReason": "UNKNOWN", - "durationInMs": 11, + "abortReason": "", + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMjI=", - "label": "//next.js/pages:pages", - "success": false, - "targetKind": "ts_project rule", + "label": "//react:tsconfig", + "success": true, + "targetKind": "ts_config rule", "testSize": "UNKNOWN" }, { - "abortReason": "", - "durationInMs": 0, + "abortReason": "UNKNOWN", + "durationInMs": 9, "id": "VGFyZ2V0UGFpcjoxMjM=", - "label": "//next.js/public:public", - "success": true, - "targetKind": "js_library rule", + "label": "//next.js/pages:specs", + "success": false, + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 4, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMjQ=", - "label": "//react/src:test_lib_typecheck_test", + "label": "//packages/one:one_ts", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "ts_project rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMjU=", - "label": "//react:tsconfig", + "label": "//next.js:tsconfig", "success": true, "targetKind": "ts_config rule", "testSize": "UNKNOWN" @@ -781,9 +817,9 @@ "abortReason": "", "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMjY=", - "label": "//:eslint", + "label": "//react/public:public", "success": true, - "targetKind": "js_binary rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" } ], @@ -791,72 +827,72 @@ { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 191000, + "durationMs": 95000, "id": "VGVzdENvbGxlY3Rpb246MTI=", - "label": "//react:build_smoke_test", + "label": "//react/src:test_lib_typecheck_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 68000, + "durationMs": 191000, "id": "VGVzdENvbGxlY3Rpb246MTM=", - "label": "//vue:build_test", + "label": "//react:build_smoke_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 1180000, + "durationMs": 68000, "id": "VGVzdENvbGxlY3Rpb246MTQ=", - "label": "//vue:type-check", + "label": "//vue:build_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 112000, + "durationMs": 1180000, "id": "VGVzdENvbGxlY3Rpb246MTU=", - "label": "//react/src:lint", + "label": "//vue:type-check", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 1715000, + "durationMs": 112000, "id": "VGVzdENvbGxlY3Rpb246MTY=", - "label": "//react/src:test", + "label": "//react/src:lint", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 170000, + "durationMs": 1715000, "id": "VGVzdENvbGxlY3Rpb246MTc=", - "label": "//react-webpack:build_smoke_test", + "label": "//react/src:test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 85000, + "durationMs": 170000, "id": "VGVzdENvbGxlY3Rpb246MTg=", - "label": "//react/src:src_typecheck_test", + "label": "//react-webpack:build_smoke_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 95000, + "durationMs": 85000, "id": "VGVzdENvbGxlY3Rpb246MTk=", - "label": "//react/src:test_lib_typecheck_test", + "label": "//react/src:src_typecheck_test", "overallStatus": "PASSED", "strategy": "" } diff --git a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-build.golden.json b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-build.golden.json index 28cfbdc..06f6024 100644 --- a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-build.golden.json +++ b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-build.golden.json @@ -1,14 +1,34 @@ { "bazelInvocation": { "bazelCommand": { - "cmdLine": [], + "cmdLine": [ + "--enable_runfiles=1", + "--build_event_json_file=./pkg/summary/testdata/nextjs_build.bep.ndjson" + ], "command": "test", "executable": "bazel", - "explicitCmdLine": "", - "explicitStartupOptions": [], + "explicitCmdLine": "--build_event_json_file=./pkg/summary/testdata/nextjs_build.bep.ndjson", + "explicitStartupOptions": [ + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ], "id": "", "residual": "//...", - "startupOptions": [] + "startupOptions": [ + "--max_idle_secs=10800", + "--noshutdown_on_low_sys_mem", + "--connect_timeout_secs=30", + "--output_user_root=/var/tmp/_bazel_nameless", + "--output_base=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096", + "--failure_detail_out=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096/failure_detail.rawproto", + "--expand_configs_in_place", + "--idle_server_tasks", + "--write_command_log", + "--nowatchfs", + "--nofatal_event_bus_exceptions", + "--nowindows_enable_symlinks", + "--noclient_debug", + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ] }, "build": null, "configurationMnemonic": "darwin_arm64-fastbuild", @@ -210,7 +230,23 @@ "url": "../summary/testdata/nextjs_build.bep.ndjson" } ], - "sourceControl": null, + "sourceControl": { + "action": "", + "actor": "", + "branch": "", + "commitSha": "", + "eventName": "", + "id": "U291cmNlQ29udHJvbDox", + "job": "", + "refs": "", + "repoURL": "", + "runID": "", + "runnerArch": "", + "runnerName": "", + "runnerOs": "", + "workflow": "", + "workspace": "" + }, "startedAt": "2024-05-03T00:24:28.621Z", "state": { "bepCompleted": true, @@ -227,579 +263,579 @@ "targets": [ { "abortReason": "", - "durationInMs": 4, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjox", - "label": "//react/src:src_typecheck_test", + "label": "//packages/one:one", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "_npm_package rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjoy", - "label": "//react:build", + "label": "//react/src:test_lib_typecheck_test", "success": true, - "targetKind": "_run_binary rule", - "testSize": "UNKNOWN" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 12, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoz", - "label": "//next.js:next_start", + "label": "//react-webpack:_dev_server_webpack_binary_entrypoint", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 10, "id": "VGFyZ2V0UGFpcjo0", - "label": "//react:preview", + "label": "//next.js/pages:pages", "success": true, - "targetKind": "js_binary rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 10, "id": "VGFyZ2V0UGFpcjo1", - "label": "//vue:vite", + "label": "//next.js:next_start", "success": true, - "targetKind": "js_binary rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 10, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo2", - "label": "//next.js/pages:_jest_test_jest_entrypoint", + "label": "//react/src:src_typings", "success": true, - "targetKind": "directory_path rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo3", - "label": "//react/src:test_lib_transpile", + "label": "//react:write_swcrc", "success": true, - "targetKind": "swc_compile rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo4", - "label": "//react-webpack:_bundle_webpack_binary_entrypoint", + "label": "//next.js/pages:_jest_test_bazel_sequencer", "success": true, - "targetKind": "directory_path rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo5", - "label": "//next.js:jest_config", + "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", "success": true, - "targetKind": "js_library rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxMA==", - "label": "//packages/one:one", + "label": "//react:vite", "success": true, - "targetKind": "_npm_package rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjoxMQ==", - "label": "//react/src:assets", + "label": "//react-webpack:_dev_server_webpack_binary", "success": true, - "targetKind": "js_library rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoxMg==", - "label": "//react/src:test_lib", + "label": "//next.js/pages/api:api", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 7, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxMw==", - "label": "//react:package_json", + "label": "//next.js:jest_config", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNA==", - "label": "//react-webpack/src:transpile", + "label": "//react/src:src_transpile", "success": true, "targetKind": "swc_compile rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 6, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoxNQ==", - "label": "//react-webpack:build_smoke_test", + "label": "//react/src:src_typecheck", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "filegroup rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoxNg==", - "label": "//next.js/public:public", + "label": "//react/src:src_typecheck_test", "success": true, - "targetKind": "js_library rule", - "testSize": "UNKNOWN" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 7, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNw==", - "label": "//react/src:lint", + "label": "//react:preview", "success": true, - "targetKind": "eslint_test rule", - "testSize": "MEDIUM" + "targetKind": "js_binary rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxOA==", - "label": "//react/src:src_typecheck", + "label": "//vue/libraries/simple:vite.config", "success": true, - "targetKind": "filegroup rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 10, "id": "VGFyZ2V0UGFpcjoxOQ==", - "label": "//react:vite", + "label": "//next.js/pages:_jest_test_jest_entrypoint", "success": true, - "targetKind": "js_binary rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 11, "id": "VGFyZ2V0UGFpcjoyMA==", - "label": "//vue/libraries/simple:build", + "label": "//next.js:next", "success": true, "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 6, "id": "VGFyZ2V0UGFpcjoyMQ==", - "label": "//react/src:src_transpile", + "label": "//react/src:test", "success": true, - "targetKind": "swc_compile rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMg==", - "label": "//vue/libraries/simple:types", + "label": "//react:tsconfig", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "ts_config rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMw==", - "label": "//vue/src:src", + "label": "//react-webpack:bundle", "success": true, - "targetKind": "_copy_to_bin rule", + "targetKind": "_webpack_bundle rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyNA==", - "label": "//vue:build_test", + "label": "//next.js/styles:styles", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 10, "id": "VGFyZ2V0UGFpcjoyNQ==", - "label": "//next.js/styles:styles", + "label": "//next.js:build_test", "success": true, - "targetKind": "js_library rule", - "testSize": "UNKNOWN" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 9, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyNg==", - "label": "//next.js:next_dev", + "label": "//react/src:src", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyNw==", - "label": "//next.js:next_js_binary", + "label": "//react:build", "success": true, - "targetKind": "js_binary rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyOA==", - "label": "//react:vite.config", + "label": "//vue:build_test", "success": true, - "targetKind": "js_library rule", - "testSize": "UNKNOWN" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 10, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyOQ==", - "label": "//next.js/pages:pages", + "label": "//:eslint", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjozMA==", - "label": "//next.js:tsconfig", + "label": "//react/src:test_lib_typecheck", "success": true, - "targetKind": "ts_config rule", + "targetKind": "filegroup rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjozMQ==", - "label": "//react/src:src", + "label": "//react-webpack/src:transpile", "success": true, - "targetKind": "js_library rule", + "targetKind": "swc_compile rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjozMg==", - "label": "//react-webpack:_bundle_webpack_binary", + "label": "//vue:type-check", "success": true, - "targetKind": "js_binary rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 12, "id": "VGFyZ2V0UGFpcjozMw==", - "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", + "label": "//next.js/pages:jest_test", "success": true, - "targetKind": "_copy_file rule", - "testSize": "UNKNOWN" + "targetKind": "jest_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 11, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjozNA==", - "label": "//next.js:build_smoke_test", + "label": "//next.js/public:public", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 10, + "durationInMs": 9, "id": "VGFyZ2V0UGFpcjozNQ==", - "label": "//next.js:build_test", + "label": "//next.js:eslintrc", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjozNg==", - "label": "//react/src:src_typings", + "label": "//react/public:public", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjozNw==", - "label": "//react:build_smoke_test", + "label": "//react/src:assets", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 6, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjozOA==", - "label": "//react-webpack:_dev_server_webpack_binary", + "label": "//react:vite.config", "success": true, - "targetKind": "js_binary rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 9, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjozOQ==", - "label": "//next.js:eslintrc", + "label": "//react-webpack:_bundle_webpack_binary", "success": true, - "targetKind": "js_library rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjo0MA==", - "label": "//react/public:public", + "label": "//react-webpack:dev_server", "success": true, - "targetKind": "js_library rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 7, "id": "VGFyZ2V0UGFpcjo0MQ==", - "label": "//react:write_swcrc", + "label": "//react/src:lint", "success": true, - "targetKind": "_run_binary rule", - "testSize": "UNKNOWN" + "targetKind": "eslint_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo0Mg==", - "label": "//vue/libraries/simple:vite.config", + "label": "//react/src:test_lib_typings", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 13, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo0Mw==", - "label": "//next.js/pages:jest_test", + "label": "//vue:vite", "success": true, - "targetKind": "jest_test rule", - "testSize": "MEDIUM" + "targetKind": "js_binary rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 10, "id": "VGFyZ2V0UGFpcjo0NA==", - "label": "//react/src:test_lib_typecheck_test", + "label": "//next.js:build_smoke_test", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 4, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo0NQ==", - "label": "//next.js/pages/api:api", + "label": "//next.js:next_js_binary", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjo0Ng==", - "label": "//next.js/pages:_jest_test_bazel_sequencer", + "label": "//react/src:test_lib", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 11, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo0Nw==", - "label": "//next.js/pages:specs", + "label": "//react/src:test_lib_transpile", "success": true, - "targetKind": "ts_project rule", + "targetKind": "swc_compile rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 6, + "durationInMs": 7, "id": "VGFyZ2V0UGFpcjo0OA==", - "label": "//react/src:test", + "label": "//react:package_json", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo0OQ==", - "label": "//react/src:test_lib_typecheck", + "label": "//vue/libraries/simple:build", "success": true, - "targetKind": "filegroup rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo1MA==", - "label": "//react/src:test_lib_typings", + "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", "success": true, - "targetKind": "ts_project rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 9, "id": "VGFyZ2V0UGFpcjo1MQ==", - "label": "//vue:build", + "label": "//next.js/pages:specs", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo1Mg==", - "label": "//packages/one:one_ts", + "label": "//next.js:tsconfig", "success": true, - "targetKind": "ts_project rule", + "targetKind": "ts_config rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 6, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo1Mw==", - "label": "//react:start", + "label": "//packages/one:one_ts", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo1NA==", - "label": "//vue:type-check", + "label": "//vue/src:src", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "_copy_to_bin rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 9, "id": "VGFyZ2V0UGFpcjo1NQ==", - "label": "//react-webpack:bundle", + "label": "//next.js:next_dev", "success": true, - "targetKind": "_webpack_bundle rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo1Ng==", - "label": "//react-webpack:dev_server", + "label": "//next.js:package_json", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjo1Nw==", - "label": "//vue/libraries/simple:simple", + "label": "//react:build_smoke_test", "success": true, - "targetKind": "_npm_package rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjo1OA==", - "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", + "label": "//react-webpack:_bundle_webpack_binary_entrypoint", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 11, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo1OQ==", - "label": "//next.js:next", + "label": "//vue/libraries/simple:simple", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "_npm_package rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo2MA==", - "label": "//next.js:package_json", + "label": "//vue/libraries/simple:types", "success": true, - "targetKind": "js_library rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjo2MQ==", - "label": "//react:tsconfig", + "label": "//vue:build", "success": true, - "targetKind": "ts_config rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjo2Mg==", - "label": "//react-webpack:_dev_server_webpack_binary_entrypoint", + "label": "//react:start", "success": true, - "targetKind": "directory_path rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 6, "id": "VGFyZ2V0UGFpcjo2Mw==", - "label": "//:eslint", + "label": "//react-webpack:build_smoke_test", "success": true, - "targetKind": "js_binary rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" } ], "testCollection": [ { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 85000, + "durationMs": 1134000, "id": "VGVzdENvbGxlY3Rpb246MQ==", - "label": "//react/src:src_typecheck_test", + "label": "//next.js/pages:jest_test", "overallStatus": "PASSED", "strategy": "" }, @@ -815,81 +851,81 @@ { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 191000, + "durationMs": 1180000, "id": "VGVzdENvbGxlY3Rpb246Mw==", - "label": "//react:build_smoke_test", + "label": "//vue:type-check", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 89000, + "durationMs": 1715000, "id": "VGVzdENvbGxlY3Rpb246NA==", - "label": "//next.js:build_test", + "label": "//react/src:test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 1134000, + "durationMs": 112000, "id": "VGVzdENvbGxlY3Rpb246NQ==", - "label": "//next.js/pages:jest_test", + "label": "//react/src:lint", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 354000, + "durationMs": 170000, "id": "VGVzdENvbGxlY3Rpb246Ng==", - "label": "//next.js:build_smoke_test", + "label": "//react-webpack:build_smoke_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 68000, + "durationMs": 89000, "id": "VGVzdENvbGxlY3Rpb246Nw==", - "label": "//vue:build_test", + "label": "//next.js:build_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 1180000, + "durationMs": 354000, "id": "VGVzdENvbGxlY3Rpb246OA==", - "label": "//vue:type-check", + "label": "//next.js:build_smoke_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 112000, + "durationMs": 85000, "id": "VGVzdENvbGxlY3Rpb246OQ==", - "label": "//react/src:lint", + "label": "//react/src:src_typecheck_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 1715000, + "durationMs": 191000, "id": "VGVzdENvbGxlY3Rpb246MTA=", - "label": "//react/src:test", + "label": "//react:build_smoke_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 170000, + "durationMs": 68000, "id": "VGVzdENvbGxlY3Rpb246MTE=", - "label": "//react-webpack:build_smoke_test", + "label": "//vue:build_test", "overallStatus": "PASSED", "strategy": "" } diff --git a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-test.golden.json b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-test.golden.json index def3217..db4f561 100644 --- a/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-test.golden.json +++ b/internal/graphql/testdata/snapshots/LoadFullBazelInvocationDetails/get-successful-bazel-test.golden.json @@ -1,14 +1,34 @@ { "bazelInvocation": { "bazelCommand": { - "cmdLine": [], + "cmdLine": [ + "--enable_runfiles=1", + "--build_event_json_file=./pkg/summary/testdata/nextjs_test.bep.ndjson" + ], "command": "test", "executable": "bazel", - "explicitCmdLine": "", - "explicitStartupOptions": [], + "explicitCmdLine": "--build_event_json_file=./pkg/summary/testdata/nextjs_test.bep.ndjson", + "explicitStartupOptions": [ + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ], "id": "", "residual": "//...", - "startupOptions": [] + "startupOptions": [ + "--max_idle_secs=10800", + "--noshutdown_on_low_sys_mem", + "--connect_timeout_secs=30", + "--output_user_root=/var/tmp/_bazel_nameless", + "--output_base=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096", + "--failure_detail_out=/private/var/tmp/_bazel_nameless/785aba6fa73b7504b05bf113721e0096/failure_detail.rawproto", + "--expand_configs_in_place", + "--idle_server_tasks", + "--write_command_log", + "--nowatchfs", + "--nofatal_event_bus_exceptions", + "--nowindows_enable_symlinks", + "--noclient_debug", + "--host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1" + ] }, "build": null, "configurationMnemonic": "darwin_arm64-fastbuild", @@ -220,7 +240,23 @@ "url": "../summary/testdata/nextjs_test.bep.ndjson" } ], - "sourceControl": null, + "sourceControl": { + "action": "", + "actor": "", + "branch": "", + "commitSha": "", + "eventName": "", + "id": "U291cmNlQ29udHJvbDo0", + "job": "", + "refs": "", + "repoURL": "", + "runID": "", + "runnerArch": "", + "runnerName": "", + "runnerOs": "", + "workflow": "", + "workspace": "" + }, "startedAt": "2024-05-03T00:23:37.843Z", "state": { "bepCompleted": true, @@ -237,56 +273,56 @@ "targets": [ { "abortReason": "", - "durationInMs": 1, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoxNTI=", - "label": "//vue:vite", + "label": "//react-webpack:dev_server", "success": true, - "targetKind": "js_binary rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoxNTM=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", + "label": "//next.js/pages:pages", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNTQ=", - "label": "//next.js/styles:styles", + "label": "//next.js:tsconfig", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_config rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNTU=", - "label": "//react:preview", + "label": "//react/src:src_typings", "success": true, - "targetKind": "js_binary rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNTY=", - "label": "//react:vite.config", + "label": "//react:tsconfig", "success": true, - "targetKind": "js_library rule", + "targetKind": "ts_config rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 7, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNTc=", - "label": "//react-webpack:_dev_server_webpack_binary", + "label": "//react-webpack:_bundle_webpack_binary_entrypoint", "success": true, - "targetKind": "js_binary rule", + "targetKind": "directory_path rule", "testSize": "UNKNOWN" }, { @@ -300,561 +336,561 @@ }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNTk=", - "label": "//react/src:test_lib_typecheck", + "label": "//vue/src:src", "success": true, - "targetKind": "filegroup rule", + "targetKind": "_copy_to_bin rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 7, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNjA=", - "label": "//react-webpack:_bundle_webpack_binary", + "label": "//react/src:assets", "success": true, - "targetKind": "js_binary rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 4, + "durationInMs": 8, "id": "VGFyZ2V0UGFpcjoxNjE=", - "label": "//:eslint", + "label": "//react/src:test", "success": true, - "targetKind": "js_binary rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 6, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoxNjI=", - "label": "//react/src:src_typecheck_test", + "label": "//react:build", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "_run_binary rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 7, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjoxNjM=", - "label": "//react/src:test_lib_typecheck_test", + "label": "//react-webpack:_bundle_webpack_binary", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "js_binary rule", + "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNjQ=", - "label": "//next.js:next_dev", + "label": "//vue/libraries/simple:types", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNjU=", - "label": "//react/src:assets", + "label": "//packages/one:one", "success": true, - "targetKind": "js_library rule", + "targetKind": "_npm_package rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoxNjY=", - "label": "//react:write_swcrc", + "label": "//react/src:test_lib_typecheck", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "filegroup rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNjc=", - "label": "//vue/libraries/simple:simple", + "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", "success": true, - "targetKind": "_npm_package rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNjg=", - "label": "//vue/libraries/simple:vite.config", + "label": "//vue:build", "success": true, - "targetKind": "js_library rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 6, "id": "VGFyZ2V0UGFpcjoxNjk=", - "label": "//next.js/pages/api:api", + "label": "//react/src:src_typecheck_test", "success": true, - "targetKind": "ts_project rule", - "testSize": "UNKNOWN" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjoxNzA=", - "label": "//next.js/public:public", + "label": "//react/src:test_lib_typecheck_test", "success": true, - "targetKind": "js_library rule", - "testSize": "UNKNOWN" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 8, "id": "VGFyZ2V0UGFpcjoxNzE=", - "label": "//next.js:jest_config", + "label": "//react:package_json", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxNzI=", - "label": "//next.js:next", + "label": "//react:vite", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 6, "id": "VGFyZ2V0UGFpcjoxNzM=", - "label": "//next.js:next_start", + "label": "//next.js:build_smoke_test", "success": true, - "targetKind": "_js_run_devserver rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 10, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNzQ=", - "label": "//react/src:lint", + "label": "//react/public:public", "success": true, - "targetKind": "eslint_test rule", - "testSize": "MEDIUM" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 8, "id": "VGFyZ2V0UGFpcjoxNzU=", - "label": "//react/src:test_lib", + "label": "//react/src:lint", "success": true, - "targetKind": "js_library rule", - "testSize": "UNKNOWN" + "targetKind": "eslint_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 9, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoxNzY=", - "label": "//react:package_json", + "label": "//next.js:next", "success": true, - "targetKind": "js_library rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxNzc=", - "label": "//react-webpack/src:transpile", + "label": "//next.js:next_start", "success": true, - "targetKind": "swc_compile rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjoxNzg=", - "label": "//vue/libraries/simple:types", + "label": "//react-webpack:_dev_server_webpack_binary", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 11, "id": "VGFyZ2V0UGFpcjoxNzk=", - "label": "//vue:build_test", + "label": "//next.js/pages:_jest_test_jest_entrypoint", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "directory_path rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 11, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxODA=", - "label": "//next.js/pages:jest_test", + "label": "//react/src:test_lib_transpile", "success": true, - "targetKind": "jest_test rule", - "testSize": "MEDIUM" + "targetKind": "swc_compile rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 9, + "durationInMs": 6, "id": "VGFyZ2V0UGFpcjoxODE=", - "label": "//next.js:build_test", + "label": "//react:build_smoke_test", "success": true, - "targetKind": "_empty_test rule", - "testSize": "SMALL" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 7, "id": "VGFyZ2V0UGFpcjoxODI=", - "label": "//next.js:tsconfig", + "label": "//next.js:build_test", "success": true, - "targetKind": "ts_config rule", - "testSize": "UNKNOWN" + "targetKind": "_empty_test rule", + "testSize": "SMALL" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxODM=", - "label": "//packages/one:one", + "label": "//packages/one:one_ts", "success": true, - "targetKind": "_npm_package rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxODQ=", - "label": "//react/src:test_lib_transpile", + "label": "//react/src:test_lib_typings", "success": true, - "targetKind": "swc_compile rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoxODU=", - "label": "//react:vite", + "label": "//next.js/pages/api:api", "success": true, - "targetKind": "js_binary rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxODY=", - "label": "//vue:build", + "label": "//next.js/pages:_jest_test_bazel_snapshot_resolver", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 11, "id": "VGFyZ2V0UGFpcjoxODc=", - "label": "//next.js/pages:_jest_test_bazel_snapshot_reporter", + "label": "//next.js/pages:jest_test", "success": true, - "targetKind": "_copy_file rule", - "testSize": "UNKNOWN" + "targetKind": "jest_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxODg=", - "label": "//react/src:src_transpile", + "label": "//react-webpack/src:transpile", "success": true, "targetKind": "swc_compile rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 4, "id": "VGFyZ2V0UGFpcjoxODk=", - "label": "//react/src:src_typings", + "label": "//react-webpack:bundle", "success": true, - "targetKind": "ts_project rule", + "targetKind": "_webpack_bundle rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxOTA=", - "label": "//react-webpack:build_smoke_test", + "label": "//vue/libraries/simple:simple", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "_npm_package rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 7, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxOTE=", - "label": "//react-webpack:dev_server", + "label": "//next.js/pages:_jest_test_bazel_sequencer", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "_copy_file rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 5, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxOTI=", - "label": "//vue:type-check", + "label": "//next.js:next_js_binary", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "js_binary rule", + "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxOTM=", - "label": "//next.js:package_json", + "label": "//react:vite.config", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoxOTQ=", - "label": "//packages/one:one_ts", + "label": "//react/src:src_typecheck", "success": true, - "targetKind": "ts_project rule", + "targetKind": "filegroup rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxOTU=", - "label": "//vue/src:src", + "label": "//react:preview", "success": true, - "targetKind": "_copy_to_bin rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 9, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoxOTY=", - "label": "//react/src:test", + "label": "//vue/libraries/simple:build", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "_run_binary rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 11, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoxOTc=", - "label": "//next.js/pages:_jest_test_jest_entrypoint", + "label": "//vue:type-check", "success": true, - "targetKind": "directory_path rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxOTg=", - "label": "//next.js/pages:pages", + "label": "//next.js/styles:styles", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 11, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoxOTk=", - "label": "//next.js:eslintrc", + "label": "//react/src:src", "success": true, "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMDA=", - "label": "//next.js:next_js_binary", + "label": "//react/src:src_transpile", "success": true, - "targetKind": "js_binary rule", + "targetKind": "swc_compile rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 8, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMDE=", - "label": "//react:start", + "label": "//vue/libraries/simple:vite.config", "success": true, - "targetKind": "_js_run_devserver rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 7, + "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMDI=", - "label": "//next.js:build_smoke_test", + "label": "//next.js/public:public", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMDM=", - "label": "//react/src:test_lib_typings", + "label": "//next.js:jest_config", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 10, "id": "VGFyZ2V0UGFpcjoyMDQ=", - "label": "//react-webpack:_bundle_webpack_binary_entrypoint", + "label": "//next.js:eslintrc", "success": true, - "targetKind": "directory_path rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 1, "id": "VGFyZ2V0UGFpcjoyMDU=", - "label": "//vue/libraries/simple:build", + "label": "//next.js:next_dev", "success": true, - "targetKind": "_run_binary rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 0, + "durationInMs": 10, "id": "VGFyZ2V0UGFpcjoyMDY=", - "label": "//next.js/pages:_jest_test_bazel_sequencer", + "label": "//next.js/pages:specs", "success": true, - "targetKind": "_copy_file rule", + "targetKind": "ts_project rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 7, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMDc=", - "label": "//react:build_smoke_test", + "label": "//next.js:package_json", "success": true, - "targetKind": "js_test rule", - "testSize": "MEDIUM" + "targetKind": "js_library rule", + "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 7, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoyMDg=", - "label": "//react-webpack:bundle", + "label": "//:eslint", "success": true, - "targetKind": "_webpack_bundle rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 11, + "durationInMs": 5, "id": "VGFyZ2V0UGFpcjoyMDk=", - "label": "//next.js/pages:specs", + "label": "//react/src:test_lib", "success": true, - "targetKind": "ts_project rule", + "targetKind": "js_library rule", "testSize": "UNKNOWN" }, { "abortReason": "", "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMTA=", - "label": "//react/public:public", + "label": "//react:write_swcrc", "success": true, - "targetKind": "js_library rule", + "targetKind": "_run_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 0, "id": "VGFyZ2V0UGFpcjoyMTE=", - "label": "//react/src:src", + "label": "//vue:vite", "success": true, - "targetKind": "js_library rule", + "targetKind": "js_binary rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 3, + "durationInMs": 6, "id": "VGFyZ2V0UGFpcjoyMTI=", - "label": "//react/src:src_typecheck", + "label": "//react:start", "success": true, - "targetKind": "filegroup rule", + "targetKind": "_js_run_devserver rule", "testSize": "UNKNOWN" }, { "abortReason": "", - "durationInMs": 2, + "durationInMs": 3, "id": "VGFyZ2V0UGFpcjoyMTM=", - "label": "//react:build", + "label": "//react-webpack:build_smoke_test", "success": true, - "targetKind": "_run_binary rule", - "testSize": "UNKNOWN" + "targetKind": "js_test rule", + "testSize": "MEDIUM" }, { "abortReason": "", - "durationInMs": 1, + "durationInMs": 2, "id": "VGFyZ2V0UGFpcjoyMTQ=", - "label": "//react:tsconfig", + "label": "//vue:build_test", "success": true, - "targetKind": "ts_config rule", - "testSize": "UNKNOWN" + "targetKind": "_empty_test rule", + "testSize": "SMALL" } ], "testCollection": [ { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 95000, + "durationMs": 1715000, "id": "VGVzdENvbGxlY3Rpb246MjA=", - "label": "//react/src:test_lib_typecheck_test", + "label": "//react/src:test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 89000, + "durationMs": 112000, "id": "VGVzdENvbGxlY3Rpb246MjE=", - "label": "//next.js:build_test", + "label": "//react/src:lint", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 191000, + "durationMs": 354000, "id": "VGVzdENvbGxlY3Rpb246MjI=", - "label": "//react:build_smoke_test", + "label": "//next.js:build_smoke_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 68000, + "durationMs": 85000, "id": "VGVzdENvbGxlY3Rpb246MjM=", - "label": "//vue:build_test", + "label": "//react/src:src_typecheck_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 1180000, + "durationMs": 95000, "id": "VGVzdENvbGxlY3Rpb246MjQ=", - "label": "//vue:type-check", + "label": "//react/src:test_lib_typecheck_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 85000, + "durationMs": 89000, "id": "VGVzdENvbGxlY3Rpb246MjU=", - "label": "//react/src:src_typecheck_test", + "label": "//next.js:build_test", "overallStatus": "PASSED", "strategy": "" }, @@ -870,38 +906,38 @@ { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 1715000, + "durationMs": 191000, "id": "VGVzdENvbGxlY3Rpb246Mjc=", - "label": "//react/src:test", + "label": "//react:build_smoke_test", "overallStatus": "PASSED", "strategy": "" }, { "cachedLocally": true, "cachedRemotely": false, - "durationMs": 112000, + "durationMs": 68000, "id": "VGVzdENvbGxlY3Rpb246Mjg=", - "label": "//react/src:lint", + "label": "//vue:build_test", "overallStatus": "PASSED", "strategy": "" }, { - "cachedLocally": false, + "cachedLocally": true, "cachedRemotely": false, - "durationMs": 1134000, + "durationMs": 1180000, "id": "VGVzdENvbGxlY3Rpb246Mjk=", - "label": "//next.js/pages:jest_test", + "label": "//vue:type-check", "overallStatus": "PASSED", - "strategy": "darwin-sandbox" + "strategy": "" }, { - "cachedLocally": true, + "cachedLocally": false, "cachedRemotely": false, - "durationMs": 354000, + "durationMs": 1134000, "id": "VGVzdENvbGxlY3Rpb246MzA=", - "label": "//next.js:build_smoke_test", + "label": "//next.js/pages:jest_test", "overallStatus": "PASSED", - "strategy": "" + "strategy": "darwin-sandbox" } ], "user": { diff --git a/pkg/processing/save.go b/pkg/processing/save.go index eed3fe5..62df01f 100644 --- a/pkg/processing/save.go +++ b/pkg/processing/save.go @@ -478,6 +478,14 @@ func (act SaveActor) saveSourceControl(ctx context.Context, summary *summary.Sum SetBranch(summary.SourceControlData.Branch). SetRefs(summary.SourceControlData.Refs). SetRunID(summary.SourceControlData.RunID). + SetAction(summary.SourceControlData.Action). + SetWorkflow(summary.SourceControlData.Workflow). + SetWorkspace(summary.SourceControlData.Workspace). + SetEventName(summary.SourceControlData.EventName). + SetJob(summary.SourceControlData.Job). + SetRunnerName(summary.SourceControlData.RunnerName). + SetRunnerArch(summary.SourceControlData.RunnerArch). + SetRunnerOs(summary.SourceControlData.RunnerOs). Save(ctx) } diff --git a/pkg/summary/summarizer.go b/pkg/summary/summarizer.go index 272a5fc..0207525 100644 --- a/pkg/summary/summarizer.go +++ b/pkg/summary/summarizer.go @@ -810,6 +810,9 @@ func (s Summarizer) handleStructuredCommandLine(structuredCommandLine *bescore.C s.summary.BuildUUID = uuid.NewSHA1(uuid.NameSpaceURL, []byte(s.summary.BuildURL)) // Set Hostname + if hostNameVal, ok := s.summary.EnvVars["RUNNER_NAME"]; ok { + s.summary.Hostname = hostNameVal + } if hostNameVal, ok := s.summary.EnvVars["HOSTNAME"]; ok { s.summary.Hostname = hostNameVal } @@ -824,9 +827,24 @@ func (s Summarizer) handleStructuredCommandLine(structuredCommandLine *bescore.C } } + // github actions default env var + if isCiWorkerVal, ok := s.summary.EnvVars["CI"]; ok { + if isCiWorkerVal == "true" { + s.summary.IsCiWorker = true + } + } + + // default step label to workfow + job + if ghWfVal, ok := s.summary.EnvVars["GITHUB_WORKFLOW"]; ok { + s.summary.StepLabel = ghWfVal + if ghJobNameVal, ok := s.summary.EnvVars["GITHUB_JOB"]; ok { + s.summary.StepLabel += "+" + ghJobNameVal + } + } + // Set Step Label from environment variables - if ghJobNameVal, ok := s.summary.EnvVars["GITHUB_JOB"]; ok { - s.summary.StepLabel = ghJobNameVal + if stepLabelVal, ok := s.summary.EnvVars["BB_PORTAL_STEP_LABEL"]; ok { + s.summary.StepLabel = stepLabelVal } // Set SkipTargetData @@ -876,6 +894,46 @@ func (s Summarizer) handleStructuredCommandLine(structuredCommandLine *bescore.C s.summary.SourceControlData.RunID = ghRunID } + // workflow + if ghWorkflow, ok := s.summary.EnvVars["GITHUB_WORKFLOW"]; ok { + s.summary.SourceControlData.Workflow = ghWorkflow + } + + // action + if ghAction, ok := s.summary.EnvVars["GITHUB_ACTION"]; ok { + s.summary.SourceControlData.Action = ghAction + } + + // workspace + if ghWorkspace, ok := s.summary.EnvVars["GITHUB_WORKSPACE"]; ok { + s.summary.SourceControlData.Workspace = ghWorkspace + } + + // event_name + if ghEventName, ok := s.summary.EnvVars["GITHUB_EVENT_NAME"]; ok { + s.summary.SourceControlData.EventName = ghEventName + } + + // job + if ghJob, ok := s.summary.EnvVars["GITHUB_JOB"]; ok { + s.summary.SourceControlData.Job = ghJob + } + + // runner arch + if runnerArch, ok := s.summary.EnvVars["RUNNER_ARCH"]; ok { + s.summary.SourceControlData.RunnerArch = runnerArch + } + + // runner name + if runnerName, ok := s.summary.EnvVars["RUNNER_NAME"]; ok { + s.summary.SourceControlData.RunnerName = runnerName + } + + // runner os + if runnerOs, ok := s.summary.EnvVars["RUNNER_OS"]; ok { + s.summary.SourceControlData.RunnerOs = runnerOs + } + return nil } diff --git a/pkg/summary/summary.go b/pkg/summary/summary.go index a932a98..daa4dfc 100644 --- a/pkg/summary/summary.go +++ b/pkg/summary/summary.go @@ -555,4 +555,12 @@ type SourceControlData struct { Actor string Refs string RunID string + Workflow string + Action string + Workspace string + EventName string + Job string + RunnerName string + RunnerArch string + RunnerOs string } diff --git a/pkg/summary/testdata/snapshots/nextjs_build.bep.ndjson.golden.json b/pkg/summary/testdata/snapshots/nextjs_build.bep.ndjson.golden.json index 8375a67..0a40ddc 100644 --- a/pkg/summary/testdata/snapshots/nextjs_build.bep.ndjson.golden.json +++ b/pkg/summary/testdata/snapshots/nextjs_build.bep.ndjson.golden.json @@ -277,7 +277,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.348818309Z" + "FirstSeen": "2024-11-21T17:53:57.646297985Z" }, "//next.js:build_smoke_test": { "TestSummary": { @@ -338,7 +338,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.348540237Z" + "FirstSeen": "2024-11-21T17:53:57.645864866Z" }, "//next.js:build_test": { "TestSummary": { @@ -399,7 +399,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.348491195Z" + "FirstSeen": "2024-11-21T17:53:57.645813054Z" }, "//react-webpack:build_smoke_test": { "TestSummary": { @@ -460,7 +460,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.346684717Z" + "FirstSeen": "2024-11-21T17:53:57.643338545Z" }, "//react/src:lint": { "TestSummary": { @@ -521,7 +521,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.346036419Z" + "FirstSeen": "2024-11-21T17:53:57.642591311Z" }, "//react/src:src_typecheck_test": { "TestSummary": { @@ -582,7 +582,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.344886369Z" + "FirstSeen": "2024-11-21T17:53:57.640883935Z" }, "//react/src:test": { "TestSummary": { @@ -643,7 +643,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.346312791Z" + "FirstSeen": "2024-11-21T17:53:57.642912155Z" }, "//react/src:test_lib_typecheck_test": { "TestSummary": { @@ -704,7 +704,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.345223444Z" + "FirstSeen": "2024-11-21T17:53:57.641403529Z" }, "//react:build_smoke_test": { "TestSummary": { @@ -765,7 +765,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.345494616Z" + "FirstSeen": "2024-11-21T17:53:57.641738804Z" }, "//vue:build_test": { "TestSummary": { @@ -826,7 +826,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.345602891Z" + "FirstSeen": "2024-11-21T17:53:57.641960693Z" }, "//vue:type-check": { "TestSummary": { @@ -887,7 +887,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.345855451Z" + "FirstSeen": "2024-11-21T17:53:57.642326159Z" } }, "Targets": { @@ -3057,7 +3057,15 @@ "CommitSHA": "", "Actor": "", "Refs": "", - "RunID": "" + "RunID": "", + "Workflow": "", + "Action": "", + "Workspace": "", + "EventName": "", + "Job": "", + "RunnerName": "", + "RunnerArch": "", + "RunnerOs": "" } } } \ No newline at end of file diff --git a/pkg/summary/testdata/snapshots/nextjs_build_fail.bep.ndjson.golden.json b/pkg/summary/testdata/snapshots/nextjs_build_fail.bep.ndjson.golden.json index 7d84218..f0e2a55 100644 --- a/pkg/summary/testdata/snapshots/nextjs_build_fail.bep.ndjson.golden.json +++ b/pkg/summary/testdata/snapshots/nextjs_build_fail.bep.ndjson.golden.json @@ -324,7 +324,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.420522529Z" + "FirstSeen": "2024-11-21T17:53:57.727892251Z" }, "//react/src:lint": { "TestSummary": { @@ -385,7 +385,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.419955615Z" + "FirstSeen": "2024-11-21T17:53:57.727096855Z" }, "//react/src:src_typecheck_test": { "TestSummary": { @@ -446,7 +446,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.419008985Z" + "FirstSeen": "2024-11-21T17:53:57.725688213Z" }, "//react/src:test": { "TestSummary": { @@ -507,7 +507,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.420091411Z" + "FirstSeen": "2024-11-21T17:53:57.727311876Z" }, "//react/src:test_lib_typecheck_test": { "TestSummary": { @@ -568,7 +568,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.419174522Z" + "FirstSeen": "2024-11-21T17:53:57.725953005Z" }, "//react:build_smoke_test": { "TestSummary": { @@ -629,7 +629,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.419343459Z" + "FirstSeen": "2024-11-21T17:53:57.726136543Z" }, "//vue:build_test": { "TestSummary": { @@ -690,7 +690,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.419631951Z" + "FirstSeen": "2024-11-21T17:53:57.726575262Z" }, "//vue:type-check": { "TestSummary": { @@ -751,7 +751,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.419813689Z" + "FirstSeen": "2024-11-21T17:53:57.726810583Z" } }, "Targets": { @@ -2902,7 +2902,15 @@ "CommitSHA": "", "Actor": "", "Refs": "", - "RunID": "" + "RunID": "", + "Workflow": "", + "Action": "", + "Workspace": "", + "EventName": "", + "Job": "", + "RunnerName": "", + "RunnerArch": "", + "RunnerOs": "" } } } \ No newline at end of file diff --git a/pkg/summary/testdata/snapshots/nextjs_error_progress.bep.ndjson.golden.json b/pkg/summary/testdata/snapshots/nextjs_error_progress.bep.ndjson.golden.json index 107ec0c..b57675b 100644 --- a/pkg/summary/testdata/snapshots/nextjs_error_progress.bep.ndjson.golden.json +++ b/pkg/summary/testdata/snapshots/nextjs_error_progress.bep.ndjson.golden.json @@ -1087,7 +1087,15 @@ "CommitSHA": "", "Actor": "", "Refs": "", - "RunID": "" + "RunID": "", + "Workflow": "", + "Action": "", + "Workspace": "", + "EventName": "", + "Job": "", + "RunnerName": "", + "RunnerArch": "", + "RunnerOs": "" } } } \ No newline at end of file diff --git a/pkg/summary/testdata/snapshots/nextjs_test.bep.ndjson.golden.json b/pkg/summary/testdata/snapshots/nextjs_test.bep.ndjson.golden.json index 4422c61..3bc4544 100644 --- a/pkg/summary/testdata/snapshots/nextjs_test.bep.ndjson.golden.json +++ b/pkg/summary/testdata/snapshots/nextjs_test.bep.ndjson.golden.json @@ -318,7 +318,7 @@ "CachedLocally": false, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.561313818Z" + "FirstSeen": "2024-11-21T17:53:57.849635066Z" }, "//next.js:build_smoke_test": { "TestSummary": { @@ -379,7 +379,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.557899841Z" + "FirstSeen": "2024-11-21T17:53:57.846436703Z" }, "//next.js:build_test": { "TestSummary": { @@ -440,7 +440,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.558849621Z" + "FirstSeen": "2024-11-21T17:53:57.847318423Z" }, "//react-webpack:build_smoke_test": { "TestSummary": { @@ -501,7 +501,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.559041159Z" + "FirstSeen": "2024-11-21T17:53:57.847541773Z" }, "//react/src:lint": { "TestSummary": { @@ -562,7 +562,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.560257302Z" + "FirstSeen": "2024-11-21T17:53:57.848675163Z" }, "//react/src:src_typecheck_test": { "TestSummary": { @@ -623,7 +623,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.558139171Z" + "FirstSeen": "2024-11-21T17:53:57.846670674Z" }, "//react/src:test": { "TestSummary": { @@ -684,7 +684,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.560067684Z" + "FirstSeen": "2024-11-21T17:53:57.848482464Z" }, "//react/src:test_lib_typecheck_test": { "TestSummary": { @@ -745,7 +745,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.558661393Z" + "FirstSeen": "2024-11-21T17:53:57.847067411Z" }, "//react:build_smoke_test": { "TestSummary": { @@ -806,7 +806,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.55927205Z" + "FirstSeen": "2024-11-21T17:53:57.847767473Z" }, "//vue:build_test": { "TestSummary": { @@ -867,7 +867,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.559462698Z" + "FirstSeen": "2024-11-21T17:53:57.847908879Z" }, "//vue:type-check": { "TestSummary": { @@ -928,7 +928,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.559618745Z" + "FirstSeen": "2024-11-21T17:53:57.848058396Z" } }, "Targets": { @@ -3098,7 +3098,15 @@ "CommitSHA": "", "Actor": "", "Refs": "", - "RunID": "" + "RunID": "", + "Workflow": "", + "Action": "", + "Workspace": "", + "EventName": "", + "Job": "", + "RunnerName": "", + "RunnerArch": "", + "RunnerOs": "" } } } \ No newline at end of file diff --git a/pkg/summary/testdata/snapshots/nextjs_test_fail.bep.ndjson.golden.json b/pkg/summary/testdata/snapshots/nextjs_test_fail.bep.ndjson.golden.json index 2c2fce8..1667c43 100644 --- a/pkg/summary/testdata/snapshots/nextjs_test_fail.bep.ndjson.golden.json +++ b/pkg/summary/testdata/snapshots/nextjs_test_fail.bep.ndjson.golden.json @@ -409,7 +409,7 @@ "CachedLocally": false, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.654715363Z" + "FirstSeen": "2024-11-21T17:53:57.941632952Z" }, "//next.js:build_smoke_test": { "TestSummary": { @@ -470,7 +470,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.654130458Z" + "FirstSeen": "2024-11-21T17:53:57.941091767Z" }, "//next.js:build_test": { "TestSummary": { @@ -531,7 +531,7 @@ "CachedLocally": true, "CachedRemotely": false, "DurationMs": 0, - "FirstSeen": "2024-11-19T18:40:54.654042204Z" + "FirstSeen": "2024-11-21T17:53:57.941035565Z" } }, "Targets": { @@ -1234,7 +1234,15 @@ "CommitSHA": "", "Actor": "", "Refs": "", - "RunID": "" + "RunID": "", + "Workflow": "", + "Action": "", + "Workspace": "", + "EventName": "", + "Job": "", + "RunnerName": "", + "RunnerArch": "", + "RunnerOs": "" } } } \ No newline at end of file