DUNE-DAQ / drunc

Dune RUN Control (DRUNC) is the run control for the DUNE experiment
1 stars 1 forks source link

Make `boot` interruptible #283

Closed PawelPlesniak closed 2 weeks ago

PawelPlesniak commented 4 weeks ago

SIGINT does not affect boot, make it so.

PawelPlesniak commented 3 weeks ago

This already exists for the unfiied shell when the gRPC commands are being generated (as per here), but still need it when rich.progress is displaying Looking for 'root-controller' on the connectivity service...

plasorak commented 3 weeks ago

I suspect there are some things related to that here: https://github.com/DUNE-DAQ/drunc/blob/1d339e4e9f69aaa72bfdc2d8055b53a1a8797e66/src/drunc/utils/utils.py#L108C1-L135C19 I cannot understand why it wouldn't interrupt this loading bar with ctrl-c. There must be something else catching SIGINT somewhere...