Skip to content

fix: harden agent delete cleanup and warn about workspace loss - #214

Merged
jubaoliang merged 2 commits into
developfrom
fix/agent-delete-workspace-warning
Aug 9, 2026
Merged

fix: harden agent delete cleanup and warn about workspace loss#214
jubaoliang merged 2 commits into
developfrom
fix/agent-delete-workspace-warning

Conversation

@jubaoliang

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • uv run pytest tests/unit/backend/test_resolver.py tests/unit/agents/test_agent_manager.py -q
  • cd dashboard && npx tsc --noEmit
  • Delete an expert in the dashboard and confirm the Popconfirm mentions irreversible workspace deletion
  • octop agent delete <id> without --yes shows the workspace warning

Made with Cursor

jubaoliang-tencent and others added 2 commits August 9, 2026 03:44
Preserve backend type when neutralizing Windows host-root specs, run
workspace rmtree off the event loop, and warn in dashboard/CLI that
delete permanently removes the agent workspace.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@jubaoliang
jubaoliang merged commit 44a93e7 into develop Aug 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants