jobs: show completion timestamp for done/failed jobs #21

Merged
zgaetano merged 1 commit from polish/jobs-completed-stamp into main 2026-05-23 15:29:38 -04:00
Owner

Summary

Follow-up to #20. The Jobs queue Time column now shows the absolute wall-clock time when a job is in a terminal state, alongside the relative time:

  • Done: done 2:23 PM · 5m ago (or done May 22 · 2:23 PM · 1d ago for older days)
  • Failed: failed May 22 · 2:24 PM · 1d ago
  • Queued / Running: unchanged — relative only, since their anchor timestamp is constantly moving

Full ISO datetime stays on hover via the title tooltip. Column widened from 130px → 180px to fit the longer label.

Test plan

  • Queue a job — Time column shows queued Ns ago
  • Wait for a job to complete — Time column shows done HH:MM · Ns ago
  • Trigger a failure — Time column shows failed HH:MM · Ns ago
  • Older job (>24h) shows the date prefix (e.g. done May 22 · 2:23 PM · 1d ago)

🤖 Generated with Claude Code

## Summary Follow-up to #20. The Jobs queue Time column now shows the absolute wall-clock time when a job is in a terminal state, alongside the relative time: - **Done:** `done 2:23 PM · 5m ago` (or `done May 22 · 2:23 PM · 1d ago` for older days) - **Failed:** `failed May 22 · 2:24 PM · 1d ago` - **Queued / Running:** unchanged — relative only, since their anchor timestamp is constantly moving Full ISO datetime stays on hover via the `title` tooltip. Column widened from 130px → 180px to fit the longer label. ## Test plan - [ ] Queue a job — Time column shows `queued Ns ago` - [ ] Wait for a job to complete — Time column shows `done HH:MM · Ns ago` - [ ] Trigger a failure — Time column shows `failed HH:MM · Ns ago` - [ ] Older job (>24h) shows the date prefix (e.g. `done May 22 · 2:23 PM · 1d ago`) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
zgaetano added 1 commit 2026-05-23 15:26:51 -04:00
The Time column now anchors on the wall clock when a job is in a terminal
state — "done 2:23 PM · 5m ago" / "failed May 22 · 14:24 · 1h ago" — so the
operator can correlate with logs and other timestamps without hovering.
Queued/running jobs keep the relative-only format since their timestamp is
constantly moving. Widen the column to 180px to accommodate the longer label.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
zgaetano merged commit 908cf8a62d into main 2026-05-23 15:29:38 -04:00
zgaetano deleted branch polish/jobs-completed-stamp 2026-05-23 15:29:38 -04:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: WildDragonLLC/dragonflight#21
No description provided.