Skip to content

ci(core-binaries): canary is compiled once per platform in CI and published; the feature mapping moves to one sourceable lib (card 30a8b3ac, slice 1) - #4691

Merged
joelteply merged 2 commits into
canaryfrom
ci/core-binaries-canary
Oct 4, 2026
Merged

joelteply merged 2 commits into
canaryfrom
ci/core-binaries-canary

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Every node compiled every canary commit itself: an IntelMac deploy of 63d0e4e
took ~10 h end to end (2026-10-03), and the M5's launchd refused freshly
compiled ad-hoc-signed cores. Joel: "end users do not compile. We host the
binary."

  • tools/scripts/lib/core-features.sh: select_core_features [uname -sm], moved
    verbatim from start-server.sh, which now sources it. CI and the on-node
    build read one mapping, so a downloaded binary is the program the node
    would have compiled.
  • .github/workflows/core-binaries.yml: on push to canary (core/** paths),
    build the four core bins on macos-latest (Metal) and macos-15-intel
    (CPU-only), release profile with LTO off; assert continuum --version
    reports the commit; publish continuum-core-.tar.gz + .sha256 +
    .json manifest (git_sha, features, sha256) to prerelease canary-.
    Newest tip wins (cancel-in-progress); keep the newest 20 canary releases.
  • Linux/Windows legs follow; their GPU flavor must be named per leg, since
    cargo-features.sh probes the runner. Slice 2: deploy-consume downloads.

Verified locally: start-server-build-only.test.sh passes (fixture copies the
new lib); the Package step, run against this node's c839ac6 binaries,
produced a tarball whose .sha256 verifies, and refused a mismatched sha.

Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

@joelteply

Copy link
Copy Markdown
Contributor Author

Evidence: run 37156858999 at cbd2497 (PR event: build + package, no publish).

leg runner features (from lib/core-features.sh) continuum --version archive time (cold cache)
macos-arm64 macos-latest --features metal,accelerate build 5904, sha fbd58bb 190.4 MB 58m12s
macos-x86_64 macos-15-intel --no-default-features --features livekit-webrtc,llama/mac-cpu-only build 5904, sha fbd58bb 200.5 MB 1h13m14s
  • fbd58bb is the PR merge ref, which is what a pull_request run builds. On a canary push GITHUB_SHA is the canary commit, and the same assertion checks it.
  • Build 5904 matches canary's commit count, so the blobless full-history checkout stamps the right number.
  • Locally (an earlier comment on this PR) the Package step refused a mismatched sha and produced a tarball whose .sha256 verifies.
  • Publish and prune are skipped on PRs by design; the first publish happens on the merge to canary.

Against today's on-node build: the IntelMac's deploy of b8dd32d has been compiling since 21:30Z. CI produced the Intel binary in 73 minutes cold, once, for every Intel Mac. Warm-cache runs will be shorter; I'll post the first canary push timing.

joelteply and others added 2 commits October 3, 2026 18:37
…lished; the feature mapping moves to one sourceable lib (card 30a8b3ac, slice 1)

Every node compiled every canary commit itself: an IntelMac deploy of 63d0e4e
took ~10 h end to end (2026-10-03), and the M5's launchd refused freshly
compiled ad-hoc-signed cores. Joel: "end users do not compile. We host the
binary."

- tools/scripts/lib/core-features.sh: select_core_features [uname -sm], moved
  verbatim from start-server.sh, which now sources it. CI and the on-node
  build read one mapping, so a downloaded binary is the program the node
  would have compiled.
- .github/workflows/core-binaries.yml: on push to canary (core/** paths),
  build the four core bins on macos-latest (Metal) and macos-15-intel
  (CPU-only), release profile with LTO off; assert `continuum --version`
  reports the commit; publish continuum-core-<platform>.tar.gz + .sha256 +
  .json manifest (git_sha, features, sha256) to prerelease canary-<sha12>.
  Newest tip wins (cancel-in-progress); keep the newest 20 canary releases.
- Linux/Windows legs follow; their GPU flavor must be named per leg, since
  cargo-features.sh probes the runner. Slice 2: deploy-consume downloads.

Verified locally: start-server-build-only.test.sh passes (fixture copies the
new lib); the Package step, run against this node's c839ac6 binaries,
produced a tarball whose .sha256 verifies, and refused a mismatched sha.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
@joelteply
joelteply force-pushed the ci/core-binaries-canary branch from cbd2497 to 3e8d33b Compare October 3, 2026 23:37
@joelteply
joelteply merged commit 54cbe93 into canary Oct 4, 2026
11 checks passed
@joelteply
joelteply deleted the ci/core-binaries-canary branch October 4, 2026 00:55
joelteply added a commit that referenced this pull request Oct 4, 2026
…floor; macOS binaries stop linking Homebrew openssl (card ab567967) (#4698)

Joel, 2026-10-03: "We are wanting to avoid cloud entirely." Edge-TTS (Microsoft
cloud) was the PRIMARY persona voice, so persona speech text left the machine,
against the README's "Nothing leaves your machine".

It was also the only reason macOS binaries linked /usr/local or /opt/homebrew
openssl@3 (msedge-tts → isahc → curl → curl-sys → openssl-sys; Fable measured
it on the M5, and I measured it on the IntelMac core and CLI), so a downloaded
binary could not launch on a Mac without Homebrew.

- Delete live/audio/tts/edge.rs, its registration, the msedge-tts dependency
  (lockfile: msedge-tts, isahc, curl, curl-sys gone), and Edge voice naming
  in avatar/gender.rs.
- Default and fall-through order: kokoro → pocket → orpheus → piper. Kokoro
  (82M ONNX, ~97 ms) is the backwards-compatibility floor until the
  LoRA-learned voice takes the top seat (docs/planning/VOICE-ENGINE-PLAN.md).
- core-binaries.yml: fail the Package step if any bin links a library outside
  /usr/lib or /System, and pin MACOSX_DEPLOYMENT_TARGET=11.0 (Fable, #4691).

Verified: `cargo tree -p continuum-core -i openssl-sys` prints nothing for
x86_64-apple-darwin and aarch64-apple-darwin; the Linux target still reaches
it through native-tls (positive control). The new otool gate, run against
this node's pre-change binaries, flags exactly libssl and libcrypto.


Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
joelteply added a commit that referenced this pull request Oct 4, 2026
…verdict (#4706)

* fix(deploy): core-binaries is an artifact publisher, never the tip's verdict

Since #4691 every canary push runs core-binaries.yml (44-73 min per macOS leg, cancel-in-
progress on the branch), and the tracker counted its check-runs in the tip's verdict. On
2026-10-04 the M5 sat at ChecksPending from 01:36Z to 04:00Z across five merges and
deployed nothing: no tip was green before the next merge cancelled its run. The same
verdict holds every node that reads it.

core-binaries.yml joins NON_DEPLOY_WORKFLOW_PATHS beside promote-main: it publishes the
tip's prebuilt core and judges no code; the deploy consumer waits for that artifact on its
own budget (#4702). A tip whose own suites are green is deployable the moment they are.
Test pins: in-flight = green, cancelled = green, core-binaries as the only suite = unknown.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* fix(promote-main): core-binaries is excluded from the promote verdict too (Cormac on #4706)

promote-main.yml carries its own copy of the verdict rule and treats cancelled as a hard
fail; a core-binaries run superseded by the next push would have blocked the daily
canary -> main promotion the same way it held the deploy tracker.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant