Tracking Deployments: Active & History
Every time you push a deployment package to machines, Athena records it as an execution. The console gives you two screens to follow it: Active Deployments, a live board of everything that is scheduled, waiting, or running, and Deployment History, a log of every finished execution where you can open each machine and each package step and read its exit code and output. This page covers both screens, who can use them, how to clean up history, and how to get the same results over the REST API.
Getting there#
Both screens are reached from the Deployments area of the console:
- The Active Deployments (“Monitor running deployments”) and Deployment History (“View past deployment results”) cards on the Deployments page.
- The status counters at the top of the Deployments page: clicking the Running or Pending counter opens Active Deployments; clicking Completed or Failed opens Deployment History.
- The Open queue link on the Dashboard’s Deployments in Flight panel opens Active Deployments.
- When you start a deployment, the console takes you straight to that execution on the Active Deployments screen.
Each screen and each execution also has its own address, so you can bookmark or share a link:
| Address | Opens |
|---|---|
/deployments/active | The Active Deployments board |
/deployments/active/{executionId} | A single execution’s live detail view |
/deployments/history | The Deployment History log |
/deployments/history/{executionId} | A single finished execution’s record |
Who can see and do what#
| Permission | What it unlocks on these screens |
|---|---|
deployments.view | Open Active Deployments and Deployment History, including every execution, agent, and step result. Refresh and View History are available to anyone who can open the page. |
deployments.manage | The Start and Cancel controls on active executions, and the Delete / Delete All controls in history. Without it, these buttons are not shown. |
deployments.execute | The Start New Deployment button shown when there is nothing active. |
See Permission Model & Role Bundles for how these are granted through roles.
Active Deployments (live board)#
The Active Deployments screen (eyebrow Live Operations) lists every execution that has not finished yet: Running, Pending, and Scheduled, newest first. A legend at the top shows the colour for each of the three states. When nothing is in progress you see No Active Deployments.
Each execution appears as a card showing:
| Field | Meaning |
|---|---|
| Name & status | The name you gave the deployment and its current state. |
| Package | The deployment package being delivered. |
| Targets | How many machines the execution is aimed at. |
| Current Step | The package step currently in progress (shown once one is running). |
| Scheduled At / Started At | For a scheduled execution, when it is due to run; otherwise when it started. |
| Initiator | The console user who started the deployment. |
| Step rail | One square per package step — a tick for steps already passed, a spinner on the current step, a cross if the execution failed on that step, and the step number for steps not yet reached. Hover a square to see the step name. |
| Progress bar | Machines finished out of the total, with the percentage, e.g. 12/40 (30%). |
The board updates itself: it listens for live deployment progress, step-completed, and result events from the server, so you do not need to reload the page. Updates come only through that live connection — the board does not poll on a timer. If the connection drops or cannot be opened, the board keeps its current data and shows a Live updates paused – reconnecting badge beside its title while it retries; once reconnected it re-reads the board once and the badge clears. See Live updates paused.
Start and cancel#
Users with deployments.manage see action buttons on each card and in the detail view:
- Start — on a Pending or Scheduled execution, dispatches it now instead of waiting. If the server’s license does not currently allow new work, Start is refused with an error message and the execution stays Pending, so it can be started once the license is renewed (see Licensing).
- Cancel — on a Pending, Scheduled, or Running execution, closes it with status Cancelled, stamps the completion time, and moves it to Deployment History. Cancel ends the execution on the server; it does not send an abort to machines, so a step that a machine has already begun is not interrupted there.
Execution detail: the agent × step matrix#
Click a card to open its live detail view. It has three parts:
- Execution Info — package, start time, total agents, overall progress, and counts of machines Completed, Running, and Failed.
- Agent Step Matrix — one row per machine, one column per package step, and a final status column for that machine. Until the first machine reports, the matrix shows Waiting for agents…. On wide packages the matrix scrolls sideways inside its panel.
- Step output — click any cell in the matrix to open that machine’s result for that step: status, Exit Code, Started At, Completed At, and any Output, Error Output, or Error Message. Click the same cell again, or the close button, to hide it.
Matrix cells use these symbols; hovering a cell shows the step name, its status, and the exit code (or the reason a step was skipped):
| Symbol | Step result on that machine |
|---|---|
✓ | Completed |
▶ | Running |
✗ | Failed |
— | Skipped — for example, the step’s OS or PowerShell condition did not match (see Deployment Package Steps) |
• | Pending — the step has not run on that machine yet |
The View History button in the detail header opens the same execution on the Deployment History screen.
Deployment History (execution log)#
Deployment History (eyebrow Execution log) lists finished executions with status Completed, Failed, Cancelled, or Partial Success, most recently completed first. Use the status drop-down to show only one of those states (All Statuses shows all four). The table is paged; the page size follows the default page size in General Settings.
| Column | Meaning |
|---|---|
| Name | The deployment name. Click it to open the execution record. |
| Package | The package that was deployed. |
| Agents | Machines that succeeded, machines that failed, and the total targeted (succeeded · failed / total). |
| Status | The overall result. How it is decided is explained in Deployment Timeouts. |
| Completed At | When the execution finished. |
| Actions | View, and Delete for users with deployments.manage. |
Unlike the Active board, the history view is a snapshot taken when the page loads. Use the refresh button to reload it.
Execution record: per-machine, per-step results#
Opening an execution shows:
- Summary — package, Started At, Completed At, Duration, and Succeeded / Failed / Total machine counts.
- Agent Results — a split view. On the left, every targeted machine with its Progress (steps completed or skipped out of the package’s total) and status. Search by hostname with Search agents…, narrow the list with the status filter (Completed, Failed, Running, Pending), and reset both with the refresh button. The list is paged with the same page size as the main table.
- Step output — on the right. Selecting a machine expands its steps and opens step 1 automatically; click any other step to switch. You see the step status, its exit code, how long it took, and the captured Output and Error streams. A skipped step shows Skipped: and the reason. A step that never ran on that machine shows Step not executed, or the machine’s error message if it reported one — for example the timeout message written when a machine never reported back (see Deployment Timeouts).
Filter the Agent Results list to Failed, pick a machine, and open the step with the cross. The exit code and the Error stream are exactly what the installer or script returned on that machine. Compare them with the step’s success exit codes in the package (see Deployment Package Steps).
Deleting history#
Athena does not age out deployment history automatically. Finished executions stay until you
delete them. Users with deployments.manage have two options on the Deployment History
screen:
- Delete (per row) — permanently removes one execution and all of its machine and step results.
- Delete All (page header) — permanently removes every finished execution and its results.
Both ask for confirmation and cannot be undone. In addition:
- Executions that are still Pending, Scheduled, or Running are never deleted. A single delete is refused, and Delete All skips them.
- Each delete is written to the audit log as a Deployment event, with the user who performed it. Delete All is recorded with the number of executions it removed.
- Deleting a deployment package also deletes the execution history of that package.
If you need a record of deployment outcomes for change management or audits, copy or retrieve the results through the REST API (below) before using Delete All.
REST API#
The full result of any execution, active or finished, is available over the JWT-authenticated
REST API on port 8443. It requires the
packages.view permission.
| Endpoint | Returns |
|---|---|
GET api/deployment-packages/executions/{executionId} | The execution, including its overall status and counts, plus per-machine results and per-step results (exit code, output, error output, timings, skip reason). 404 if the execution does not exist, for example because it was deleted. |
The execution ID is returned when you start a deployment
(POST api/deployment-packages/{id}/deploy, or
Start-AthenaDeploymentPackageDeployment in PowerShell). It is also the last part of the
address when you have the execution open in the console.
# Fetch one execution with all machine and step results
curl -k -H "Authorization: Bearer <token>" \
https://athena.example.com:8443/api/deployment-packages/executions/<executionId>
Useful fields in the returned execution include:
| Level | Fields |
|---|---|
| Execution | name, packageName, status, totalSteps, stepNames, currentStep, totalAgents, completedAgents, failedAgents, runningAgents, progressPercent, createdBy, scheduledAt, startedAt, completedAt, agentResults |
Per machine (agentResults[]) | agentId, agentHostname, status, startedAt, completedAt, errorMessage, stepResults |
Per step (stepResults[]) | stepOrder, stepName, status, exitCode, output, errorOutput, errorMessage, startedAt, completedAt, skipped, skipReason |
Troubleshooting#
| Symptom | Explanation / what to do |
|---|---|
| A deployment I just started is not in Deployment History | History only lists finished executions. While it is Pending, Scheduled, or Running, it is on Active Deployments. |
| No Start, Cancel, or Delete buttons | Your role lacks deployments.manage. You can still view everything with deployments.view. |
| Start does nothing and an error about the license appears | The license does not currently allow new work. The execution stays Pending. Renew the license and start it again (see Licensing). |
| An execution stays Running because some machines are offline | Cancel it, or let the deployment timeout finalize it. Machines that never report are then recorded as failed (see Deployment Timeouts). |
| Delete is refused for an execution | It is still Pending, Scheduled, or Running. Cancel it first, then delete it from history. |
| A machine shows Step not executed | That step never ran on the machine. Usually an earlier step failed or the machine did not report. Check the earlier steps and the machine’s error message. |
Related#
- Software Deployment — build, target, and schedule deployments.
- Deployment Package Steps — step conditions, success exit codes, and continue-on-error.
- Deployment Timeouts — how stuck executions are finalized and how the overall status is decided.
- Permission Model & Role Bundles — granting
deployments.view/manage/execute. - Audit Event Types Reference — deployment events in the audit log.