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: internal-packages/dashboard-agent/GUIDEBOOK.md
+35-2Lines changed: 35 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,39 @@ filtered page), TRQL data questions with live charts, deploy correlation
73
73
Every card in every state is also browsable at `/storybook/agent-ui` (admin
74
74
only), with no LLM and no data.
75
75
76
+
### Where the buttons are
77
+
78
+
Two separate mechanisms, decided differently — worth knowing before a demo.
79
+
80
+
**Buttons on the page itself.** Every one of them hides when the agent is off.
81
+
82
+
| Page | Button | Shown when |
83
+
| --- | --- | --- |
84
+
| Queue | Investigate | the queue is degraded: not paused, and either `running >= concurrencyLimit` with a non-empty queue, or the oldest run has waited >= 5 min |
85
+
| Queue | Watch… | always |
86
+
| Error group | Investigate this error | always |
87
+
| Error group | Watch… | always |
88
+
| Run (span panel) | Watch… | while the run is not in a final status |
89
+
| Run (span panel) | Investigate | the run failed — next to the error block |
90
+
| Run, waiting block | Investigate | whenever that block is on screen, which is what "still waiting" means |
91
+
92
+
So a queue full of runs shows only `Watch…` until something is actually
93
+
executing or waiting too long — filling a queue with nothing to run it does not
94
+
make the page degraded.
95
+
96
+
**Chips in the agent panel.** An empty chat offers up to five, chosen from the
97
+
page's live signals — a different decision from the buttons above:
98
+
99
+
| Signal | Chip slot |
100
+
| --- | --- |
101
+
|`fresh_failure`| investigate |
102
+
|`slow_run`| investigate |
103
+
|`waiting_run`| watch |
104
+
|`concurrency_saturation`| watch |
105
+
106
+
A backed-up queue therefore offers "tell me when the backlog drains", never
107
+
"investigate" — the page's own Investigate button is the one that asks that.
108
+
76
109
---
77
110
78
111
## Prerequisites
@@ -311,13 +344,13 @@ kit error:recur # creates the error group the first time it runs
311
344
**Clicks.** Errors → the group the command named → **Watch…** → **Customize** →
312
345
**if it recurs** → **For**`6 hours` → **Watch**.
313
346
314
-
**Confirmation.** "Watching error c4b4a797 in case it happens again."
347
+
**Confirmation.** "Watching error c4b4a797397a9c43 in case it happens again."
315
348
316
349
```bash
317
350
kit error:recur # again, now that the watch exists
0 commit comments