Skip to content

Slow to open Opencode window when session is really, really long. #137

Closed
1 of 1 issue completed
Closed

Description

@Atan-D-RP4

I think your synchronously reading the files of a session which blocks the UI when the session gets super long.

You should do the file reads asynchronously so the UI is not blocked.

251210_21h34m40s_recording.mp4

Activity

  1. sudo-tee commented on Dec 10, 2025

    @sudo-tee
    Owner

    Thanks for the report

    There is already an issue about it #133

    And we are actively working on it at the moment in the pr #134

    If you have time to test the PR and see if it resolves the issue it would be greatly appreciated

  2. Atan-D-RP4 commented on Dec 10, 2025

    @Atan-D-RP4
    Author

    That's great! Will check it out and see if I can help out.

    Though I'm curious why you're creating and maintaining you're own async promise primitives when you're pulling in plenary which has pretty a nice library for those AFAIK.

    Main thought is performance.

  3. sudo-tee commented on Dec 10, 2025

    @sudo-tee
    Owner

    Fair point. I actually plan to remove the dependency since we only use it for the Path.

    For the async I only needed a subset of the functionally so I decided to imement it in the simplest way I could think of

  4. added a commit that references this issue on Dec 11, 2025
    6094564
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions