Skip to content

feat: repository前端下载可调用bkartifact #4210#4396

Draft
zacYL wants to merge 2 commits into
TencentBlueKing:masterfrom
zacYL:issue_4210
Draft

feat: repository前端下载可调用bkartifact #4210#4396
zacYL wants to merge 2 commits into
TencentBlueKing:masterfrom
zacYL:issue_4210

Conversation

@zacYL

@zacYL zacYL commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Generic 仓库单文件下载支持通过 scheme 唤起 BKArtifacts 客户端
  • 采用 query 格式 deep link + localhost ack 轮询确认成功,超时自动降级为浏览器下载
  • 新增 BK_ARTIFACT_CLIENT_DOWNLOAD_ENABLED 等功能开关,默认关闭以支持灰度发布

Test plan

  • 开关 false:下载行为与改造前一致
  • 开关 true + 新版客户端:3s 内 ack 成功,不触发浏览器下载
  • 开关 true + 未安装客户端:超时后浏览器下载正常
  • 路径含中文/空格:scheme URL 与降级下载均正确

Closes #4210

@zacYL
zacYL force-pushed the issue_4210 branch 12 times, most recently from fbffe1e to 842ae7a Compare July 15, 2026 03:41
@tencentblueking-adm

tencentblueking-adm commented Jul 16, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

repository前端下载可调用bkartifact

2 participants