Repository navigation
fix(install): jtag-bin link is non-fatal when old Node jtag is absent — unblocks carl-install-smoke + handoff - #1852
Merged
Conversation
… — unblocks carl-install-smoke + handoff
carl-install-smoke (the `curl install.sh | bash` gate = Carl's REAL entry) has been RED for 8+ runs. Pulled
the CI install.log artifact (`gh run download`) and root-caused it — NOT a guess: install.sh dies at exactly
✗ [jtag-bin] source binary missing at: /tmp/carl-smoke-XXXX/src/jtag
`mod_jtag_bin_link` (tools/scripts/lib/install-common.sh) called `module_fail` → `exit 1` when `src/jtag` is
absent. But `src/jtag` is the OLD Node CLI, moved to legacy/ (#1840) — not part of a headless-core install.
So the installer aborted at ~49s on an optional, retired client.
- install-common.sh: the missing/empty-source branch now `module_skip`s + `return 0` (the core plus the
`continuum` / `cu` CLIs are the deliverable; the old `jtag` is optional). Unit-verified in isolation on
macOS: `mod_jtag_bin_link /nonexistent → RETURN CODE: 0` (was `exit 1`), empty arg → 0 too.
- docs/CARL-INSTALL-SMOKE-HANDOFF.md: full handoff for the WSL-equipped follow — the root cause, the fix, the
repro command (`bash scripts/ci/carl-install-smoke.sh`), the exit-code map (1 fixed → next likely 2, the
IPC-socket-up check; 4/5/6 advisory), the TWO-install.sh compression landmine (repo-root 1183-line curl
entry vs tools/scripts 747-line npm entry — independent drift to reconcile), and the stale-comment cleanup.
This gets install.sh past the fatal so `compose up` runs; a real Linux/WSL smoke run verifies it green from
here (that's the handoff). Reliability spine #1 (install).
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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.
carl-install-smoke (the
curl install.sh | bashgate = Carl's REAL entry) has been RED for 8+ runs. Pulledthe CI install.log artifact (
gh run download) and root-caused it — NOT a guess: install.sh dies at exactlymod_jtag_bin_link(tools/scripts/lib/install-common.sh) calledmodule_fail→exit 1whensrc/jtagisabsent. But
src/jtagis the OLD Node CLI, moved to legacy/ (#1840) — not part of a headless-core install.So the installer aborted at ~49s on an optional, retired client.
module_skips +return 0(the core plus thecontinuum/cuCLIs are the deliverable; the oldjtagis optional). Unit-verified in isolation onmacOS:
mod_jtag_bin_link /nonexistent → RETURN CODE: 0(wasexit 1), empty arg → 0 too.repro command (
bash scripts/ci/carl-install-smoke.sh), the exit-code map (1 fixed → next likely 2, theIPC-socket-up check; 4/5/6 advisory), the TWO-install.sh compression landmine (repo-root 1183-line curl
entry vs tools/scripts 747-line npm entry — independent drift to reconcile), and the stale-comment cleanup.
This gets install.sh past the fatal so
compose upruns; a real Linux/WSL smoke run verifies it green fromhere (that's the handoff). Reliability spine #1 (install).
Co-Authored-By: Claude Opus 4.8 [email protected]
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo