4 months ago
4092dc6Avoid constructing the source-only workspace launcher during packaged sidecar boot. Packaged desktop smoke enables the web desktop service for state and transcript routes, but the nested source launcher is only needed if a web desktop client explicitly starts another workspace server. This prevents downloaded packaged Windows ARM64 artifacts from failing startup while resolving a repository root from resources/binaries/server. Verification: bun test test/webDesktopRoutes.test.ts test/server.test.ts test/build-desktop-resources.test.ts test/releaseBuildUtils.test.ts; bun run typecheck; bun run docs:check; COWORK_BUILD_PLATFORM=win32 COWORK_BUILD_ARCH=arm64 bun run build:desktop-resources; packaged-style sidecar smoke with COWORK_WEB_DESKTOP_SERVICE=1; bun test.
Parentf156e77