Move host operation history to a paginated Hosts page

This commit is contained in:
2026-10-05 12:27:48 -04:00
parent 09ef8c6ec8
commit 10ab071bce
14 changed files with 298 additions and 17 deletions
+6 -2
View File
@@ -59,7 +59,9 @@ T5 and for T6 when available, one setup operation at a time. Uploading new files
or enrolling another host needs no manual propagation. Setup waits for an active, connected,
healthy host with sufficient storage. Failed operations retry automatically with
backoff from one minute to fifteen minutes; their errors remain visible in the
host's setup panel and operation history. Disconnected hosts resume when they
host's setup panel and **Hosts → Operation history**. This shared history lists
operations across hosts, newest first, with a host column and 25 rows per page.
Disconnected hosts resume when they
reconnect. Draining and disabled hosts do not receive new automatic setup work.
An automatic download that has not been delivered to the agent can be replaced
@@ -284,7 +286,9 @@ explicit installer `--reenroll` when local credentials already exist.
API outline:
- `GET /api/hosts/:id`: host details, operation history and deletion blockers.
- `GET /api/hosts/:id`: host details and deletion blockers.
- `GET /api/hosts/operations?page=1`: operation history across hosts, newest first,
with 25 summaries per page and total/page counts. Payloads and results are omitted.
- `DELETE /api/hosts/:id`: administrator requests cleanup of an unused host;
returns `202` while remote removal is pending, `200` for an unenrolled host,
or `409` when the agent needs updating or unresolved ownership remains.