-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
App Version
most current
API Provider
Groq
Model Used
Fast 1
Roo Code Task Links (Optional)
Title: Roo Code extension: System hang and silent failure - improvement suggestion
Summary:
My system crashed and VS Code became unresponsive while using the RooVeterinaryInc.roo-cline extension. There was no visible crash dialog, but the editor stopped responding. I attempted to remove endless folders and missed one, but the system did not recover. The extension should attempt to reclaim memory, and if it cannot after 40 seconds, it should mark the resource as removed/lost and continue, rather than silently hanging.
Details:
- No crash dialog appeared, but VS Code was stuck in limbo.
- Removing folders did not resolve the issue; one missed folder kept the system stuck.
- The extension should not hang silently. If memory cannot be reclaimed after 40 seconds, mark the resource as lost and move on.
- This would prevent silent hangs and improve user experience.
Logs and error details:
- Error: Unexpected: No existing API conversation history
- Extension host terminating: renderer closed the MessagePort
- Error: Channel has been closed
Request:
Please investigate and consider implementing a timeout and recovery mechanism for memory/resource management in the Roo Code extension to avoid silent hangs and improve reliability.
Would you like help finding the extension’s GitHub issues page or submitting this report?
scottnzuk: CPU-20250903T213729.589Z.cpuprofile
GitHub Copilot: The file CPU-20250903T213729.589Z.cpuprofile.txt is a large CPU profile in JSON format, likely generated by VS Code or an extension during a performance or crash event.
To analyze the root cause of the hang or crash:
- This file contains call stacks, function names, and hit counts.
- You can use Chrome DevTools or VS Code's built-in profiler to visualize and interpret this
.cpuprofilefile.
Next steps:
- Open Chrome DevTools (or VS Code's DevTools).
- Go to the Performance tab.
- Load the
.cpuprofile.txtfile to view hotspots and bottlenecks.
Would you like instructions on how to load and analyze this profile, or do you want a summary of the top functions from the file?
scottnzuk: give me command to reset all memoryies etc
GitHub Copilot: To reset VS Code’s extension state, workspace cache, and clear memory-related issues, run the following commands in your terminal:
# Quit VS Code first!
killall "Visual Studio Code"
# Remove workspace storage and extension cache
rm -rf ~/Library/Application\ Support/Code/User/workspaceStorage/*
rm -rf ~/Library/Application\ Support/Code/Cache/*
rm -rf ~/Library/Application\ Support/Code/CachedData/*
rm -rf ~/Library/Application\ Support/Code/Service\ Worker/CacheStorage/*
# Optionally, clear extension state (this will reset all extensions)
rm -rf ~/.vscode/extensions/*
# Restart VS Code
open -a "Visual Studio Code"Warning:
- This will remove all cached workspace data and extension states.
- Extensions will be reinstalled from the marketplace on next launch.
Let me know if you want a less aggressive reset (e.g., only workspace cache, not extensions).
scottnzuk: draft up the github with all technical you can
GitHub Copilot: Here’s a draft for a GitHub issue report regarding the RooVeterinaryInc.roo-cline extension, including all technical details from your logs and experience:
Title: System hang and silent failure with Roo Code extension (roo-cline): memory/resource management improvement needed
Summary:
While using the RooVeterinaryInc.roo-cline extension, VS Code became unresponsive without showing a crash dialog. The editor entered a limbo state, failing to respond or recover even after removing folders. The extension should attempt to reclaim memory, and if it cannot after 40 seconds, mark resources as removed/lost and continue, rather than silently hanging.
Technical Details:
-
Extension: RooVeterinaryInc.roo-cline v3.26.0
-
VS Code Host: macOS, zsh shell
-
Symptoms:
- No crash dialog, but VS Code stopped responding.
- Removing folders did not resolve the issue; missing one folder kept the system stuck.
- Silent hang, no error surfaced to the user.
-
Log Excerpts:
[error] Error: Unexpected: No existing API conversation history at t.resumeTaskFromHistory (/Users/byteme/.vscode/extensions/rooveterinaryinc.roo-cline-3.26.0/dist/extension.js:5819:1082) [info] Extension host terminating: renderer closed the MessagePort [error] Canceled: Canceled at new lR (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:29:115042) ... [error] Error: Channel has been closed at n (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:2816) ... -
CPU Profile:
- Large
.cpuprofile.txtfile generated during the event (over 5 million lines). - Can provide for further analysis if needed.
- Large
-
Workspace/Extension State Reset Attempted:
- Cleared workspaceStorage, Cache, CachedData, and extension state.
- Issue persisted until all problematic folders were removed.
Request:
Please investigate and consider implementing a timeout and recovery mechanism for memory/resource management in the Roo Code extension. If memory/resources cannot be reclaimed after 40 seconds, mark them as lost and continue, rather than hanging silently. This will prevent limbo states and improve reliability.
Steps to Reproduce:
- Use RooVeterinaryInc.roo-cline extension in a large workspace.
- Remove folders; miss one problematic folder.
- Observe VS Code entering a non-responsive state without a crash dialog.
Attachments:
- Extension host logs (see above)
- CPU profile available on request
Let me know if you want this formatted for direct submission, or if you need help finding the extension’s GitHub issues page.
🔁 Steps to Reproduce
take me half day but got there, basically system has no protection or full crash out from damaged or lost memories.
💥 Outcome Summary
It should try find memory if 2 seconds gone try again if 6 seconds carry on, if picks up second memory issue it should reindex or deep check / remove.
📄 Relevant Logs or Errors (Optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status