Actions
action #164712
closedRemove the deprecated "script_run($cmd, die_on_timeout => 0)" and handle follow-up size:M
Description
Motivation¶
See #164541. script_run($cmd, die_on_timeout => 0)
was declared deprecated some years ago. We should follow up by obsoleting and helping affected users (or revert the deprecation).
Acceptance criteria¶
- AC1: The use case of starting a script, doing something else and finally waiting for the script to finish is still covered.
- AC2: The use case of starting a script and handling a stall or timeout gracefully is still covered
- AC3: No deprecated modes of
script_run
persist intestapi.pm
Suggestions¶
- Review past decisions
- Provide a change to osado to not have
script_run($cmd, die_on_timeout => 0)
- For AC2 it's suggested to use
enter_cmd && wait_serial
(which should be documented, e.g. a hint on theenter_cmd
documentation explaining the possibility to chain withwait_serial
would make sense)
Actions