Commit 9a240d6
fix: expire orphaned initial progress after 2 min + add has_data to catalog
- If host agent never picks up an install request, the initial progress
file (written by dashboard-api) stays at "pulling" with started_at ==
updated_at. After 2 min, treat as stale so extension stops showing
"installing" and falls through to normal status.
- Add has_data field to catalog response so UI can hide purge button
when there's no data directory to purge.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 734d23b commit 9a240d6
File tree
1 file changed
+10
-2
lines changed- dream-server/extensions/services/dashboard-api/routers
1 file changed
+10
-2
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
108 | 115 | | |
109 | 116 | | |
110 | 117 | | |
| |||
507 | 514 | | |
508 | 515 | | |
509 | 516 | | |
510 | | - | |
| 517 | + | |
| 518 | + | |
511 | 519 | | |
512 | 520 | | |
513 | 521 | | |
| |||
0 commit comments