You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixesblock#1062
Add logic to terminate background processes when the stop button is clicked.
* **ui/desktop/src/ChatWindow.tsx**
- Add logic to terminate background processes in the `onStopGoose` function.
- Update the `stop` function to include background process termination.
* **ui/desktop/src/ai-sdk-fork/call-custom-chat-api.ts**
- Add a `stop` function to terminate background processes.
* **ui/desktop/src/main.ts**
- Update the `stop-power-save-blocker` function to stop background processes.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/block/goose/issues/1062?shareId=XXXX-XXXX-XXXX-XXXX).
note it won't necessarily stop goosed - but should stop ones that the agent itself launched yes... which would be a problem as it isn't. related: #1075 as non trivial (but should kill/drop, as used to)
FYI I don't think this is a GUI issue. I was just able to reproduce this with the CLI:
( O)> Run "cd docs && pnpm start"
I'll run that command using the shell tool:
─── shell | developer ──────────────────────────
command: cd docs && pnpm start
It seems we need to reinstall the dependencies. Let me try that:
─── shell | developer ──────────────────────────
command: cd docs && pnpm install && pnpm start
◓ Molting old code... ^CWe interrupted the existing call to developer__shell. How would you like to proceed?
( O)>
Input error: EOF
Closing session. Recorded to /Users/aat/.config/goose/sessions/hd8DTqPn.jsonl
🐚 ~/dev/ftl $ ps xaw | grep pnpm
18725 s000 S 0:00.01 bash -c cd docs && pnpm install && pnpm start 2>&1
18859 s000 S 0:00.21 /Users/aat/Library/Caches/hermit/pkg/pnpm-9.15.5/pnpm start
19044 s000 R+ 0:00.00 grep pnpm
Describe the bug
Goose ran "pnpm start" on a Docusaurus site (even though I asked it to build it), which never terminates.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Goose should terminate any processes started during execution.
Please provide following information:
The text was updated successfully, but these errors were encountered: