Skip to content

V2 design, after remove session, lead UI break #29323

@Eric-Guo

Description

@Eric-Guo

Description

Error: Session not found: ses_1aa690d73ffeSP8w6s4JdUFREo
    at wrapClientError (http://localhost:5173/@fs/Users/guochunzhong/git/oss/opencode/packages/sdk/js/src/error-interceptor.ts:7:12)
    at request (http://localhost:5173/@fs/Users/guochunzhong/git/oss/opencode/packages/sdk/js/src/v2/gen/client/client.gen.ts:157:28)
    at async retry (http://localhost:5173/@fs/Users/guochunzhong/git/oss/opencode/packages/core/src/util/retry.ts:21:14)
    at async Promise.all (index 0)
    at async http://localhost:5173/@fs/Users/guochunzhong/git/oss/opencode/packages/app/src/context/directory-sync.ts:393:11



────────────────────────────────────────
原因:
{
  "body": {
    "name": "NotFoundError",
    "data": {
      "message": "Session not found: ses_1aa690d73ffeSP8w6s4JdUFREo"
    }
  },
  "status": 404
}

Plugins

n/a

OpenCode version

main

Steps to reproduce

  1. Create first sessions, say 'HELLO'
  2. Create second session, say 'Goodbye'
  3. Create third session, say 'OpenCode'
  4. Switch to second session and delete 'Goodbye'

Now will got reported UI break.

Screenshot and/or share link

No response

Operating System

macOS

Terminal

N/A

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions