lablink_allocator_service.utils.ansi¶
lablink_allocator_service.utils.ansi
¶
ANSI escape-sequence stripping for tofu output and client VM logs.
Lives here rather than in main.py because three call sites across two blueprints need it (provisioning: tofu stdout/stderr; vm_telemetry: client log ingestion) and it holds no state.