Skip to content

Terminal shell integration timeout setting doesn't persist after restart #3181

@misha-sunborn

Description

@misha-sunborn

App Version

3.15.5

API Provider

OpenRouter

Model Used

gemini-2.5-pro-preview-03-25

Actual vs. Expected Behavior

My terminal start time is slow, so I need to increase the "Terminal shell integration timeout" via the slider in the settings to avoid shell integration errors when executing commands. No problem, that works.

I notice that when I restart VS Code, the timeout goes back to 5 seconds, even though the slider is still set to whatever I had set it to. If I move the slider, it takes effect again. So it seems the default value is loaded on startup, rather than whatever was previously set.

Detailed Steps to Reproduce

  1. Set the "Terminal shell integration timeout" via the slider in the settings. You could perhaps set it to a very low value, so that a terminal command will fail due to very short startup timeout.
  2. Run a Roo terminal command and see that the terminal integration startup timeout behaves as expected for the value you set.
  3. Restart VSCode
  4. Run a Roo terminal command again, and see that the default of of 5 seconds has been restored internally, even though the slider is still sitting at the value that was set.

Relevant API Request Output

Additional Context

Let me know if you need more detail on this. It might be a quick fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Unassigned / ActionableClear and approved. Available for contributors to pick up.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions