feat: new tos connector args - #4129
Merged
Merged
Conversation
zihengli-bytedance
force-pushed
the
feat/tos_resource_api
branch
from
August 20, 2026 09:32
0ebd451 to
21597d0
Compare
myysy
reviewed
Aug 20, 2026
zihengli-bytedance
force-pushed
the
feat/tos_resource_api
branch
from
August 20, 2026 16:28
95a1a52 to
726c903
Compare
myysy
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
完善 Connector 模式下的 TOS 资源导入与 Watch 周期同步能力:
args.tos_prefix导入多个 TOS 路径,并通过args.exclude排除指定路径,同时兼容原有单路径和 bucket 根路径导入。watch_interval > 0,加密持久化周期同步所需的鉴权和请求参数。Related Issue
N/A
Type of Change
Changes Made
TOS 资源导入
args.tos_prefix和args.exclude。path必须等于tos_prefix第一项;exclude只能与tos_prefix配合使用。exclude和args.exclude不能同时使用。param_config传递。tos_prefix时继续使用原有tos_path。Connector Watch
watch_interval > 0。add_type、来源路径和 Connector 参数通过 VikingFS Encryptor 加密持久化。auth_state不通过 Watch API 返回,并绑定 Account ID 和来源路径。refresh_resource,并等待远端任务进入终态。安全与测试
ov skills list/show,不再操作viking://user/skills。Testing
Test results:
tests/service/test_resource_service_connector.py: 112 passedgit diff --check: passedChecklist
Screenshots
N/A
Additional Notes