[beta] process freezes after typing "/" #54

Closed
opened 2026-02-16 17:24:58 -05:00 by yindo · 9 comments
Owner

Originally created by @seatedro on GitHub (Jun 14, 2025).

Originally assigned to: @thdxr on GitHub.

After typing /, the application becomes completely unresponsive to further keyboard input

https://github.com/user-attachments/assets/7aad881a-e332-47ba-a22e-44e3508d18db

Expected Behavior

  • All keyboard input should remain responsive throughout the session
  • /model should work without breaking the input system
  • At the very least, ctrl-c should work

Current Behavior

  • Complete input freeze after entering / character
  • No error messages or feedback when input stops working
  • Unable to exit without pkill

Environment

  • Platform: macOS
  • OS Version: Sequoia 15.1
  • Shell: Fish
  • Terminal: Ghostty

Steps to Reproduce

  1. Launch the application
  2. Type / character
  3. Attempt to continue typing (input will be unresponsive)

Side note: The startup times are too long as well (~15 seconds or more, the video is in real time)

Originally created by @seatedro on GitHub (Jun 14, 2025). Originally assigned to: @thdxr on GitHub. After typing `/`, the application becomes completely unresponsive to further keyboard input https://github.com/user-attachments/assets/7aad881a-e332-47ba-a22e-44e3508d18db ## Expected Behavior - All keyboard input should remain responsive throughout the session - `/model` should work without breaking the input system - At the very least, `ctrl-c` should work ## Current Behavior - Complete input freeze after entering `/` character - No error messages or feedback when input stops working - Unable to exit without `pkill` ## Environment - Platform: macOS - OS Version: Sequoia 15.1 - Shell: Fish - Terminal: Ghostty ## Steps to Reproduce 1. Launch the application 2. Type `/` character 3. Attempt to continue typing (input will be unresponsive) ### Side note: The startup times are too long as well (~15 seconds or more, the video is in real time)
yindo closed this issue 2026-02-16 17:24:59 -05:00
Author
Owner

@thdxr commented on GitHub (Jun 14, 2025):

can you do opencode --print-logs so i can see where the lag is?

@thdxr commented on GitHub (Jun 14, 2025): can you do `opencode --print-logs` so i can see where the lag is?
Author
Owner

@seatedro commented on GitHub (Jun 14, 2025):

https://github.com/user-attachments/assets/6c1cba9d-d6aa-4589-98d6-9897db14914d

2025-06-14T05:27:06.572Z version=0.1.38 args=--print-logs opencode
2025-06-14T05:27:06.572Z service=app cwd=/Users/ro creating
2025-06-14T05:27:06.573Z service=app git
2025-06-14T05:27:06.576Z service=app name=provider registering service
2025-06-14T05:27:06.576Z service=app name=config registering service
2025-06-14T05:27:06.576Z service=config loaded
2025-06-14T05:27:06.577Z service=models.dev refreshing
2025-06-14T05:27:06.577Z service=provider loading
2025-06-14T05:27:06.577Z service=provider providerID=groq loaded
2025-06-14T05:27:06.577Z service=provider providerID=anthropic loaded
2025-06-14T05:27:06.577Z service=provider providerID=deepseek loaded
2025-06-14T05:27:06.577Z service=provider providerID=openai loaded
2025-06-14T05:27:06.577Z service=app name=share registering service
2025-06-14T05:27:06.577Z service=bus type=storage.write subscribing
2025-06-14T05:27:06.577Z service=app name=bus registering service
2025-06-14T05:27:06.598Z service=server method=POST path=/path_get request
2025-06-14T05:27:06.600Z service=server method=POST path=/app_info request
2025-06-14T05:27:06.600Z service=server method=POST path=/provider_list request
2025-06-14T05:27:06.602Z service=server method=POST path=/file_search request
2025-06-14T05:27:06.603Z service=fzf filepath=/opt/homebrew/bin/fzf found
2025-06-14T05:27:24.271Z service=server method=GET path=/event request
2025-06-14T05:27:24.271Z service=server event connected
2025-06-14T05:27:24.272Z service=bus type=* subscribing
2025-06-14T05:28:07.477Z service=bus type=* unsubscribing
2025-06-14T05:28:07.477Z service=server event disconnected
@seatedro commented on GitHub (Jun 14, 2025): https://github.com/user-attachments/assets/6c1cba9d-d6aa-4589-98d6-9897db14914d ``` 2025-06-14T05:27:06.572Z version=0.1.38 args=--print-logs opencode 2025-06-14T05:27:06.572Z service=app cwd=/Users/ro creating 2025-06-14T05:27:06.573Z service=app git 2025-06-14T05:27:06.576Z service=app name=provider registering service 2025-06-14T05:27:06.576Z service=app name=config registering service 2025-06-14T05:27:06.576Z service=config loaded 2025-06-14T05:27:06.577Z service=models.dev refreshing 2025-06-14T05:27:06.577Z service=provider loading 2025-06-14T05:27:06.577Z service=provider providerID=groq loaded 2025-06-14T05:27:06.577Z service=provider providerID=anthropic loaded 2025-06-14T05:27:06.577Z service=provider providerID=deepseek loaded 2025-06-14T05:27:06.577Z service=provider providerID=openai loaded 2025-06-14T05:27:06.577Z service=app name=share registering service 2025-06-14T05:27:06.577Z service=bus type=storage.write subscribing 2025-06-14T05:27:06.577Z service=app name=bus registering service 2025-06-14T05:27:06.598Z service=server method=POST path=/path_get request 2025-06-14T05:27:06.600Z service=server method=POST path=/app_info request 2025-06-14T05:27:06.600Z service=server method=POST path=/provider_list request 2025-06-14T05:27:06.602Z service=server method=POST path=/file_search request 2025-06-14T05:27:06.603Z service=fzf filepath=/opt/homebrew/bin/fzf found 2025-06-14T05:27:24.271Z service=server method=GET path=/event request 2025-06-14T05:27:24.271Z service=server event connected 2025-06-14T05:27:24.272Z service=bus type=* subscribing 2025-06-14T05:28:07.477Z service=bus type=* unsubscribing 2025-06-14T05:28:07.477Z service=server event disconnected ```
Author
Owner

