Skip to content

fix(obs): 修复选择华为obs作为对象存储并配置proxyDomain参数时校验出错的bug - #2790

Open
CodeMarker0 wants to merge 1 commit into
Tencent:mainfrom
CodeMarker0:fix_obs
Open

fix(obs): 修复选择华为obs作为对象存储并配置proxyDomain参数时校验出错的bug#2790
CodeMarker0 wants to merge 1 commit into
Tencent:mainfrom
CodeMarker0:fix_obs

Conversation

@CodeMarker0

@CodeMarker0 CodeMarker0 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

fix: 修复选择华为obs作为对象存储并配置proxyDomain参数时校验出错的bug

Description

当前 OBS 配置代理域名时,上传和复制文件返回的是代理 URL,导致物理路径无法稳定识别为 OBS provider,进而影响资源注册、后续读取及多存储后端路由。该提交统一将 OBS 内部路径规范化为 obs://{bucket}/{objectKey},代理域名仅用于生成访问 URL,修复 OBS 文件上传路径错误。

同时,提交兼容历史代理 URL 和裸对象路径,补充了上传、路径解析、文件复制、跨后端拷贝校验及资源目录注册测试,能够降低存量数据迁移风险并避免类似路径混淆问题。因此该修复具备明确的线上问题价值和完整的回归保障,建议合入主分支。

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📚 Documentation update
  • 🎨 Refactor
  • ⚡ Performance improvement
  • 🧪 Test
  • 🔧 Configuration / Build / CI

Related Issue

Fixes #

Testing

Checklist

  • git diff --check origin/main...HEAD passes
  • Changed source files are formatted
  • Targeted tests for the changed packages/components pass
  • Diff-scoped lint passes where applicable (for Go: golangci-lint run --new-from-rev=origin/main ./...)
  • Full-repository checks were run, or any unrelated/environment-dependent failures are documented above
  • Self-reviewed the code
  • Added/updated tests covering the change
  • Updated related documentation (README, docs/, Swagger annotations, etc.)
  • Breaking changes are clearly called out in the description above

Screenshots / Recordings

@CodeMarker0 CodeMarker0 changed the title 修复选择华为obs作为对象存储并配置proxyDomain参数时校验出错的bug fix(obs): 修复选择华为obs作为对象存储并配置proxyDomain参数时校验出错的bug Aug 25, 2026
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