File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
src/bitdrift_public/protobuf/workflow/v1 Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -394,8 +394,11 @@ message Workflow {
394394 // The tag value is the body of the log. If the body is not present, no tag is added.
395395 bool log_body_extracted = 4 ;
396396
397- FeatureFlagExtracted feature_flag_extracted = 5 ;
397+ StateExtracted state_extracted = 6 ;
398398 }
399+
400+ reserved 5 ;
401+ reserved "feature_flag_extracted" ;
399402 }
400403
401404 // Emit a log containing application screenshot.
@@ -440,16 +443,15 @@ message Workflow {
440443 }
441444 }
442445
443- // A value extracted from the feature flags.
444- message FeatureFlagExtracted {
445- string name = 1 [(validate.rules ).string = {min_len : 1 }];
446+ message StateExtracted {
447+ state.v1.StateScope scope = 1 [(validate.rules ) .enum.defined_only = true ];
448+
449+ string key = 2 [(validate.rules ).string = {min_len : 1 }];
446450
447451 message Exact {}
448452
449- // For now we only support exact match, but in the future we might support more complex
450- // extraction logic like regex captures. If not specified, the default is exact match.
451453 oneof extraction_type {
452- Exact exact = 2 ;
454+ Exact exact = 3 ;
453455 }
454456 }
455457}
You can’t perform that action at this time.
0 commit comments