Repository navigation
Conversation
PRs and dispatchable feat SHAs need a Linux/Mac source-home signal; main-only Ubuntu compile left that path untested. Co-authored-by: Cursor <cursoragent@cursor.com>
setup-source-home.sh fails closed without ELASTOS_COLLABORATION_STARTUP_MODE; CI uses isolated, which needs no config input on a clean runner. Co-authored-by: Cursor <cursoragent@cursor.com>
The installer supports exactly three host tuples; this completes CI coverage of all three (linux-amd64, linux-arm64, darwin-arm64). Co-authored-by: Cursor <cursoragent@cursor.com>
Clean machines lack x86_64/aarch64-unknown-linux-musl; the script already ensures wasm32 the same way. Found by the source-home CI jobs (E0463 on all three tuples). Co-authored-by: Cursor <cursoragent@cursor.com>
|
@andersalm — you asked what we had in mind for install/build signal across machines. This PR is it, and it is running. What this is: the existing
What green proves: a clean machine can source-build and provision a Home on all three tuples the installer supports (linux-amd64, linux-arm64, darwin-arm64). Every PR gets this signal, and Why it matters for your stated gates: "New providers and capsules are present in the normal installer before any installed-product claim" becomes mechanically checkable — when the extraction branches land capsules, Honest limits: this is not the published Least-privilege by construction: |
elastos/tools/* manifests declare their own [workspace], so cargo writes to the tool's target/, not elastos/target. Dev machines masked this with stale binaries; clean CI runners fail at install. Found by source-home CI. Co-authored-by: Cursor <cursoragent@cursor.com>
local-carrier-setup-smoke's final check pipes 'q' into the interactive Home and greps for the banner. With no TTY (GitHub runners) the binary prints nothing and the check fails even though the Carrier install itself succeeded (30 installed, 1 skipped, checksums verified). Keep the direct path on real terminals; wrap with script(1) otherwise. Co-authored-by: Cursor <cursoragent@cursor.com>
setup-source-home hard-requires a VZ TURN program on darwin-arm64 in default mode, but MAC.md only listed node + e2fsprogs, so a fresh Mac following the guide failed at the final TURN step. Add coturn to the documented host tools and to the macOS CI leg that mirrors them. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Status update — the gate is doing its job. Since this PR opened it has caught four real clean-machine breaks that none of our dev machines surfaced:
Finds 1–2 are already proven green by the Linux legs in CI (setup + installed-provider verify both pass). Finds 3–4 are pushed and fresh runs are executing now — will confirm green here when they land. Net: "installer before installed-product claim" is now an executable gate on every PR across Linux x86_64, Linux arm64, and Apple Silicon — and it is finding exactly the class of break it exists to catch. |
Co-authored-by: Cursor <cursoragent@cursor.com>
The interactive check grepped for "ElastOS Home", a string the current home-cli never prints — its dashboard header is "Home CLI / <title>" and the capsule tests pin that the old brand string stays out. The rebrand commit renamed the expectation mechanically from "ElastOS PC2" and the lane has never been green since. The PTY wrapper treated the wrong symptom; the plain pipe captures the line-mode dashboard fine. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Closing as fully absorbed: everything this PR introduced reached Receipts, change by change against current
The base branch |
Summary
setup-source-home.shsupports:ubuntu-latest(linux-amd64),ubuntu-24.04-arm(linux-arm64), andmacos-14(darwin-arm64)..dmg, passkey Home, Browser VZ, or “installs on all devices.” Intel Mac, Windows, and Jetson have no installer path, so there is nothing for CI to run there.workflow_dispatchaccepts arefinput so a feat SHA can be tested without mixing this commit into feat(model-provider): offers/runs contract, openai_compat + h3_video adapters (stacked on collaboration-candidate) #17.scripts/installed-provider-verify.shaccepts macOSshasumwhen GNUsha256sumis absent (needed for the Mac source-home step).ELASTOS_COLLABORATION_STARTUP_MODE=isolated(required by the script; no config input on a clean runner).What green means
source-gate + source-home provisioned on clean GitHub VMs for all three supported host tuples. Not
curl | bashagainst the publisher, notjust verify-release, not a running gateway / GUI.Please do not mark these checks required until they have been green on the candidate several times.
Local commands the jobs run
source-gate (and the first half of source-macos):
source-home-linux (ubuntu-latest and ubuntu-24.04-arm):
source-macos (after the gate steps; host tools from
docs/MAC.mdonly):Does not start the gateway, mint a passkey, or run the Linux-only carrier smoke on Mac.
Test plan
source-gate,source-home-linux(amd64 + arm64),source-macosworkflow_dispatchwithref=feat/model-provider-rebasetests that SHA without adding a commit to feat(model-provider): offers/runs contract, openai_compat + h3_video adapters (stacked on collaboration-candidate) #17