ops: refactor deploy_light into a foreground launcher (#181)#186
Merged
liujuanjuan1984 merged 9 commits intomainfrom Mar 17, 2026
Merged
ops: refactor deploy_light into a foreground launcher (#181)#186liujuanjuan1984 merged 9 commits intomainfrom
liujuanjuan1984 merged 9 commits intomainfrom
Conversation
Collaborator
Author
|
补充修复已推送:
已重新验证:
|
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 聚焦
#181,将deploy_light从带后台管理职责的轻量部署脚本,收敛为单一职责的前台 launcher。范围边界
deploy_light的职责收敛,不承载#145、#180等其它议题。nohup、pm2、systemd)。模块变更
1.
scripts/deploy_light.shstop/status/restart生命周期管理。start兼容写法,但默认即以前台阻塞方式启动。key=value覆盖能力。instance、log_root、run_root参数,但仅用于向后兼容解析,不再实际使用。2.
scripts/deploy_light_readme.mdnohup、pm2、systemd等外部 supervisor 负责 detached 运行、自动重启与日志托管。Issue 关系
验证
bash -n scripts/deploy_light.shuv run pre-commit run --all-filesuv run pytest