Skip to content

fix(mcp): surface cloud project deletion job - #1074

Merged
phernandez merged 1 commit into
mainfrom
codex/1034-surface-delete-job
Jul 16, 2026
Merged

fix(mcp): surface cloud project deletion job#1074
phernandez merged 1 commit into
mainfrom
codex/1034-surface-delete-job

Conversation

@phernandez

Copy link
Copy Markdown
Member

Why

Hosted project deletion is asynchronous, but the typed core response model discarded the cloud backend's job_id and the MCP tool omitted both deletion status and job identity. Callers could only see that note-file deletion was pending, with no handle for tracing the accepted job.

What changed

  • preserve the backend job_id in ProjectStatusResponse
  • include project deletion status and job ID in the MCP delete_project result when supplied
  • cover both retained-file and purge-file cloud deletion responses

Verification

  • just fast-check
  • uv run pytest tests/mcp/test_tool_project_management.py -q — 38 passed
  • just fast-test — 13 passed, 1 skipped

This complements the full storage-prefix purge in basicmachines-co/basic-memory-cloud#1508.

Addresses #1034.

Signed-off-by: phernandez <paul@basicmachines.co>
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.

1 participant