Module workspace_runner

Module workspace_runner 

Source
Expand description

Generic workspace runner.

This module provides a reusable WorkspaceRunner which encapsulates the IPC event loop for:

  • binding an IPC socket listener
  • accepting and handshaking child connections
  • routing child-to-parent messages into a workspace loop
  • handling spawn requests from children
  • requesting graceful shutdown of the workspace process tree

It runs the workspace’s Workspace::run concurrently with this IPC loop.

Modules§

cli
CLI argument parsing for child subprocess launcher modes.
process
Process execution, environment setup, and child handle lifecycle.
workspace_runtime
Workspace runtime loop supervising child processes and IPC services.

Structs§

SpawnRequester
Identifies the sender of a spawn request.
WorkspaceRunner
Encapsulates the workspace’s main event loop and lifecycle management.
WorkspaceRunnerConfig
Configuration for the workspace runner.
WorkspaceServices
Container for singleton service dependencies injected into a workspace.
WorkspaceStats
Statistics collected during workspace execution.

Enums§

SpawnRequestDecision
Decision returned by a workspace when evaluating a spawn request.

Traits§

Workspace
Workspace behavior that can be plugged into WorkspaceRunner.
WorkspaceExt
Extension trait providing ergonomic service access for workspaces.