[PR #9495] fix: don't update session timestamp for metadata-only changes (resolves #9494) #13127

Closed
opened 2026-02-16 18:18:00 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9495

State: closed
Merged: Yes


What does this PR do?

Adds optional { touch: false } parameter to Session.update() to skip automatic timestamp updates. Applied to:

  • Title changes (rename)
  • Archived changes
  • Share/unshare
  • Auto-generated titles

Employing this new parameter in packages/opencode/src/server/routes/session.ts resolves #9494, resulting in sessions not immediately (and perhaps unexpectedly) rising to the top of the session_list when renamed.

How did you verify your code works?

Manual A/B testing

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9495 **State:** closed **Merged:** Yes --- ### What does this PR do? Adds optional { touch: false } parameter to Session.update() to skip automatic timestamp updates. Applied to: - Title changes (rename) - Archived changes - Share/unshare - Auto-generated titles Employing this new parameter in `packages/opencode/src/server/routes/session.ts` resolves #9494, resulting in sessions not immediately (and perhaps unexpectedly) rising to the top of the `session_list` when renamed. ### How did you verify your code works? Manual A/B testing
yindo added the pull-request label 2026-02-16 18:18:00 -05:00
yindo closed this issue 2026-02-16 18:18:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13127