@thdxr commented on GitHub (Jun 14, 2025):

ok it seems to be doing a blocking file search on start for some reason - extra slow since it's in your home dir

opening in a project should avoid the issue - we'll fix either way

@thdxr commented on GitHub (Jun 14, 2025): ok it seems to be doing a blocking file search on start for some reason - extra slow since it's in your home dir opening in a project should avoid the issue - we'll fix either way
Author
Owner

@seatedro commented on GitHub (Jun 14, 2025):

ah, fzf, might be good to throw a warning on start too if people open it up in home dir. I think i saw claude code do this

@seatedro commented on GitHub (Jun 14, 2025): ah, `fzf`, might be good to throw a warning on start too if people open it up in home dir. I think i saw claude code do this
Author
Owner

@thdxr commented on GitHub (Jun 14, 2025):

i actually open it in my home directory all the time because sometimes i need it to do something unrelated to a project

i pushed a mitigation in v0.1.39 but need to fix the underlying thing

@thdxr commented on GitHub (Jun 14, 2025): i actually open it in my home directory all the time because sometimes i need it to do something unrelated to a project i pushed a mitigation in v0.1.39 but need to fix the underlying thing
Author
Owner

@GeneCodeSavvy commented on GitHub (Jun 14, 2025):

ok it seems to be doing a blocking file search on start for some reason - extra slow since it's in your home dir

opening in a project should avoid the issue - we'll fix either way

I am having a similar experience inside a project directory.

https://github.com/user-attachments/assets/b88da30d-b752-4a52-b095-cee7e16f6a47

 ❯ opencode --print-logs
