Skip to content

feat: support bos as plugin storage - #735

Merged
fatelei merged 1 commit into
langgenius:mainfrom
fatelei:issue-443
May 15, 2026
Merged

feat: support bos as plugin storage#735
fatelei merged 1 commit into
langgenius:mainfrom
fatelei:issue-443

Conversation

@fatelei

@fatelei fatelei commented May 15, 2026

Copy link
Copy Markdown
Contributor

Description

fix #443

image image image image

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Performance improvement
  • Other

Essential Checklist

Testing

  • I have tested the changes locally and confirmed they work as expected
  • I have added unit tests where necessary and they pass successfully

Bug Fix (if applicable)

  • I have used GitHub syntax to close the related issue (e.g., Fixes #123 or Closes #123)

Additional Information

Please provide any additional context that would help reviewers understand the changes.

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request go Pull requests that update go code plugin-daemon labels May 15, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces support for Baidu BOS as a storage provider, including configuration updates and a new storage implementation. The review identified a compilation error due to an incorrect argument type in ListObjectsFromRequest, a logic error where empty prefixes were incorrectly handled with a trailing slash, and a potential infinite loop in the pagination logic if NextMarker is missing.

Comment thread internal/storage/baidubos/bos.go
Comment thread internal/storage/baidubos/bos.go Outdated
Comment thread internal/storage/baidubos/bos.go Outdated
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 15, 2026
@fatelei
fatelei merged commit 4495e17 into langgenius:main May 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request go Pull requests that update go code lgtm This PR has been approved by a maintainer plugin-daemon size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Baidu bos storage

2 participants