Skip to content

[FEATURE]: Show message/run start and completion timestamps with millisecond precision #35348

Closed as not planned

Description

@ShreeMulay
  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

OpenCode already shows how long a turn/run took, and the TUI has a /timestamps toggle for message creation times. I would like an option to show the exact start and completion timestamps for a turn/run directly in the TUI and/or web UI.

Desired display:

  • Start timestamp with full date and local time down to milliseconds
  • Completion timestamp when the run finishes, also down to milliseconds
  • Existing duration can remain, but should be paired with the explicit start/end times

Example:

Started:   2026-07-04 14:32:18.427
Completed: 2026-07-04 14:35:02.913
Duration:  2m 44.486s

Why this would be useful

When reviewing sessions later, it is helpful to know not just how long something took, but exactly when it started and when it completed. This is especially useful for:

  1. Tracking when work was completed from the UI/front-end side
  2. Correlating OpenCode activity with git commits, CI logs, deploys, terminal output, and external incidents
  3. Reviewing long sessions where several runs happen close together
  4. Auditing/debugging tool calls and assistant turns with precise wall-clock timing

Related but narrower issues

This request is specifically for visible start and completion timestamps with millisecond precision, not only creation time or duration.

Implementation notes

The message data already appears to include millisecond-level timing fields such as created/completed times, since OpenCode can calculate durations. This may primarily be a display/configuration feature rather than a new data model requirement.

Possible UI approaches:

  • Add an expanded timestamp mode behind /timestamps
  • Add a config option for timestamp precision/format
  • Show full details on hover/focus/expanded message metadata
  • Add a compact line under each completed assistant turn: 2026-07-04 14:32:18.427 → 14:35:02.913 · 2m44.486s

Activity

  1. ShreeMulay commented on Jul 4, 2026

    @ShreeMulay
    Author

    Follow-up from testing on OpenCode v1.17.13:

    • /timestamps does work in the TUI on my local install.
    • It appears to show only time for today’s messages, with no date.
    • It still does not show a completion timestamp or millisecond precision.

    So the current built-in behavior is useful, but it does not cover the workflow this request is aimed at: visibly knowing exactly when a turn/run started and exactly when it completed, with a full local date/time and enough precision to correlate against git/CI/deploy/log events.

  2. RoySalisbury commented on Aug 3, 2026

    @RoySalisbury

    I'd like to break this down even more. Not just for a session, but for each step within have start/end timestamps (maybe even an elapsed time)Sometimes it had to know if a session stalled and needs to be "kicked" to continue. Looking at timestamps let me know that its been doing the same tak for 45 min and is probable stuck. I've had times where a something failed, and noting was happeing for over an hour, but the session showed it still running. Id start a new session and have it look at the logs and processes to see what was going on and if I should cancel it and then re-prompt it to recover the session work.

  3. dved123 commented on Aug 6, 2026

    @dved123

    This really needs doing, hard to believe people are blaze about it since the first requests 6 months ago...

  4. added a commit that references this issue on Aug 7, 2026
    d57ccec
  5. github-actions commented on Oct 7, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions