swarm-ui: builds are a card under the job graph on the jobs tab
The builds tab is gone from the nav; its card sits below the jobs card on /jobs. The swarm-builder commit status now links to /jobs?run=<id>, and the old /builds address redirects there with its query so links already on PRs still open the build. Docs and the link test follow.
This commit is contained in:
parent
31670da795
commit
a2f000bab4
1 changed files with 64 additions and 21 deletions
|
|
@ -27,13 +27,12 @@ shut. A dropdown inside a dialog opens above the dialog and the dialog doesn't c
|
|||
| `/agents/<name>/terminal` | one agent's live terminal |
|
||||
| `/agents/<name>/subagents/<subagent>/terminal` | one of that agent's subagents' live terminal |
|
||||
| `/alerts` | the alerts the swarm's Grafana holds now: the firing ones, with a button for the pending, no-data and error ones and a link to Grafana's own alert list; read through the controller with a Viewer service-account token |
|
||||
| `/jobs` | the controller's job graph — where agent creation and credential mints show progress |
|
||||
| `/jobs` | the controller's job graph, where agent creation and credential mints show progress, and under it the swarm builder's recent builds of agent config PRs, with what nix printed when one failed |
|
||||
| `/schedules` | the scheduled prompts: add, edit, pause, resume and remove |
|
||||
| `/messages` | the swarm-wide message feed: every message between agents, and to them from the operator, reminders and compaction, with a history window and a filter on sender or recipient; a folded **broadcast** card above the feed sends one message to more than one agent at once |
|
||||
| `/notifications` | the notification router's flows: a switch for each built-in, every flow drawn as a graph, and an editor for custom flows |
|
||||
| `/issues` | a cross-repo issue report |
|
||||
| `/review` | the review classifier: its recent runs, a try-out on a real PR, and its settings |
|
||||
| `/builds` | the swarm builder's recent builds of agent config PRs, with what nix printed when one failed |
|
||||
|
||||
Everything it shows comes from [`swarm-controller`](../../swarm-controller/README.md).
|
||||
Pages that refresh on a timer share one polling rule: the page sends no new
|
||||
|
|
@ -473,15 +472,18 @@ previous repo's issues under the error.
|
|||
|
||||
### Builds
|
||||
|
||||
The **builds** page lists the agent config PR heads the swarm builder built,
|
||||
The builds sit in a card under the job graph on the **jobs** tab. The old `/builds` address redirects there and keeps its query.
|
||||
|
||||
The **builds** card lists the agent config PR heads the swarm builder built,
|
||||
newest first, from `GET /api/builder/runs`. Each card shows the repo and PR,
|
||||
the first seven characters of the commit, how the build ended (**built**,
|
||||
**failed** or **error**), when it started and how long it took. Select a card to
|
||||
read it: for a failed build, what `nix` printed; for a built one, the system
|
||||
closure; for an error, why no build came back.
|
||||
|
||||
The **Details** link on a `swarm-builder` commit status opens this page as
|
||||
`/builds?run=<id>`, with that build's card open and in view. The builder keeps
|
||||
The **Details** link on a `swarm-builder` commit status opens the jobs tab as
|
||||
`/jobs?run=<id>`, with that build's card open and in view. Links made before the
|
||||
builds moved, to `/builds?run=<id>`, redirect to the same place. The builder keeps
|
||||
its newest 100 builds, so a link to an older one shows a note instead.
|
||||
|
||||
### Broadcasting a message
|
||||
|
|
|
|||
Loading…
Reference in a new issue