fix: skip server start when STATIC_HTML_SERVER_URL is set#56
Conversation
When the sth server is already deployed externally, agents should not start a local instance. Check STATIC_HTML_SERVER_URL in both SKILL.md workflow and start-server.sh to skip server startup. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
不可合并 审查摘要该 PR 在 阻塞项存在阻塞性问题: 实际阻塞项:
建议项
|
ShellCheck warns about unquoted variable expansion. Quote the variable in the echo message to handle values with spaces or special characters. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
可合并 审查总结改动精简、逻辑清晰。 阻塞项无 建议项
注:前序自动 review 中提到的「行 7 未加引号」实际不存在—— |


Summary
start-server.shwhenSTATIC_HTML_SERVER_URLis set (server already deployed externally)start-server.shadds an early-exit guard: ifSTATIC_HTML_SERVER_URLis non-empty, prints a message and exits 0Test plan
STATIC_HTML_SERVER_URL=http://somethingand runbash scripts/start-server.sh— should exit 0 without startingSTATIC_HTML_SERVER_URLand runbash scripts/start-server.sh— should start server as before🤖 Generated with Claude Code