Skip to content

feat: 支持按项目/仓库范围修复 Package 的 latest 与 historyVersion 字段,并在 opdata 提供操作界面#4345 - #4404

Open
zzdjx wants to merge 12 commits into
TencentBlueKing:masterfrom
zzdjx:issue_4345
Open

feat: 支持按项目/仓库范围修复 Package 的 latest 与 historyVersion 字段,并在 opdata 提供操作界面#4345#4404
zzdjx wants to merge 12 commits into
TencentBlueKing:masterfrom
zzdjx:issue_4345

Conversation

@zzdjx

@zzdjx zzdjx commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@zzdjx
zzdjx requested review from cnlkl, yaoxuwan and zacYL as code owners July 14, 2026 09:36

@zacYL zacYL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #4404 Review

STATUS: REQUEST_CHANGES

ID 级别 类型 位置 摘要
C1 必须修复 inline UserPackageRepairController.kt:19 类级 /api 前缀影响存量路由
C2 必须修复 inline PackageRepairServiceImpl.kt:203 listByPackageId 全量加载版本文档
C3 必须修复 inline PackageRepairServiceImpl.kt:145 不存在 packageKey 应抛异常,测试需对齐
C4 建议优化 inline PackageRepairServiceImpl.kt:276 history 修复宜走 DAO 轻量查询

@tencentblueking-adm

tencentblueking-adm commented Jul 16, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

*
* @return true 表示触发过 DB 更新
*/
private fun doRepairPackageHistoryVersion(tPackage: TPackage): Boolean {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个会破换原有方法的实现吧

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.

3 participants