I'm running a cpu-bound algorithm inside a rule (d...
# development
h
I'm running a cpu-bound algorithm inside a rule (detecting all cycles in a digraph) and I cannot ctrl-c out of it (this is with
--v2-ui
set, in case that matters)
a
@hundreds-breakfast-49010 is this expected behavior?
or is this the opposite problem from handling subprocess signals
h
only for the
run
goal, but it's possible that my code that deliberately suppresses ctrl-c in the
run
goal is somehow getting executed when it shouldn't be
if so that's a bug
@happy-kitchen-89482 what pants command were you running?
a
i think this is expected behavior actually
or no forget me
h
I was running a custom console_rule, that yielded to the rule that blocked on CPU-bound work.
Not the
run
goal.
a
the solution that greg applied for the
run
goal i think would apply here
don't have enough bandwidth right now to investigate until like 3pm today