You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
review-pane: video preview from browser.preview not rendered until window reload (Ctrl+R) #51862
browser.preview with a video (MP4) path returns success, but the Review pane stays blank; the video only renders after reloading the client window (Ctrl+R) or restarting the client. Reproduced consistently for videos; images are affected only intermittently.
Environment
opencode version: CLI v2.0.15, background service /api/info reports 2.0.18 (mismatch)
OS: Windows_NT 10.0.26200 (Win32NT x64)
Terminal: desktop client; TERM=xterm-256color
Shell: C:\Windows\system32\cmd.exe
Install/channel: release (latest)
Active plugins: none found in config
Reproduction
With the desktop client window open, call browser.preview({path}) with a local MP4 path (e.g. a local video.mp4, 0.7 MB).
The queued video preview renders immediately and plays.
Expected Behavior
The video preview should render in the Review pane as soon as browser.preview returns; no window reload required.
Actual Behavior
For videos the preview event appears to be dropped by the client window every time observed: the tool layer succeeds but nothing renders until Ctrl+R, after which the queued preview shows up. Full client restart also works as a heavier fallback. PNG previews are mostly fine but were observed blank at least once and recovered the same way.
Additional Context
Frequency: video — reproducible on every attempt observed (multiple rounds on 2026-09-28); image — intermittent (mostly rendered fine, one blank case).
After a window reload, subsequent previews worked in real time for a while, then dropped again later in the session.
Related server log noise in opencode.log (run 99887e53, role=server):
92 entries with http.status=499 and InterruptError: All fibers interrupted without error at Rpc.call / AppProcess.run
479 failed to capture snapshot warnings: Unable to create '...snapshot/global/<id>/index.lock': File exists — concurrent git processes (rm --cached / diff-files) racing on the snapshot repo lock. Not confirmed as the root cause, but same client–server sync window.
Workarounds tried: re-calling browser.preview (fails again for video), Ctrl+R (works), opencode service status + opencode api get /api/info both healthy.
Please use the Bug Report template and include its required Description field. The current body has a useful summary and reproduction steps, but does not include the template's required Description field.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
#8221: requested video previews in the review tab.
For keybind-related issues, please also check our pinned keybinds documentation: #4997
If you believe this was flagged incorrectly, please let a maintainer know.
Activity
github-actions commentedon Sep 28, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
For keybind-related issues, please also check our pinned keybinds documentation: #4997
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Sep 28, 2026
This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.
Feel free to open a new issue that follows our issue templates.