Skip to content

[BUG] Crash when trying to open a running subagent task (session).  #16773

Closed as not planned

Description

@tppawelgrzesik

Description

Opencode Windows App v1.2.23

Crash when trying to open a running subagent task (session).

TypeError: Cannot read properties of undefined (reading 'id') at Object.fn (http://tauri.localhost/assets/session-KAFPVhKD.js:14:83743) at runComputation (http://tauri.localhost/assets/index-DT-8x8ul.js:1:6735) at updateComputation (http://tauri.localhost/assets/index-DT-8x8ul.js:1:6483) at runTop (http://tauri.localhost/assets/index-DT-8x8ul.js:1:7917) at runQueue (http://tauri.localhost/assets/index-DT-8x8ul.js:1:8818) at completeUpdates (http://tauri.localhost/assets/index-DT-8x8ul.js:1:8191) at runUpdates (http://tauri.localhost/assets/index-DT-8x8ul.js:1:8108) at batch (http://tauri.localhost/assets/index-DT-8x8ul.js:1:3650) at flush (http://tauri.localhost/assets/index-CKv-cuY4.js:2306:44654)

Plugins

No response

OpenCode version

1.2.23

Steps to reproduce

  • I task a primary agent with a task
  • Primary delegates the task to a general subagent
  • Now I try to open the subagent session by clicking on the task label. Error can happen.

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on Mar 9, 2026

    @github-actions
    Contributor

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

  2. changed the title [-][BUG][/-] [+][BUG] Crash when trying to open a running subagent task (session). [/+] on Mar 9, 2026
  3. tppawelgrzesik commented on Mar 16, 2026

    @tppawelgrzesik
    Author

    This still exists in v1.2.27
    @nexxeln I think it's critical as it keeps crashing the client often when trying to access the subagents tasks. Are you looking into this?

  4. chris-hatton commented on Mar 18, 2026

    @chris-hatton

    All the time... I can't live like this. Seeking alternatives.

  5. tppawelgrzesik commented on Mar 19, 2026

    @tppawelgrzesik
    Author

    @adamdotdevin do you know if there is any on-going effort to fix this ?

  6. chris-hatton commented on Apr 21, 2026

    @chris-hatton

    Possibly related to #16323

  7. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  8. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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