package failure_details

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message ActionCache

failure_details.proto:759

Used in: FailureDetail

enum ActionCache.Code

failure_details.proto:760

Used in: ActionCache

message ActionQuery

failure_details.proto:844

Used in: FailureDetail

enum ActionQuery.Code

failure_details.proto:856

All numerical exit code associations correspond to pre-existing Bazel behavior. These associations are suspicious: - COMMAND_LINE_EXPANSION_FAILURE: this is associated with 2, the numerical exit code for "bad Bazel command line", but is generated when an action's command line fails to expand, which sounds similar but is completely different. - OUTPUT_FAILURE: this is associated with 6, an undocumented exit code. - INVALID_AQUERY_EXPRESSION: this is associate with 1, which is not documented for (a)query. TODO(b/138456686): Revise these after the (intentionally non-breaking) initial rollout of FailureDetail-based encoding.

Used in: ActionQuery

message ActionRewinding

failure_details.proto:1080

Used in: FailureDetail

enum ActionRewinding.Code

failure_details.proto:1081

Used in: ActionRewinding

message Analysis

failure_details.proto:1233

Used in: FailureDetail

enum Analysis.Code

failure_details.proto:1234

Used in: Analysis

message BuildConfiguration

failure_details.proto:633

Failure modes described by this category pertain to the Bazel invocation configuration consumed by Bazel's analysis phase. This category is not intended as a grab-bag for all Bazel flag value constraint violations, which instead generally belong in the category for the subsystem whose flag values participate in the constraint.

Used in: FailureDetail

enum BuildConfiguration.Code

failure_details.proto:634

Used in: BuildConfiguration

message BuildProgress

failure_details.proto:266

Used in: FailureDetail

enum BuildProgress.Code

failure_details.proto:267

Used in: BuildProgress

message BuildReport

failure_details.proto:362

Used in: FailureDetail

enum BuildReport.Code

failure_details.proto:363

Used in: BuildReport

message CanonicalizeFlags

failure_details.proto:619

Used in: FailureDetail

enum CanonicalizeFlags.Code

failure_details.proto:620

Used in: CanonicalizeFlags

message CleanCommand

failure_details.proto:907

Used in: FailureDetail

enum CleanCommand.Code

failure_details.proto:908

Used in: CleanCommand

message ClientEnvironment

failure_details.proto:313

Used in: FailureDetail

enum ClientEnvironment.Code

failure_details.proto:314

Used in: ClientEnvironment

message Command

failure_details.proto:578

Used in: FailureDetail

enum Command.Code

failure_details.proto:579

Used in: Command

message ConfigCommand

failure_details.proto:925

Used in: FailureDetail

enum ConfigCommand.Code

failure_details.proto:926

Used in: ConfigCommand

message ConfigurableQuery

failure_details.proto:935

Used in: FailureDetail

enum ConfigurableQuery.Code

failure_details.proto:936

Used in: ConfigurableQuery

message CppCompile

failure_details.proto:1096

Used in: FailureDetail

enum CppCompile.Code

failure_details.proto:1097

Used in: CppCompile

failure_details.proto:1178

Used in: FailureDetail

enum CppLink.Code

failure_details.proto:1179

Used in: CppLink

message Crash

failure_details.proto:322

Used in: FailureDetail

enum Crash.Code

failure_details.proto:323

Used in: Crash

message CrashOptions

failure_details.proto:524

Used in: FailureDetail

enum CrashOptions.Code

failure_details.proto:525

Used in: CrashOptions

message DiffAwareness

failure_details.proto:1359

Used in: FailureDetail

enum DiffAwareness.Code

failure_details.proto:1360

Used in: DiffAwareness

message DumpCommand

failure_details.proto:956

Used in: FailureDetail

enum DumpCommand.Code

failure_details.proto:957

Used in: DumpCommand

message DynamicExecution

failure_details.proto:1135

Used in: FailureDetail

enum DynamicExecution.Code

failure_details.proto:1136

Used in: DynamicExecution

message Execution

failure_details.proto:447

Used in: FailureDetail

enum Execution.Code

failure_details.proto:448

Used in: Execution

message ExecutionOptions

failure_details.proto:551

Used in: FailureDetail

enum ExecutionOptions.Code

failure_details.proto:558

All numerical exit code associations correspond to pre-existing Bazel behavior. These associations are suspicious: - REQUESTED_STRATEGY_INCOMPATIBLE_WITH_SANDBOXING (instead: 2?) - DEPRECATED_LOCAL_RESOURCES_USED (instead: 2?) TODO(b/138456686): Revise these after the (intentionally non-breaking) initial rollout of FailureDetail-based encoding.

