Skip to content

fix(deploy): correct Aliyun runtime stop URL - #698

Open
XiaoSeS wants to merge 2 commits into
mainfrom
fix/runtime-aliyun-stop-url
Open

fix(deploy): correct Aliyun runtime stop URL#698
XiaoSeS wants to merge 2 commits into
mainfrom
fix/runtime-aliyun-stop-url

Conversation

@XiaoSeS

@XiaoSeS XiaoSeS commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

What

  • Print the Aliyun OSS root-level runtime.sh URL in the post-install stop command.
  • Keep the GitHub Raw stop command pointed at scripts/runtime.sh.
  • Add regression assertions for both download layouts.

Why

Aliyun publishes the runtime entry point at /runtime.sh, while the repository stores it at /scripts/runtime.sh. The shared completion message always appended /scripts/runtime.sh, so runtime.sh --aliyun printed a stop command that returned 404 even though installation and startup succeeded.

How

Resolve RUNTIME_SCRIPT_URL when selecting the download source, then reuse that exact URL in the completion message.

Testing

  • sh -n scripts/runtime.sh
  • bash -n scripts/tests/runtime-secret-test.sh
  • bash scripts/tests/runtime-secret-test.sh
  • bash scripts/tests/validate-release-config-test.sh
  • bash scripts/tests/workflow-security-test.sh
  • bash scripts/tests/dev-web-host-test.sh
  • bash scripts/tests/publish-cli-test.sh
  • make typecheck-web
  • make lint-web
  • Backend Maven regression under Java 21: 722 tests, 0 failures, 0 errors, 1 skipped

make staging was not run because the shared host already has unrelated services bound to the fixed staging ports 5432, 80, and 8080. Those services were left untouched.

Impact

No installation, startup, image, configuration, or API behavior changes. This only corrects the operator-facing stop command printed after an Aliyun deployment.

Ordinary-user validation follow-up

A clean v0.2.16 README deployment on the open-source validation host reproduced the defect: the printed /scripts/runtime.sh URL returns 404, the shell pipeline exits 0, and all five containers remain running. The follow-up commit also preserves --aliyun in the corrected command so lifecycle operations continue using the same public distribution source instead of falling back to GitHub Raw.

The public OSS installer otherwise passed root-path install, registry pull, 15/15 administrator smoke, same-volume restart, and clean reinstall checks. The three official Dockerfiles also built from a clean public tag checkout and their resulting images passed 15/15 smoke.

XiaoSeS added 2 commits August 7, 2026 16:45
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant