Skip to content

fix(install): decouple public install + smoke from the old Node client layer - #1689

Merged
joelteply merged 1 commit into
canaryfrom
fix/decouple-install-smoke-from-node-client
Jun 19, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/decouple-install-smoke-from-node-client

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Why

carl-install-smoke has been red across all of canary — every PR this session merged with it failing. Root cause is not a timeout (the "72s" was elapsed-to-failure, nowhere near the 1500s limit). It's a dead-layer build break: a tsx build step resolves browser-index.ts to tools/browser-index.ts instead of src/browser-index.ts, so its ./browser/generated import ENOENTs on tools/browser/generated.ts — when the real, git-tracked file is src/browser/generated.ts. Classic directory-reshuffle fallout from the headless-Rust work (same __dirname/../browser-index.ts → tools/ bug is visible at tools/scripts/build-browser-example.js:36).

That break aborted the entire public curl install.sh | bash before the headless core ever came up — gating the install path on a doomed layer.

Per direction: the old Node/TS client is being reinvented on the new client SDK (screenshot-as-spec, its own modular container — roadmap #29), not repaired. So we decouple install + smoke from it rather than deep-fix the dead layer (#28).

What

install.sh — host-side jtag CLI bundle build is now best-effort / non-blocking. On failure it warns loudly and continues; the headless Rust core is the install deliverable and comes up via the container runtime regardless. (Was a hard fail that aborted install.)

scripts/ci/carl-install-smoke.sh

  • New primary gate: wait for the continuum-core IPC socket (/root/.continuum/sockets/continuum-core.sock — the same signal as the compose healthcheck) via docker compose exec. A pass now means the headless core serves IPC.
  • The old widget-server :9003 render + jtag chat-e2e assertions are advisory (default-skipped, loud), re-enablable with CARL_CHECK_WEB_CLIENT=1 once the new client container lands and they're rewritten against the new surface.

Validation

  • bash -n clean on both scripts.
  • The real validation is this PR's own carl-install-smoke run: it should now get past the Node-bundle abort, bring up continuum-core, and gate on the core IPC socket.

Roadmap

🤖 Generated with Claude Code

…t layer

The old Node/TS web client is being reinvented on the new client SDK
(screenshot-as-spec, own modular container), not repaired. Its build is
prone to directory-reshuffle breakage from the headless-Rust work — e.g.
carl-install-smoke has been RED across all of canary because a tsx build
step resolves browser-index.ts to tools/ instead of src/, so its
`./browser/generated` import ENOENTs (the real, git-tracked file is
src/browser/generated.ts). That dead-layer break aborted the whole public
`curl install.sh | bash` before the headless core ever came up.

Decouple both the installer and the smoke gate from that layer:

install.sh:
- Host-side jtag CLI bundle build is now BEST-EFFORT / non-blocking. On
  failure it warns loudly and CONTINUES — the headless Rust core is the
  install deliverable, brought up by the container runtime regardless.
  (Previously a hard `fail` aborted install on the Node build break.)

carl-install-smoke.sh:
- New PRIMARY gate: wait for the continuum-core IPC socket
  (/root/.continuum/sockets/continuum-core.sock, the same signal as the
  compose healthcheck) via `docker compose exec`. "Smoke passed" now means
  "the headless core serves IPC", independent of the Node web build.
- The old widget-server :9003 render + jtag chat-e2e assertions are now
  ADVISORY (default-skipped, loud), re-enablable with CARL_CHECK_WEB_CLIENT=1
  once the new client container lands and they're rewritten against it.

Roadmap: #28 (the dead-layer path break, intentionally NOT deep-fixed),
#29 (new Node/TS client SDK + app as a modular container on the new SDK).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@joelteply
joelteply merged commit 085beb4 into canary Jun 19, 2026
3 checks passed
@joelteply
joelteply deleted the fix/decouple-install-smoke-from-node-client branch June 19, 2026 23:15
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