Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add take screenshot action #29

Merged
merged 1 commit into from
Oct 22, 2024
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
9 changes: 9 additions & 0 deletions src/bitdrift_public/protobuf/workflow/v1/workflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ message Workflow {
ActionFlushBuffers action_flush_buffers = 1;
ActionEmitMetric action_emit_metric = 2;
ActionEmitSankeyDiagram action_emit_sankey_diagram = 3;
ActionTakeScreenshot action_take_screenshot = 4;
}

// Flush the content of the specified buffer(s) to the bitdrift control plane, with the option to continue
Expand Down Expand Up @@ -286,6 +287,14 @@ message Workflow {
}
}

// Emit a log containing application screenshot.
message ActionTakeScreenshot {
// The ID of an action. If multiple actions have them same ID and are performed
// as the result of processing the same event (i.e. log) a client performs only one
// of the actions.
string id = 1 [(validate.rules).string = {min_len: 1}];
}

message Execution {
// An execution mode where a new workflow *run* starting from an initial
// state can be started only if there are no other active runs of a given workflow.
Expand Down
Loading