### Description - Fix performance issue with `/session/session/:id/status` endpoint taking 2.5 minutes to return 1.2MB of data - Add pagination to status endpoint to prevent loading entire session history - Implement caching for frequently accessed session status data ## Issue The `/session/:id/status` endpoint is extremely slow, taking 2.5 minutes to return 1.198kB of data during initial desktop client loading ## Changes - Added pagination parameters to status endpoint - Implemented response caching - Added data limits to prevent large payloads ## Testing - Verified status endpoint now returns in <200ms - Tested with large session histories - Confirmed desktop client loads properly ### OpenCode version 1.0.107 ### Steps to reproduce 1. Start 'opencode web.' 2. open web server 3. Wait for the Status response to load ### Screenshot and/or share link <img width="1920" height="919" alt="Image" src="https://github.com/user-attachments/assets/f51f61fc-b2dd-4745-8d88-788812e70f83" /> ### Operating System WSL ### Terminal Wezterm
Activity
github-actions commentedon Nov 26, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case or if this is a distinct performance regression with the status endpoint specifically.
adamdotdevin commentedon Dec 16, 2025
Closing as we've made a ton of changes since this was opened and launched our beta yesterday, let me know if you hit any issues on latest.