Skip to content
Merged
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
16 changes: 9 additions & 7 deletions src/bitdrift_public/protobuf/workflow/v1/workflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,11 @@ message Workflow {
// The tag value is the body of the log. If the body is not present, no tag is added.
bool log_body_extracted = 4;

FeatureFlagExtracted feature_flag_extracted = 5;
StateExtracted state_extracted = 6;
}

reserved 5;
reserved "feature_flag_extracted";
}

// Emit a log containing application screenshot.
Expand Down Expand Up @@ -440,16 +443,15 @@ message Workflow {
}
}

// A value extracted from the feature flags.
message FeatureFlagExtracted {
string name = 1 [(validate.rules).string = {min_len: 1}];
message StateExtracted {
state.v1.StateScope scope = 1 [(validate.rules).enum.defined_only = true];

string key = 2 [(validate.rules).string = {min_len: 1}];

message Exact {}

// For now we only support exact match, but in the future we might support more complex
// extraction logic like regex captures. If not specified, the default is exact match.
oneof extraction_type {
Exact exact = 2;
Exact exact = 3;
}
}
}
Loading