diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f0b80f69..937d17fb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.1.23 - 2026-03-10 +### Fixed +- Fixed the Windows desktop managed-daemon smoke test to resolve repo paths correctly on GitHub Actions runners. + ## 0.1.22 - 2026-03-10 ### Fixed - Fixed the Windows desktop release runtime builder to package managed-runtime workspaces without relying on a fragile `npm pack` shell invocation in GitHub Actions. diff --git a/packages/desktop/scripts/managed-daemon-smoke.mjs b/packages/desktop/scripts/managed-daemon-smoke.mjs index 844fee2f7..1cacb8bce 100644 --- a/packages/desktop/scripts/managed-daemon-smoke.mjs +++ b/packages/desktop/scripts/managed-daemon-smoke.mjs @@ -5,12 +5,13 @@ import fs from "node:fs/promises"; import net from "node:net"; import os from "node:os"; import path from "node:path"; +import { fileURLToPath } from "node:url"; import { promisify } from "node:util"; import WebSocket from "ws"; import { createClientChannel } from "@getpaseo/relay/e2ee"; const execFileAsync = promisify(execFile); -const repoRoot = path.resolve(new URL("../../..", import.meta.url).pathname); +const repoRoot = fileURLToPath(new URL("../../..", import.meta.url)); const desktopRoot = path.join(repoRoot, "packages", "desktop"); const relayRoot = path.join(repoRoot, "packages", "relay"); const desktopPackageJson = JSON.parse(