pub fn setup_interrupt_handler()Expand description
Set up the interrupt handler for graceful shutdown with checkpoint saving.
This function registers a SIGINT handler that will:
- Save a checkpoint with the current pipeline state
- Clean up generated files
- Exit gracefully
Call this early in main() after initializing the pipeline context.