Skip to content

Home sessions hidden from /sessions in global project #29581

@cagedbird043

Description

@cagedbird043

Description

Opening opencode from the home directory can make /sessions hide older home sessions.

In the failing case the TUI session query used path=home/cagedbird. Older home sessions in the database had directory=/home/cagedbird and an empty path, so they were filtered out even though opencode session list and the session API could still return them.

Plugins

rtk, opencode-browser

OpenCode version

1.15.11

Steps to reproduce

  1. Have existing home sessions stored with directory=$HOME and empty path.
  2. Open opencode from $HOME.
  3. Open /sessions.
  4. Some home sessions are missing.

Screenshot and/or share link

Not available. Local logging showed the dialog query was {"path":"home/cagedbird"} while the missing session had path=''.

Operating System

Arch Linux

Terminal

Konsole / zsh

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