Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions cre/go/installer/pkg/embedded_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 32 additions & 9 deletions cre/go/sdk/sdk.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions cre/sdk/v1alpha/sdk.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ message CapabilityResponse {
google.protobuf.Any payload = 1;
string error = 2;
}
// capability_id identifies which capability produced this response.
// Populated by the host on error to allow callers to attribute failures.
string capability_id = 3;
}

enum Mode {
Expand Down Expand Up @@ -111,6 +114,9 @@ message ExecutionResult {
string error = 2;
TriggerSubscriptionRequest trigger_subscriptions = 3;
}
// failed_capability_id identifies the capability whose error caused this execution to fail.
// Only set when the result is an error originating from a capability call.
optional string failed_capability_id = 4;
}

message GetSecretsRequest {
Expand Down
6 changes: 6 additions & 0 deletions cre/sdk/v1beta/sdk.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ message CapabilityResponse {
google.protobuf.Any payload = 1;
string error = 2;
}
// capability_id identifies which capability produced this response.
// Populated by the host on error to allow callers to attribute failures.
string capability_id = 3;
}

enum Mode {
Expand Down Expand Up @@ -111,6 +114,9 @@ message ExecutionResult {
string error = 2;
TriggerSubscriptionRequest trigger_subscriptions = 3;
}
// failed_capability_id identifies the capability whose error caused this execution to fail.
// Only set when the result is an error originating from a capability call.
optional string failed_capability_id = 4;
}

message GetSecretsRequest {
Expand Down
Loading