Skip to content

feat: 为 mcp_upstreams 补充软删除#528

Merged
yokowu merged 1 commit intomainfrom
feat/mcp-upstreams-softdelete
Apr 20, 2026
Merged

feat: 为 mcp_upstreams 补充软删除#528
yokowu merged 1 commit intomainfrom
feat/mcp-upstreams-softdelete

Conversation

@yokowu
Copy link
Copy Markdown
Collaborator

@yokowu yokowu commented Apr 20, 2026

Summary

  • 为 MCPUpstream 接入 entx.SoftDeleteMixin2
  • 生成 ent 代码并让删除查询默认走软删除
  • 补充删除后写入 deleted_at 的回归测试

Test Plan

  • go test ./biz/setting/repo -run TestDeleteUserUpstreamMarksDeletedAt
  • go test ./biz/setting/...

@yokowu yokowu merged commit 9f785a7 into main Apr 20, 2026
@yokowu yokowu deleted the feat/mcp-upstreams-softdelete branch April 20, 2026 11:41
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