Repository navigation
fix(sdk): hide spawned API server console window on Windows - #1089
Conversation
Performance change vs mainWorkflow run Β· main Clef gate: Clef estimated 19.4% default and single-threaded wall time, 16.7% peak RSS, 21.6% single-threaded instruction count impact probability. The main and PR tsrs-lintThe main and PR |
Merging this PR will not alter performanceWarning oxc-project has exceeded the Hobby plan limit of 5 active contributors. Upgrade your plan or apply to the open source program by December 8, 2026 to keep using CodSpeed. 1 warning
Comparing Footnotes
|
using
tsrs/syncortsrs/asyncfrom a console-less process on Windows (daemons, detached workers) opened a visible console window for every spawnedtsrs.exe, stealing focus.this adds
windowsHide: trueto thespawncalls insrc/api/async/client.tsandsrc/api/syncChannel.tsvia the SDK patch set innpm/sdk/patches/and updatesnpm/tsrs/UPSTREAM.jsonsosync-upstream.mjs --checkstays green. no unit test was added because verifying the Windows console window requires a Windows desktop host and mockingchild_process.spawnwould only restate the option. fixes #1076