Skip to content

Session archive, delete, rename, and question reply block on API response #27911

Closed as not planned

Description

@BYK

Describe the bug

Session management operations (archive, delete, rename) and question replies await the API response before updating the UI, causing perceived latency:

  • Archive/Delete: waits for the server response before removing the session from the sidebar and navigating away
  • Rename: waits for the server response before updating the title in the sidebar
  • Question reply/reject: uses mutateAsync and awaits, even though the dock is already dismissed by onMutate

Steps to reproduce

  1. Open the web UI on a slow connection
  2. Archive or delete a session
  3. Observe the delay before the session disappears from the sidebar

Expected behavior

All operations should update the UI optimistically (immediately) and rollback on API error.

System info

  • OpenCode version: v1.15.3
  • OS: Linux

Activity

  1. github-actions commented on Jul 16, 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