提交图

2 次代码提交

作者 SHA1 备注 提交日期
XuqmGroup
f0cd3b5d33 fix(bugcollect): 修复 V6 迁移 SQL 错误并改为幂等执行
- AFTER app_version(列名)替代 AFTER release(Java字段名)
- 使用 information_schema 条件检查实现幂等,防止重复执行报错
- LogService log 语句中 issueId → eventId

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 17:12:51 +08:00
XuqmGroup
4acec019f7 feat(bugcollect): buildId 支持相同版本多包 sourcemap 与精确符号化
- V6 迁移:log_sourcemaps 新增 build_id 列,唯一键改为
  (app_key, platform, app_version, build_id, bundle_name);
  log_issue_events 新增 build_id 列
- SourcemapService: 按 buildId 精确匹配,找不到时回退到最新上传
  (findFirstByUploadedAtDesc);存储路径包含 buildId 目录
- LogService: 修复 symbolication 事件查找 bug(原使用 issueId 查
  event 表,现改为 eventId);事件保存后取返回值获取正确 ID
- LogController/DTO: upload 接口新增可选 buildId 参数;事件批量
  上报 DTO 新增 buildId 字段
- tenant-service: 补充 bugcollect-api-url 配置项

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-22 16:49:38 +08:00