[web] Archiving a session works, but session list in sidebar becomes stale #5845

Closed
opened 2026-02-16 17:57:29 -05:00 by yindo · 0 comments
Owner

Originally created by @ekweible on GitHub (Jan 14, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

Current behavior

Archived sessions remain in the session list until page refresh

Expected behavior

Session is removed from the sidebar list after the archive request succeeds (without a page refresh)

Plugins

None

OpenCode version

1.1.20

Steps to reproduce

  1. opencode serve
  2. Open a project with sessions
  3. Click the "archive" icon button in the sidebar for any session
  4. PATCH request to server returns 200 OK
  5. Session remains in the sidebar list (in fact, it moves to the top because it now has the most recent update)
  6. Refresh page
  7. See that the archived session is now gone, as expected

Screenshot and/or share link

No response

Operating System

macOS Tahoe 26.2

Terminal

No response

Originally created by @ekweible on GitHub (Jan 14, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description ## Current behavior Archived sessions remain in the session list until page refresh ## Expected behavior Session is removed from the sidebar list after the archive request succeeds (without a page refresh) ### Plugins None ### OpenCode version 1.1.20 ### Steps to reproduce 1. `opencode serve` 2. Open a project with sessions 3. Click the "archive" icon button in the sidebar for any session 4. PATCH request to server returns 200 OK 5. Session remains in the sidebar list (in fact, it moves to the top because it now has the most recent update) 6. Refresh page 7. See that the archived session is now gone, as expected ### Screenshot and/or share link _No response_ ### Operating System macOS Tahoe 26.2 ### Terminal _No response_
yindo added the bugweb labels 2026-02-16 17:57:29 -05:00
yindo closed this issue 2026-02-16 17:57:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5845