Migrate to CTT 4 with Linux#11
Open
AlCalzone wants to merge 8 commits into
Open
Conversation
Replace the five .ps1 setup scripts with directly-executable .ts equivalents (shebang + chmod) for native Linux: download the Z-Wave stack binaries and CTT 4 archive, unpack the CTT archive into ctt/bin/ + ~/.ctt-4/, and unpack/pack the network-state archive. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Run the stack and CTT 4 as native POSIX processes instead of via WSL/ taskkill: detached process groups with negative-PID group kills, name-based orphan sweeps, and a force-quit on a second shutdown signal. Switch TS execution to --experimental-strip-types. Adapt the harness to CTT Remote 4's protocol, which streams all test output (and verdicts) through generalLogMsg rather than the CTT 3 testCaseLogMsg/ testCaseFinished methods: render that output, detect the current test, parse the final verdict, and synthesize testCaseFinished so results are captured. Make shutdown graceful: cleanup() owns the single cancelTestRun -> closeCTT sequence (no redundant double-close), and closeCTT treats an unreachable CTT as already-closed instead of retrying for ~15s. Auto-retry CTT launch to work around its intermittent startup crash. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Commit the CTT 4-migrated project (endpoint folder lowercased to root device/, migrated .cttsln and Config). Neutralize machine-specific, runtime-rewritten values for portability: KeysStoragePath and the Reports path, and strip transient per-run LogHistoryItem entries from the cttproj. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Switch the runner's TS execution to --experimental-strip-types and bump zwave-js to ^15.24.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace run-zwave-wsl.yml with run-zwave.yml: native Ubuntu runner with .NET 10, i386 libs for the 32-bit stack binaries, the executable .ts setup steps, and native zip log packaging. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the WSL/.NET Framework Windows instructions with native Linux prerequisites (.NET 10, i386 libs, python3, Node), npm run setup/start usage, and ss/pgrep/ldd troubleshooting. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Cut verbose detail from the native-Linux rewrite and explain that CTT must be vendored as a ctt-setup.zip (ctt-bin/ + appdata/), downloaded from a private repo, with self-hosting as the recommended approach. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
No description provided.