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] Session list fails to load; only "Load More" shown + MaxListenersExceededWarning in console · Issue #30856 · anomalyco/opencode

[Web UI] Session list fails to load; only "Load More" shown + MaxListenersExceededWarning in console #30856

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[Web UI] Session list fails to load; only "Load More" shown + MaxListenersExceededWarning in console#30856
Copy link
Assignees
Hona

Description

@zhengxingjian
zhengxingjian
opened on Jun 5, 2026
Issue body actions

Description

When launching OpenCode Web with:
opencode web --port 4096 --hostname 0.0.0.0

the session list does not render. The UI only displays a "Load More" button, which has no effect when clicked.

The browser DevTools Network tab shows successful API requests (e.g., GET /api/sessions returns 200 with valid JSON data).
However, no sessions appear in the UI, and there are no JavaScript errors in the console.
Instead, the backend/console repeatedly logs the following warning:

MaxListenersExceededWarning: Possible EventTarget memory leak detected.
11 event listeners added to [lM]. MaxListeners is undefined. Use events.setMaxListeners() to increase limit.
at overflowWarning (node:events:185:19)
at addListener (node:events:158:22)
at ~effect/Effect/evaluate (B:/~BUN/root/chunk-b5f5vtdp.js:25:4492)
...

This suggests a potential memory leak due to uncleaned event listeners in reactive effects (likely from the frontend framework used).

Environment
OpenCode version: 1.15.12
OS: [Windows 10 ]
Browser: [ Chrome 125 ]

Steps to Reproduce
Run opencode web --port 4096 --hostname 0.0.0.0
Open http://:4096 in browser
Observe empty session area with only "Load More" button
Click "Load More" → no visual update
Check backend logs or browser console for MaxListenersExceededWarning

Expected Behavior
Historical sessions should load and display correctly.

Additional Notes
The presence of ~effect/Effect/evaluate in the stack trace implies that reactive side effects (e.g., from SolidJS, Preact, or similar) may be adding event listeners without proper cleanup on component unmount.
This issue occurs consistently on every page load.
Clearing browser cache or using incognito mode does not resolve it.

Feel free to fill in your OS and browser details before submitting. This report includes all necessary technical context for the maintainers to investigate both the UI rendering failure and the underlying event listener leak.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Reacted by Vitaliy Stoliarov

Activity

  1. github-actions
    assigned
    Hona
    on Jun 5, 2026
  2. github-actions commented on Jun 5, 2026

    @github-actions
    github-actionsBot
    on Jun 5, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • Web UI session list shows only New session + Load more for a directory with existing sessions #30801: Web UI session list shows only "New session" + "Load more" for a directory with existing sessions — same symptom of sessions not appearing in web UI sidebar with only the Load More button visible
    • Session list "Load More" pagination broken when filtering by directory #30109: Session list "Load More" pagination broken when filtering by directory — covers the Load More button having no effect in the web UI
    • [Regression] Historical chat sessions disappear after upgrading from v1.15.11 to v1.15.13 when using opencode web #30054: Historical chat sessions disappear after upgrading from v1.15.11 to v1.15.13 when using opencode web — similar symptom of sessions not rendering in the web UI

    Please review these issues to see if your report is already covered, and consider adding any additional context (such as the MaxListenersExceededWarning stack trace) as a comment on an existing issue if it matches your situation.

  3. github-actions commented on Aug 5, 2026

    @github-actions
    github-actionsBot
    on Aug 5, 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.

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

Metadata

Metadata

Assignees

  • @Hona
    Hona

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.