You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/dstack/SKILL.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,9 +70,12 @@ By default, `dstack apply` requires a confirmation, and once first job within th
70
70
71
71
### Command timing and confirmation handling
72
72
73
-
**Commands that stream indefinitely (use timeout to capture output, then exit):**
73
+
**Commands that run indefinitely (agents should avoid these):**
74
74
-`dstack attach` - maintains connection until interrupted
75
75
-`dstack apply` without `-d` for runs - streams logs after provisioning
76
+
-`dstack ps -w` - watch mode, auto-refreshes until interrupted
77
+
78
+
Instead, use `dstack ps -v` to check status, or `dstack apply -d` for detached mode.
76
79
77
80
**All other commands:** Use 10-60s timeout. Most complete within this range. **While waiting, monitor the output** - it may contain errors, warnings, or prompts requiring attention.
0 commit comments