Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/codex/scripts/lib/render.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function appendActiveJobsTable(lines, jobs) {
actions.push(`/codex:cancel ${job.id}`);
}
lines.push(
`| ${escapeMarkdownCell(job.id)} | ${escapeMarkdownCell(job.kindLabel)} | ${escapeMarkdownCell(job.status)} | ${escapeMarkdownCell(job.phase ?? "")} | ${escapeMarkdownCell(job.elapsed ?? "")} | ${escapeMarkdownCell(job.threadId ?? "")} | ${escapeMarkdownCell(job.summary ?? "")} | ${actions.map((action) => `\`${action}\``).join("<br>")} |`
`| ${escapeMarkdownCell(job.id)} | ${escapeMarkdownCell(job.kindLabel)} | ${escapeMarkdownCell(job.status)} | ${escapeMarkdownCell(job.phase ?? "")} | ${escapeMarkdownCell(job.elapsed ?? "")} | ${escapeMarkdownCell(job.threadId ?? "")} | ${escapeMarkdownCell(job.summary ?? "")} | ${actions.map((action) => `\`${action}\``).join("; ")} |`
);
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/runtime.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,8 @@ test("status shows phases, hints, and the latest finished job", () => {
assert.match(result.stdout, /Active jobs:/);
assert.match(result.stdout, /\| Job \| Kind \| Status \| Phase \| Elapsed \| Codex Session ID \| Summary \| Actions \|/);
assert.match(result.stdout, /\| review-live \| review \| running \| reviewing \| .* \| thr_1 \| Review working tree diff \|/);
assert.match(result.stdout, /`\/codex:status review-live`<br>`\/codex:cancel review-live`/);
assert.match(result.stdout, /`\/codex:status review-live`; `\/codex:cancel review-live`/);
assert.doesNotMatch(result.stdout, /<br>/);
assert.match(result.stdout, /Live details:/);
assert.match(result.stdout, /Latest finished:/);
assert.match(result.stdout, /Progress:/);
Expand Down