anomalyco / anomalyco/opencode
Session defect errors are not surfaced or rendered concisely
@Hona is already working on this.
Since Aug 14, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Unexpected session defects have two user-visible failure modes: before propagation, the session goes idle without an error; after propagation is fixed, the UI can show the entire stack trace in the error card. The complete fix must propagate the error before idle, persist it on the assistant message, and show a concise message while retaining full details in logs.
This is the follow-up acceptance issue for the end-to-end behavior addressed by PR #42516, which includes the propagation work from #42253.
Plugins
None required.
OpenCode version
1.18.18
Steps to reproduce
- Open a project in the web UI.
- Create a session.
- Trigger a session defect, such as sending a prompt after the workspace path disappears.
- Observe the session timeline.
Expected behavior
The defect reaches the UI before the session becomes idle, is persisted on the assistant message, and appears as a concise error card. The full cause remains available in server logs.
Operating System
Linux
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.