gall: delete agent blocked moves on |nuke

This commit is contained in:
Pyry Kovanen 2024-08-25 19:23:09 +03:00 committed by GitHub
parent 75152fc072
commit 6d97c80d68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -957,6 +957,10 @@
++ mo-nuke
|= [prov=path dap=dude]
^+ mo-core
=? mo-core (~(has by blocked.state) dap)
=/ num-movs=@ ~(wyt by (~(got by blocked.state) dap))
~> %slog.0^leaf/"gall: deleted {<num-movs>} blocked moves for {<dap>}"
mo-core(blocked.state (~(del by blocked.state) dap))
=/ yoke=(unit yoke) (~(get by yokes.state) dap)
?: |(?=(~ yoke) ?=(%nuke -.u.yoke))
~> %slog.0^leaf/"gall: ignoring %nuke for {<dap>}, not running"