Commit c28ae0e
Show failed creations in
`list_agent_sessions` dropped any session whose status was not `running`,
`interrupted` or `success`, so a creation that failed disappeared from the
listing entirely. `_STATUS_DISPLAY` already had a red `failed` entry that
nothing could reach.
A failure is an outcome worth showing. One session here spent six hours and
seven trials establishing that a constraint was unreachable on the available
hardware, then correctly declined to save a preset. Its trials, learnings and
final report are all on disk, but the only way back to them was to already
know the preset id.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>dstack preset
1 parent 3fedd27 commit c28ae0e
2 files changed
Lines changed: 17 additions & 1 deletion
File tree
- src
- dstack/_internal/cli/services/presets
- tests/_internal/cli/services/presets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
836 | 852 | | |
837 | 853 | | |
838 | 854 | | |
| |||
0 commit comments