Checklist
Curio component
What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.
curio test window-post task never ends (in CLI) if you specify a deadline containing a zero number of sectors.
And returns errors in the GUI.
This does not interfere with Curio's work, but it misleads the user.
Describe the solution you'd like
It would be good to embed an error (or info) message and the immediate completion of the command in the CLI in this case.
Describe alternatives you've considered
No response
Additional context
No response