Skip to content

feat: add gateway marketplace artifact API#322

Merged
h1177h merged 2 commits into
1024XEngineer:mainfrom
h1177h:pr/gateway-marketplace-api
May 8, 2026
Merged

feat: add gateway marketplace artifact API#322
h1177h merged 2 commits into
1024XEngineer:mainfrom
h1177h:pr/gateway-marketplace-api

Conversation

@h1177h

@h1177h h1177h commented May 8, 2026

Copy link
Copy Markdown
Contributor

变更内容

本 PR 新增 gateway marketplace artifact 读取 API,用于通过 gateway 查询本地和云端 marketplace artifact。

主要包括:

  • 新增 GET /market/artifacts
  • 新增 GET /market/artifacts/{id}
  • 新增 GET /market/artifacts/{id}/versions
  • 接入本地 marketplace catalog
  • 接入 cloud registry client,并叠加本地安装状态
  • 补充 gateway marketplace artifact API 测试

不包含内容

本 PR 不包含 install、upgrade、uninstall、jobs、events、bindings 等写操作 API,后续单独提交。

测试

go test ./pkg/gateway ./pkg/marketplace ./pkg/marketplace/registry

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Found 3 issues worth addressing: two correctness regressions on the cloud read path, and one request-path performance/correctness problem in the local overlay step.

Comment thread pkg/gateway/gateway_market_artifacts_api.go
Comment thread pkg/gateway/gateway_market_artifacts_api.go
Comment thread pkg/gateway/gateway_market_artifacts_api.go Outdated
@codecov

codecov Bot commented May 8, 2026

Copy link
Copy Markdown

@h1177h h1177h merged commit 0a3bec2 into 1024XEngineer:main May 8, 2026
4 checks passed
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