Used in: ExecutionOptions

message ExternalDeps

failure_details.proto:1344

Used in: FailureDetail

enum ExternalDeps.Code

failure_details.proto:1345

Used in: ExternalDeps

message ExternalRepository

failure_details.proto:254

Used in: FailureDetail

enum ExternalRepository.Code

failure_details.proto:255

Used in: ExternalRepository

message FailAction

failure_details.proto:1147

Used in: FailureDetail

enum FailAction.Code

failure_details.proto:1148

Used in: FailAction

message FailureDetail

failure_details.proto:80

The FailureDetail message type is designed such that consumers can extract a basic classification of a FailureDetail message even if the consumer was built with a stale definition. This forward compatibility is implemented via conventions on FailureDetail and its submessage types, as follows. *** FailureDetail field numbers Field numbers 1 through 100 (inclusive) are reserved for generally applicable values. Any number of these fields may be set on a FailureDetail message. Field numbers 101 through 10,000 (inclusive) are reserved for use inside the "oneof" structure. Only one of these values should be set on a FailureDetail message. Additional fields numbers are unlikely to be needed, but, for extreme future- proofing purposes, field numbers 10,001 through 1,000,000 (inclusive; excluding protobuf's reserved range 19000 through 19999) are reserved for additional generally applicable values. *** FailureDetail's "oneof" submessages Each field in the "oneof" structure is a submessage corresponding to a category of failure. In each of these submessage types, field number 1 is an enum whose values correspond to a subcategory of the failure. Generally, the enum's constant which maps to 0 should be interpreted as "unspecified", though this is not required. *** Recommended forward compatibility strategy The recommended forward compatibility strategy is to reduce a FailureDetail message to a pair of integers. The first integer corresponds to the field number of the submessage set inside FailureDetail's "oneof", which corresponds with the failure's category. The second integer corresponds to the value of the enum at field number 1 within that submessage, which corresponds with the failure's subcategory. WARNING: This functionality is experimental and should not be relied on at this time. TODO(mschaller): remove experimental warning

Used in: build_event_stream.ActionExecuted, build_event_stream.BuildFinished, build_event_stream.TargetComplete

message FailureDetailMetadata

failure_details.proto:28

message FetchCommand

failure_details.proto:768

Used in: FailureDetail

enum FetchCommand.Code

failure_details.proto:769

Used in: FetchCommand

message Filesystem

failure_details.proto:533

Used in: FailureDetail

enum Filesystem.Code

failure_details.proto:534

Used in: Filesystem

message GrpcServer

failure_details.proto:606

Used in: FailureDetail

enum GrpcServer.Code

failure_details.proto:607

Used in: GrpcServer

message HelpCommand

failure_details.proto:973

Used in: FailureDetail

enum HelpCommand.Code

failure_details.proto:974

Used in: HelpCommand

message IncludeScanning

failure_details.proto:813

Used in: FailureDetail

enum IncludeScanning.Code

failure_details.proto:814

Used in: IncludeScanning

message InfoCommand

failure_details.proto:661

Used in: FailureDetail

enum InfoCommand.Code

failure_details.proto:665

The distinction between a failure to write a single info item and a failure to write them all seems sketchy. Why do they have different exit codes? This reflects current Bazel behavior, but deserves more thought.

Used in: InfoCommand

message Interrupted

failure_details.proto:175

Used in: FailureDetail

enum Interrupted.Code

failure_details.proto:176

Used in: Interrupted

message JavaCompile

failure_details.proto:1067

Used in: FailureDetail

enum JavaCompile.Code

failure_details.proto:1068

Used in: JavaCompile

message LocalExecution

failure_details.proto:749

Used in: FailureDetail

enum LocalExecution.Code

failure_details.proto:750

Used in: LocalExecution

message LtoAction

failure_details.proto:1188

Used in: FailureDetail

enum LtoAction.Code

failure_details.proto:1189

Used in: LtoAction

message MemoryOptions

failure_details.proto:676

Used in: FailureDetail

enum MemoryOptions.Code

failure_details.proto:677

Used in: MemoryOptions

message MobileInstall

failure_details.proto:983

Used in: FailureDetail

enum MobileInstall.Code

failure_details.proto:984

Used in: MobileInstall

message ModCommand

failure_details.proto:1368

Used in: FailureDetail

enum ModCommand.Code

failure_details.proto:1369

Used in: ModCommand

message NinjaAction

failure_details.proto:1125

Used in: FailureDetail

enum NinjaAction.Code

failure_details.proto:1126

Used in: NinjaAction

message PackageLoading

failure_details.proto:1264

Used in: FailureDetail

enum PackageLoading.Code

failure_details.proto:1265

Used in: IncludeScanning, PackageLoading

message PackageOptions

failure_details.proto:402

Used in: FailureDetail

enum PackageOptions.Code

failure_details.proto:403

Used in: PackageOptions

message PrintActionCommand

failure_details.proto:1040

Used in: FailureDetail

enum PrintActionCommand.Code

failure_details.proto:1041

Used in: PrintActionCommand

message ProfileCommand

failure_details.proto:997

Used in: FailureDetail

enum ProfileCommand.Code

failure_details.proto:998

Used in: ProfileCommand

message Query

failure_details.proto:690

Used in: FailureDetail

enum Query.Code

failure_details.proto:691

Used in: Query

message RemoteAnalysisCaching

failure_details.proto:392

Failure details for errors produced during remote analysis caching.

Used in: FailureDetail

enum RemoteAnalysisCaching.Code

failure_details.proto:393

Used in: RemoteAnalysisCaching

message RemoteExecution

failure_details.proto:414

Used in: FailureDetail

enum RemoteExecution.Code

failure_details.proto:419

The association of some of these options with exit code 2, "command line error", seems sketchy. Especially worth reconsidering are the channel init failure modes, which can correspond to failures occurring in gRPC setup. These all correspond with current Bazel behavior.

Used in: RemoteExecution

message RemoteOptions

failure_details.proto:295

Used in: FailureDetail

enum RemoteOptions.Code

failure_details.proto:296

Used in: RemoteOptions

message RunCommand

failure_details.proto:1007

Used in: FailureDetail

enum RunCommand.Code

failure_details.proto:1008

Used in: RunCommand

message Sandbox

failure_details.proto:792

Used in: FailureDetail

enum Sandbox.Code

failure_details.proto:793

Used in: Sandbox

message Skyfocus

failure_details.proto:376

Failure details for errors produced when using Skyfocus

Used in: FailureDetail

enum Skyfocus.Code

failure_details.proto:377

Used in: Skyfocus

message Spawn

failure_details.proto:209

Used in: FailureDetail

enum Spawn.Code

failure_details.proto:210

Used in: Spawn

message StarlarkAction

failure_details.proto:1115

Used in: FailureDetail

enum StarlarkAction.Code

failure_details.proto:1116

Used in: StarlarkAction

message StarlarkLoading

failure_details.proto:1326

Used in: FailureDetail

enum StarlarkLoading.Code

failure_details.proto:1327

Used in: StarlarkLoading

message SymlinkAction

failure_details.proto:1164

Used in: FailureDetail

enum SymlinkAction.Code

failure_details.proto:1165

Used in: SymlinkAction

message SymlinkForest

failure_details.proto:351

Used in: FailureDetail

enum SymlinkForest.Code

failure_details.proto:352

Used in: SymlinkForest

message SyncCommand

failure_details.proto:780

Used in: FailureDetail

enum SyncCommand.Code

failure_details.proto:781

Used in: SyncCommand

message TargetPatterns

failure_details.proto:879

Used in: FailureDetail

enum TargetPatterns.Code

failure_details.proto:880

Used in: TargetPatterns

message TestAction

failure_details.proto:1199

Used in: FailureDetail

enum TestAction.Code

failure_details.proto:1200

Used in: TestAction

message TestCommand

failure_details.proto:833

Used in: FailureDetail

enum TestCommand.Code

failure_details.proto:834

Used in: TestCommand

message Throwable

failure_details.proto:340

Used in: Crash

message Toolchain

failure_details.proto:1311

Used in: FailureDetail

enum Toolchain.Code

failure_details.proto:1312

Used in: Toolchain

message VersionCommand

failure_details.proto:1031

Used in: FailureDetail

enum VersionCommand.Code

failure_details.proto:1032

Used in: VersionCommand

message Worker

failure_details.proto:1212

Used in: FailureDetail

enum Worker.Code

failure_details.proto:1213

Used in: build_event_stream.BuildMetrics.WorkerMetrics, Worker

message WorkspaceStatus

failure_details.proto:1052

Used in: FailureDetail

enum WorkspaceStatus.Code

failure_details.proto:1053

Used in: WorkspaceStatus

message Workspaces

failure_details.proto:507

Failure details about Bazel's WORKSPACE features.

Used in: FailureDetail

enum Workspaces.Code

failure_details.proto:508

Used in: Workspaces