Expand description
Result streaming + log entry conversion for the guest runtime.
The guest linear task runs a GuestPluginβs lifecycle sequence
(on_start -> execute_sample -> wait -> on_stop) and streams
results back over an mpsc channel. Auto-collection of artifacts and
external logs is handled after on_stop.
StructsΒ§
- Task
Execution π - All parameters for a single guest task execution (everything except the generic plugin instance).
FunctionsΒ§
- guest_
linear_ πtask - Run a
GuestPluginβs linear lifecycle and stream results back over the taskβs result channel. - log_
entry_ πto_ proto - Convert a SDK [
LogEntry] to the protobufLogEntryrepresentation. - message_
to_ πproto - Convert a
TaskResultMessageto the protobufTaskResultrepresentation. - result_
format_ πto_ proto - send_
final_ πmarker - Send the final-marker
TaskResultthat signals end-of-stream to the daemon.