Skip to main content

enable_cli_progress

Function enable_cli_progress 

Source
pub fn enable_cli_progress()
Expand description

Install a process-global progress callback that writes one line to stderr per tick, throttled by the rayforce executor so quick queries stay silent. Idempotent; subsequent calls are no-ops.

CLI surfaces (baseline query, policy check) call this so users see live feedback during long Rayfall evaluations. MCP and unit tests skip it – progress lines on stderr would corrupt the JSON stream parsers expect, and tests are noisy enough already.