GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Web UI not showing my sessions · Issue #10519 · anomalyco/opencode

Web UI not showing my sessions #10519

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Web UI not showing my sessions#10519
Copy link
Assignees
adamdotdevin

Description

@Altamimi-Dev
Altamimi-Dev
opened on Jan 25, 2026
Issue body actions

Description

For about 3 weeks the web UI stopped recording my sessions in it only my old sessions and projects.
all new projects and sessions are not showing.

Plugins

opencode-anthropic-auth

OpenCode version

1.1.35

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOs taho

Terminal

No response

Reacted by jjohnson1024, Chris Denneen, Clemens Damke, Cameron Larsen, Tequila Sunset, Gaetan Marecat, Cropse, ayamkv, Esa-Matti Suuronen, Gerald Abraham Sianturi and 2 more

Activity

  1. Altamimi-Dev
    added
    bugSomething isn't working
    on Jan 25, 2026
  2. github-actions
    assigned
    adamdotdevin
    on Jan 25, 2026
  3. github-actions
    added
    webRelates to opencode on web / desktop
    on Jan 25, 2026
  4. github-actions commented on Jan 25, 2026

    @github-actions
    github-actionsBot
    on Jan 25, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Sessions not visible across platforms when syncing data directory (cross-platform session visibility) #10349: Sessions not visible across platforms when syncing data directory
    • Session list not updating w/ opencode run #7784: Session list not updating with new sessions created via CLI
    • /sessions shows empty despite sessions existing in storage (v0.14.6) #3026: Sessions show empty despite existing in storage
    • session list is showing all sessions not only the ones scopes to the curent dir #8836: Session list showing all sessions instead of scoped sessions

    Feel free to ignore if none of these address your specific case.

  5. brunnerh commented on Jan 27, 2026

    @brunnerh
    brunnerh
    on Jan 27, 2026
    More actions

    Not sure if this is exactly the same issue (because different OS), but sessions started in the TUI are not showing up for me in the Web UI on Windows. Sessions created in the Web UI do show up in the TUI alongside the TUI sessions.

    It might have to do with directory path handling.
    The session files have different paths for the same directory on Windows:

    E.g.

    // Web UI session
    {
      "id": "ses_...",
      "slug": "quiet-canyon",
      "version": "1.1.36",
      "projectID": "[same-project-id-here]",
      "directory": "D:/brunnerh/Project/Code",
      ...
    }
    // TUI session
    {
      "id": "ses_...",
      "slug": "quick-circuit",
      "version": "1.1.36",
      "projectID": "[same-project-id-here]",
      "directory": "D:\\brunnerh\\Project\\Code",
      ...
    }

    Trying to open a project using \ in the path via the Web UI also does not list any directories, so it kind of makes sense that the directory path gets stored differently. Also wondering why the directory is being used when there is a projectID that matches.

    Some LLM exploration that identifies the path handling as an issue:

    Response

    Found a likely root cause: the web app requests sessions filtered by an exact directory string, but sessions are stored with the current working directory at creation time, so any mismatch (subdirectory vs project root, path casing, symlink path, etc.) makes the list come back empty even though sessions exist.

    Here’s the chain:

    • Sessions are stored with directory: Instance.directory at creation time (packages/opencode/src/session/index.ts:140-206).
    • The API list route filters by exact match when directory is provided (packages/opencode/src/server/routes/session.ts:55-63).
    • The web UI calls globalSDK.client.session.list({ directory, roots: true }) using the project’s worktree (or sandbox) path, not necessarily the exact directory where the session was created (packages/app/src/context/global-sync.tsx:379-410, packages/app/src/context/layout.tsx:383-387, packages/app/src/pages/layout.tsx:1454-1470).
    • The server also uses that same directory query param to select the instance (packages/opencode/src/server/server.ts:124-139), so you still get the right project, but then the route filters out sessions whose stored session.directory doesn’t exactly match the worktree.

    Typical failure case: a session was created from a subdirectory (/repo/packages/foo), but the web list request uses /repo as the directory filter, so it doesn’t match.

    Potential fixes (any one of these should resolve it):

    1. Don’t pass the directory filter when listing sessions in the web UI (still pass the directory for instance selection via header/query at the SDK level).
    2. Normalize paths (e.g., path.resolve, case normalization on Windows) before comparing.
    3. Change the server filter to allow prefix/containment (e.g., treat sessions as part of the project if session.directory is inside the worktree).
    4. Store session.directory as the project worktree instead of the current directory.
    Reacted by CurryPseudo, Kevin McBride, Brent D'Adamo, Egil Sandfeld, horakmi2, hiterm, Cameron Larsen, Adam Gustafson and Gerald Abraham Sianturi
  6. InCerryGit commented on Feb 11, 2026

    @InCerryGit
    InCerryGit
    on Feb 11, 2026
    More actions

    same issue.

    Reacted by horakmi2, Clemens Damke, Cameron Larsen, Adam Gustafson, Gaetan Marecat, ayamkv, Ubastic, Duckida, Gerald Abraham Sianturi, ItsNil and 2 more
  7. sharno commented on Feb 27, 2026

    @sharno
    sharno
    on Feb 27, 2026
    More actions

    Same here and I think even sessions started on the web from different devices don't appear in different browsers. Running it on Windows too, in Powershell outside of WSL

  8. cropse commented on Mar 25, 2026

    @cropse
    cropse
    on Mar 25, 2026
    More actions

    Issue still, sometime it appears sometime it doesn't

  9. thdxr
    removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  10. goedzo commented on Jun 9, 2026

    @goedzo
    goedzo
    on Jun 9, 2026
    More actions

    I also have this issue. My sessions are not always showing up in the webui when I host it on an external URL (password protected).

    When I run npx opencode-ai@latest session list --max-count 5000 --format table I see all the sessions.

  11. shmygol commented on Jun 13, 2026

    @shmygol
    shmygol
    on Jun 13, 2026
    More actions

    Similar issue and in my case seems like a frontend problem, because the sessions sometimes don't show up for one web client while showing up for another (e.g. on mobile browser). Workaround seems to be working without restarting the server: close the projects, refresh the page, open the project again (if it hasn't appeared magically itself).

  12. github-actions commented on Aug 13, 2026

    @github-actions
    github-actionsBot
    on Aug 13, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  13. github-actions
    closed this as not plannedon Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @adamdotdevin
    adamdotdevin

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.