feat: command timeouts (#2898)

This commit is contained in:
Valentin Maerten
2026-08-11 22:09:25 +02:00
committed by GitHub
parent 993508c782
commit 37898d9102
21 changed files with 830 additions and 50 deletions

View File

@@ -23,3 +23,9 @@ tasks:
cmds:
- defer: echo FOO={{.FOO}} - DYNAMIC_FOO={{.DYNAMIC_FOO}} - {{.PREFIX}}{{.EXIT_CODE}}
- exit 1
exit-timeout:
cmds:
- defer: echo {{.PREFIX}}{{.EXIT_CODE}}
- cmd: sleep 10
timeout: 200ms