fix(openclaw): pull multi-session plugin runtime from deterministic runtime-latest asset

The download used releases/latest/download, which GitHub resolves to the
human-facing v0.1.12 tag (no runtime asset) -> HTTP 404, failing the deploy
on Ubuntu 26.04 (and any platform). Point at the stable runtime-latest
release published by the plugin repo's runtime-release workflow, and add a
bounded retry around the download for transient network errors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Haitao Pan 2026-06-23 14:03:23 +08:00
parent e0bfc765bf
commit 9e81f65a62
2 changed files with 5 additions and 1 deletions

View File

@ -23,7 +23,7 @@ gateway_openclaw_install_dir: "{{ gateway_openclaw_home }}/.local/lib/node_modul
gateway_openclaw_required_version: "2026.6.1"
gateway_openclaw_npm_package_spec: "openclaw@{{ gateway_openclaw_required_version }}"
gateway_openclaw_global_npm_dir: "{{ gateway_openclaw_home }}/.openclaw/npm"
gateway_openclaw_multi_session_plugin_archive_url: "https://github.com/ai-workspace-lab/openclaw-multi-session-plugins/releases/latest/download/openclaw-multi-session-plugins-runtime-all.tar.gz"
gateway_openclaw_multi_session_plugin_archive_url: "https://github.com/ai-workspace-lab/openclaw-multi-session-plugins/releases/download/runtime-latest/openclaw-multi-session-plugins-runtime-all.tar.gz"
gateway_openclaw_required_global_plugins:
- name: "@openclaw/codex"
version: "{{ gateway_openclaw_required_version }}"

View File

@ -118,6 +118,10 @@
url: "{{ gateway_openclaw_multi_session_plugin_archive_url }}"
dest: "/tmp/openclaw-multi-session-plugins.tar.gz"
mode: "0644"
register: gateway_openclaw_multi_session_plugin_download
until: gateway_openclaw_multi_session_plugin_download is succeeded
retries: 3
delay: 5
- name: Extract OpenClaw Multi-Session Plugins
ansible.builtin.unarchive: