Skip to main content

guest_linear_task

Function guest_linear_task 

Source
pub(super) fn guest_linear_task<P: GuestPlugin>(
    plugin: Arc<P>,
    exec: TaskExecution,
)
Expand description

Run a GuestPlugin’s linear lifecycle and stream results back over the task’s result channel.

The sequence is:

  1. Send READY signal
  2. on_start - plugin sets up monitoring
  3. execute_sample - SDK launches the sample
  4. Wait for analysis timeout
  5. on_stop - plugin flushes results
  6. Auto-collect artifacts and external logs
  7. Send final marker