Commit Graph

15 Commits

Author SHA1 Message Date
fd1fb5710c ci(console-runtime): publish moving latest-runtime release
The ai-workspace role's final-deployment step downloads the console runtime
from a stable latest-runtime release (matching the bridge/qmd/litellm
convention). Have the publish job refresh a moving `latest-runtime` release
alongside the immutable `runtime-<sha>` one, carrying the same cross-compiled
assets (darwin-arm64, linux-amd64, linux-arm64) + SHA256SUMS, so consumers get
a predictable URL:
  releases/download/latest-runtime/xworkspace-console-runtime-<os>-<arch>.tar.gz

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 17:05:20 +08:00
Haitao Pan
198ca0c88a chore: rename workflow to offline-package prefix and implement openclaw plugin macOS patch 2026-06-21 16:17:30 +08:00
04f653b0b3 ci: slim console runtime - universal dist + cross-compiled API, no macOS runner
Build the dashboard dist once (platform-independent) and cross-compile the Go
API (CGO disabled) for darwin-arm64, linux-amd64, linux-arm64 in a single
ubuntu job. Drops the macOS runners and per-arch docker. node_modules is
excluded from the runtime (nodejs role provides Node on target), so the
tarballs only carry the API binary + built dist + scripts + manifest. macOS is
arm64-only; Linux covers amd64/arm64 (Debian and Ubuntu share the binary).
2026-06-21 08:02:58 +00:00
da64de72bb ci: unify runtime + offline into one pipeline (single build matrix)
Merge offline-package workflow jobs into runtime-release.yaml:
build (one linux+darwin matrix) -> publish (outputs runtime_tag) ->
build-offline-package (matrix) -> test-offline-package (matrix) ->
publish-release. One-directional deps: publish-release needs
test-offline-package needs build-offline-package. Offline build uses the
in-pipeline runtime_tag, and publish-release folds in the console-runtime
download (from aaf6c47) plus the >2GiB split-upload. The standalone
offline-package-ai-workspace-installer.yaml is now redundant (dispatch-only;
safe to delete).
2026-06-21 07:50:34 +00:00
Haitao Pan
aaf6c47b69 ci: include console runtimes in offline release 2026-06-21 15:32:39 +08:00
77230a5fd4 ci: publish darwin runtime + split >2GiB offline packages
A) runtime-release.yaml: add a native build-darwin job (macos-14 arm64 /
   macos-13 amd64) that builds the dashboard + cross-correct Go API and
   publishes xworkspace-console-runtime-darwin-{arm64,amd64}.tar.gz, fixing the
   macOS deploy 404. publish now needs both build jobs and globs all runtimes.

B) offline-package workflow: GitHub caps release assets at 2 GiB. Split any
   package >= 2 GiB into 1900 MiB parts plus a <name>.parts manifest and upload
   the parts. The offline bootstrap (download_offline_split) falls back to the
   manifest and reassembles the parts when the single asset is absent. Verified
   the split/reassemble round-trips byte-for-byte.
2026-06-19 22:17:11 +00:00
Haitao Pan
2cb26128fb fix: delete existing offline release assets before upload 2026-06-18 18:05:24 +08:00
Haitao Pan
c6335c2dcf fix: preserve exact runtime asset names 2026-06-15 22:02:52 +08:00
Haitao Pan
6f85f4d183 feat: aggregate prebuilt workspace releases 2026-06-15 21:59:35 +08:00
Haitao Pan
73762d498f feat: bundle Python 3.13 for Ubuntu 26.04 2026-06-15 15:44:59 +08:00
Haitao Pan
572f736ce5 fix: bundle portable offline runtime assets 2026-06-15 15:13:21 +08:00
Haitao Pan
a457a9f438 fix: consume packaged runtime sources offline 2026-06-15 14:43:48 +08:00
Haitao Pan
3b6b03da95 feat: prefer idempotent offline runtime installs 2026-06-15 14:32:36 +08:00
Haitao Pan
fe8f3e38e0 fix: upload offline packages with retries 2026-06-14 14:22:59 +08:00
Haitao Pan
65bb07ab06 feat: build offline AI Workspace installer packages 2026-06-14 13:50:36 +08:00