Updating a session's metadata ought not update the timestamp #6857

Closed
opened 2026-02-16 18:05:26 -05:00 by yindo · 1 comment
Owner

Originally created by @ariane-emory on GitHub (Jan 19, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When a session's metadata is updated, for example, when it is renamed in the session_list dialog, its timestamp is updated, causing it to move to the top of the list.

This ought not happen: when I rename a session, it would be more predictable for it to remain in the same position in the session_list.

Plugins

None

OpenCode version

1.1.25

Steps to reproduce

  1. Open the session_list dialog.
  2. Rename a session.
  3. Observe that it has moved to the top of the list.

Screenshot and/or share link

No response

Operating System

MacOS Sequoia latest

Terminal

iTerm2

Originally created by @ariane-emory on GitHub (Jan 19, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When a session's metadata is updated, for example, when it is renamed in the `session_list dialog`, its timestamp is updated, causing it to move to the top of the list. This ought not happen: when I rename a session, it would be more predictable for it to remain in the same position in the `session_list`. ### Plugins None ### OpenCode version 1.1.25 ### Steps to reproduce 1. Open the `session_list` dialog. 2. Rename a session. 3. Observe that it has moved to the top of the list. ### Screenshot and/or share link _No response_ ### Operating System MacOS Sequoia latest ### Terminal iTerm2
yindo added the bug label 2026-02-16 18:05:26 -05:00
yindo closed this issue 2026-02-16 18:05:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 19, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #9489: In session_list, long session titles can cause an unnecessary empty line to be inserted
  • #9025: Session timestamps display in UTC instead of local time

The #9489 issue also involves the session_list dialog behavior after renaming sessions. Additionally, #9025 deals with session timestamp handling which might share the same code path that's causing the metadata update to affect timestamps.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be a duplicate of existing issues. Please check: - #9489: In session_list, long session titles can cause an unnecessary empty line to be inserted - #9025: Session timestamps display in UTC instead of local time The #9489 issue also involves the session_list dialog behavior after renaming sessions. Additionally, #9025 deals with session timestamp handling which might share the same code path that's causing the metadata update to affect timestamps. Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6857