Executions list: show what a command ran and on which worker #76

Merged
jared merged 2 commits from execution-summaries into main 2026-11-23 13:36:18 -05:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d7d1381259 - Show all commits

No files matched your search

+1 -1
View File
@@ -254,7 +254,7 @@ html[data-theme="light"] .ex-row.is-selected td { background: rgba(255, 179, 0,
/* Command executions in the list: `command @ worker` (#15). */
.ex-row-cmd {
display: inline-block;
max-width: 32rem;
max-width: min(24rem, 100%);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
+1 -1
View File
@@ -1697,7 +1697,7 @@ app.get('/api/executions', authenticateSSO, async (req, res) => {
`SELECT e.id, e.workflow_id, e.status, e.started_by, e.started_at, e.completed_at,
w.name as workflow_name,
-- What a command execution ran, and where (#15): its first log entry.
IF(e.workflow_id IS NULL, LEFT(JSON_UNQUOTE(JSON_EXTRACT(e.logs, '$[0].command')), 120), NULL) AS command,
IF(e.workflow_id IS NULL, LEFT(JSON_UNQUOTE(JSON_EXTRACT(e.logs, '$[0].command')), 500), NULL) AS command,
IF(e.workflow_id IS NULL, wk.name, NULL) AS worker_name
FROM executions e
LEFT JOIN workflows w ON e.workflow_id = w.id