ops: consolidate deployment entrypoints and remove dead script paths#193
Merged
liujuanjuan1984 merged 9 commits intomainfrom Mar 17, 2026
Merged
ops: consolidate deployment entrypoints and remove dead script paths#193liujuanjuan1984 merged 9 commits intomainfrom
liujuanjuan1984 merged 9 commits intomainfrom
Conversation
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.
概要
本 PR 以代码健康治理和部署入口收口为主,聚焦两件事:
整体方向是继续贯彻 release-first:
模块一:重复、冗余与死代码清理
对应 issue:
#191本模块主要完成:
scripts/deploy/update_a2a_release.shdeploy_light.sh start/stop/status/restart旧用法scripts/start_services.sh与对应文档scripts/deploy_light.sh与scripts/deploy_light_readme.md结果是:
模块二:部署模型与文档入口收口
对应 issue:
#192本模块主要完成:
README.md只保留两条用户主路径:docs/agent_deploy_sop.md收口为正式部署 SOP,不再混入轻量脚本路径scripts/README.md、scripts/uninstall_readme.md等脚本索引与链接关系同步更新scripts/shell_helpers.shdeploy_light.sh对旧动作词的兼容壳,最终进一步整体移除这条路径结果是:
模块三:验证
已执行:
uv run pre-commit run --all-filesuv run pytest结果:
177 passed84.38%相关 commits
b34e7c8ops: remove redundant release deploy wrapper #191190ea34docs: remove stale deploy_light action verbs #19111974f6docs: refocus user paths on released deployments #19205b9a2bops: remove duplicate local runner entrypoint #1924246eeedocs: downgrade source deploy path to internal use #19248b2a13ops: share shell truthy helper across deploy scripts #19215bb082ops: remove deploy_light legacy action shim #192c316e65chore: refresh secrets baseline after script cleanup #192c6efc94ops: remove deploy_light helper path #192代码审查结论
本 PR 以删除和收口为主,改动方向合理,没有发现当前需要阻塞合并的实现问题。
重点判断如下:
#191:这轮已经完成一批可安全确认的冗余/失效路径清理,范围克制,没有对核心服务逻辑做不必要扰动#192:当前分层已经和设计原则一致,用户路径、正式部署路径、源码调试路径的边界明显比改动前清楚deploy_light.sh的移除是合理的:它不再承载主机级复杂度,长期价值不足以支撑继续维护残余风险:
关联关系
Closes #191
Closes #192