OCDocker.Workbench.RunDetail module

Read-only aggregate run drill-down helpers for Workbench GUI integrations.

OCDocker.Workbench.RunDetail.build_run_detail(target, *, lines=80, max_bytes=65536, encoding='utf-8')[source]

Build a read-only aggregate detail payload for one Workbench run.

Parameters:
  • target (str or pathlib.Path) – Run manifest file or prepared bundle directory.

  • lines (int) – Maximum returned lines per declared log file.

  • max_bytes (int) – Maximum bytes read from the end of each log file.

  • encoding (str) – Text encoding used to decode log bytes.

Returns:

Aggregate run detail payload for GUI drill-downs.

Return type:

RunDetail