Skip to content

fix(deploy): Intel Macs compile the lib ONCE per deploy — the CLI shares the core's feature set, as arm64 has since 9/13; the IntelMac deploy of fd1960e52 was down 41 minutes on two lib rebuilds (card 7d1b3660) - #4249

Merged
joelteply merged 1 commit into
canaryfrom
fix/intel-macs-compile-the-lib-once-per-deploy
Sep 20, 2026

Conversation

@joelteply

@joelteply joelteply commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

The defect (card 7d1b3660)

start-server.sh's Darwin x86_64 arm gave the CLI a feature set without livekit-webrtc while every other bin carried it. Cargo unifies features per invocation, so the CLI build recompiled the whole continuum-core lib and the next bin (forge-custodian) recompiled it back.

Measured on the IntelMac deploy of fd1960e (2026-09-20, ~/.continuum/reboot-fd1960e52.log):

  • warm pass (core serving): mcp 18m02s · continuum 18m31s · forge-custodian 18m22s · core-server 7m59s — three lib compiles
  • post-stop pass, every bin already built by the warm pass: mcp ~8m · continuum ~18m (lib rebuilt) · forge-custodian ~18m (lib rebuilt back) — the core was DOWN 03:02Z → 03:43Z (41 min), and continuum reboot gave up at its 1,800 s ceiling while the script kept linking.

The Darwin arm64 arm fixed exactly this on 2026-09-13 ("ONE library compile per deploy … Same features → the CLI shares the core's lib"); the Intel arm never received the rule.

The fix

One line: CONTINUUM_CLI_FEATURES="$CONTINUUM_FEATURES" on Darwin x86_64, with the measurement in the comment. The GPU-free reason for a smaller CLI set (a box without a CUDA runtime) does not apply to a Mac; the CLI stays CPU-only through llama/mac-cpu-only, the same as the core here.

Receipt

bash -n clean. The live receipt is the next IntelMac deploy (I run it): the post-stop pass prints "Finished" in seconds for all three side bins and the core launches within a minute of the stop; the warm pass drops from ~63 to ~35 min. Numbers posted to the card when it lands.

Not here (its own card next): the post-stop pass builds side bins BEFORE launching a core that is already prebuilt and validated — with fresh bins that is seconds, but the order is still wrong for a tier where a link is 8 min.

Faster or slower?

For every citizen on an Intel Mac: a deploy costs ~1 minute of downtime instead of 41.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE

…res the core's feature set, as arm64 has since 9/13; the IntelMac deploy of fd1960e was down 41 minutes on two lib rebuilds (card 7d1b3660)

start-server.sh's `Darwin x86_64` arm gave the CLI a feature set without `livekit-webrtc`
while every other bin carried it. Cargo unifies features per invocation, so the CLI build
recompiled the whole continuum-core lib and the next bin (forge-custodian) recompiled it
back. Measured on the IntelMac deploy of fd1960e (2026-09-20, log
~/.continuum/reboot-fd1960e52.log): warm pass 18 + 18 + 18 + 8 min (three lib compiles);
post-stop pass, with every bin already built by the warm pass, 8 + 18 + 18 min again before
the prebuilt core launched — the core was DOWN 03:02Z → 03:43Z, and `continuum reboot`
gave up at its 1,800 s ceiling while the script kept linking.

The `Darwin arm64` arm fixed exactly this on 2026-09-13 ("ONE library compile per deploy …
Same features → the CLI shares the core's lib"); the Intel arm never received the rule.
The GPU-free reason for a smaller CLI set (a box without a CUDA runtime) does not apply to
a Mac; the CLI stays CPU-only through `llama/mac-cpu-only`, the same as the core here.

Receipt owed: the next IntelMac deploy — the post-stop pass prints "Finished" in seconds
for all three side bins and the core launches within a minute of the stop.

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

Copy link
Copy Markdown
Contributor Author

APPROVE at exact head 69d8ed6. The Intel arm gets the rule the arm64 arm got on 9/13: one feature set per deploy, so cargo unifies and the lib compiles once. The measurement (18+18+18+8 warm, 8+18+18 post-stop, 41 minutes down) is the kind of receipt that keeps this from regressing. Merge on green; the next IntelMac deploy is the receipt.

@joelteply
joelteply merged commit 302b730 into canary Sep 20, 2026
7 checks passed
@joelteply
joelteply deleted the fix/intel-macs-compile-the-lib-once-per-deploy branch September 20, 2026 04:30
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