Repository navigation
fix(install): decouple public install + smoke from the old Node client layer - #1689
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
carl-install-smokehas 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: atsxbuild step resolvesbrowser-index.tstotools/browser-index.tsinstead ofsrc/browser-index.ts, so its./browser/generatedimport ENOENTs ontools/browser/generated.ts— when the real, git-tracked file issrc/browser/generated.ts. Classic directory-reshuffle fallout from the headless-Rust work (same__dirname/../browser-index.ts→tools/bug is visible attools/scripts/build-browser-example.js:36).That break aborted the entire public
curl install.sh | bashbefore 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 hardfailthat aborted install.)scripts/ci/carl-install-smoke.shcontinuum-coreIPC socket (/root/.continuum/sockets/continuum-core.sock— the same signal as the compose healthcheck) viadocker compose exec. A pass now means the headless core serves IPC.:9003render + jtag chat-e2e assertions are advisory (default-skipped, loud), re-enablable withCARL_CHECK_WEB_CLIENT=1once the new client container lands and they're rewritten against the new surface.Validation
bash -nclean on both scripts.carl-install-smokerun: it should now get past the Node-bundle abort, bring upcontinuum-core, and gate on the core IPC socket.Roadmap
🤖 Generated with Claude Code