dev-manager-tauri/src-tauri
lanrtop c1632a0549 fix(gitea-integration): 删除项目登记时同一事务解除 Gitea 绑定,轮询跳过已删除项目的遗留绑定(G8)
删除登记(UI 删除项目、MCP unregister_project)原来不清 gitea_repos,
后台轮询每 10 分钟仍把 commit 与 PR 事件写到已删除的项目 ID 下。

- gitea:解绑本体拆为 remove_repo_link_records(只动数据库,可进调用方事务)
  与 cleanup_removed_repo_link(提交后尽力删 Gitea 侧 webhook 与本机签名凭证),
  UI 解绑 gitea_unlink_repo 与删除登记共用
- projects:抽出 delete_project_records(连接注入),关联表、Gitea 绑定、
  workspace、孤儿 profile 同一事务删除;delete_project 提交后再做 Gitea 外部清理
- 轮询兜底:load_poll_targets 把所属项目已不存在的遗留绑定排除在 commit / PR
  轮询之外,每个绑定每次运行只记一次 warn
- 契约:unregister_project 描述与 project-context.yaml 同步

回归测试 deleting_project_registration_unbinds_its_gitea_repo 修复前失败、修复后通过;
变异验证通过;全量 cargo test 307 passed / 0 failed / 5 ignored。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 10:18:49 +09:00
..
capabilities fix: add updater/process capabilities and improve update error display 2026-04-02 14:50:19 +09:00
icons feat: WSL路径支持、项目发布到GitHub、三灯状态指示 2026-04-01 01:36:21 +09:00
resources feat(delivery/mcp): get_delivery_status 支持按 pr_number/branch 查询,结论绑定 Gitea head SHA(使者回传 #203) 2026-10-03 06:22:09 +09:00
src fix(gitea-integration): 删除项目登记时同一事务解除 Gitea 绑定,轮询跳过已删除项目的遗留绑定(G8) 2026-10-03 10:18:49 +09:00
tests/fixtures/client_probe docs(blueprint/agent-client-parity): P4-0 探针前置实测六项假设出结论,脱敏夹具入库(P4-0) 2026-10-03 08:01:50 +09:00
.gitignore feat: WSL路径支持、项目发布到GitHub、三灯状态指示 2026-04-01 01:36:21 +09:00
build.rs feat: WSL路径支持、项目发布到GitHub、三灯状态指示 2026-04-01 01:36:21 +09:00
Cargo.lock feat(agent/access): 强化项目级运行态接入 2026-09-23 03:21:38 +09:00
Cargo.toml feat(agent/access): 强化项目级运行态接入 2026-09-23 03:21:38 +09:00
dev-manager.db feat: 服务器管理体系 + 云产品扩展 + 源码库 + API密钥管理 2026-04-17 22:25:06 +09:00
PkgExplorerPlugin.dll.log feat: 服务器管理体系 + 云产品扩展 + 源码库 + API密钥管理 2026-04-17 22:25:06 +09:00
tauri.conf.json chore(release): bump version to 0.1.19 2026-07-04 21:05:13 +09:00
tauri.local.conf.json chore(build): 新增 build:local 脚本——本地构建关闭 updater 签名产物 2026-07-06 21:21:57 +09:00