2025-06-14T15:41:08.556Z service=default version=0.1.40 args=--print-logs opencode
2025-06-14T15:41:08.557Z service=app cwd=/Users/harshsharma/Desktop/100xdevs/sbol/SBOL-Notebooks creating
2025-06-14T15:41:08.559Z service=app git=/Users/harshsharma/Desktop/100xdevs/sbol/SBOL-Notebooks git
2025-06-14T15:41:08.563Z service=app name=provider registering service
2025-06-14T15:41:08.563Z service=app name=config registering service
2025-06-14T15:41:08.563Z service=config loaded
2025-06-14T15:41:08.564Z service=models.dev refreshing
2025-06-14T15:41:08.565Z service=provider loading
2025-06-14T15:41:08.566Z service=provider providerID=google loaded
2025-06-14T15:41:08.566Z service=app name=share registering service
2025-06-14T15:41:08.566Z service=bus type=storage.write subscribing
2025-06-14T15:41:08.566Z service=app name=bus registering service
2025-06-14T15:41:08.647Z service=server method=POST path=/path_get request
2025-06-14T15:41:08.648Z service=server duration=1 response
2025-06-14T15:41:08.650Z service=server method=POST path=/app_info request
2025-06-14T15:41:08.650Z service=server duration=0 response
2025-06-14T15:41:08.651Z service=server method=POST path=/provider_list request
2025-06-14T15:41:08.651Z service=server duration=0 response
2025-06-14T15:41:08.654Z service=server method=POST path=/file_search request
2025-06-14T15:41:08.655Z service=fzf filepath=/opt/homebrew/bin/fzf found
2025-06-14T15:41:08.676Z service=fzf count=0 results
2025-06-14T15:41:08.676Z service=server duration=22 response
2025-06-14T15:41:08.677Z service=server method=GET path=/event request
2025-06-14T15:41:08.677Z service=server event connected
2025-06-14T15:41:08.679Z service=bus type=* subscribing
2025-06-14T15:41:08.680Z service=server duration=3 response
2025-06-14T15:41:30.591Z service=bus type=* unsubscribing
2025-06-14T15:41:30.591Z service=server event disconnected
@GeneCodeSavvy commented on GitHub (Jun 14, 2025): > ok it seems to be doing a blocking file search on start for some reason - extra slow since it's in your home dir > > opening in a project should avoid the issue - we'll fix either way I am having a similar experience inside a project directory. https://github.com/user-attachments/assets/b88da30d-b752-4a52-b095-cee7e16f6a47 ``` ❯ opencode --print-logs 2025-06-14T15:41:08.556Z service=default version=0.1.40 args=--print-logs opencode 2025-06-14T15:41:08.557Z service=app cwd=/Users/harshsharma/Desktop/100xdevs/sbol/SBOL-Notebooks creating 2025-06-14T15:41:08.559Z service=app git=/Users/harshsharma/Desktop/100xdevs/sbol/SBOL-Notebooks git 2025-06-14T15:41:08.563Z service=app name=provider registering service 2025-06-14T15:41:08.563Z service=app name=config registering service 2025-06-14T15:41:08.563Z service=config loaded 2025-06-14T15:41:08.564Z service=models.dev refreshing 2025-06-14T15:41:08.565Z service=provider loading 2025-06-14T15:41:08.566Z service=provider providerID=google loaded 2025-06-14T15:41:08.566Z service=app name=share registering service 2025-06-14T15:41:08.566Z service=bus type=storage.write subscribing 2025-06-14T15:41:08.566Z service=app name=bus registering service 2025-06-14T15:41:08.647Z service=server method=POST path=/path_get request 2025-06-14T15:41:08.648Z service=server duration=1 response 2025-06-14T15:41:08.650Z service=server method=POST path=/app_info request 2025-06-14T15:41:08.650Z service=server duration=0 response 2025-06-14T15:41:08.651Z service=server method=POST path=/provider_list request 2025-06-14T15:41:08.651Z service=server duration=0 response 2025-06-14T15:41:08.654Z service=server method=POST path=/file_search request 2025-06-14T15:41:08.655Z service=fzf filepath=/opt/homebrew/bin/fzf found 2025-06-14T15:41:08.676Z service=fzf count=0 results 2025-06-14T15:41:08.676Z service=server duration=22 response 2025-06-14T15:41:08.677Z service=server method=GET path=/event request 2025-06-14T15:41:08.677Z service=server event connected 2025-06-14T15:41:08.679Z service=bus type=* subscribing 2025-06-14T15:41:08.680Z service=server duration=3 response 2025-06-14T15:41:30.591Z service=bus type=* unsubscribing 2025-06-14T15:41:30.591Z service=server event disconnected ```
Author
Owner

@adamdotdevin commented on GitHub (Jun 16, 2025):

@thdxr i made some improvements in the TUI around this as well, should be more responsive there

@adamdotdevin commented on GitHub (Jun 16, 2025): @thdxr i made some improvements in the TUI around this as well, should be more responsive there
Author
Owner

@thdxr commented on GitHub (Jun 23, 2025):

should be fixed now closing

@thdxr commented on GitHub (Jun 23, 2025): should be fixed now closing
Author
Owner

@seatedro commented on GitHub (Jun 23, 2025):

hell yeah let's go

@seatedro commented on GitHub (Jun 23, 2025): hell yeah let's go
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#54