惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
G
Google Developers Blog
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
博客园 - 聂微东
V
Visual Studio Blog
博客园_首页
D
DataBreaches.Net
腾讯CDC
I
InfoQ
F
Fortinet All Blogs
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
云风的 BLOG
云风的 BLOG
月光博客
月光博客
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
C
Check Point Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(ci): run cross-os checks on Windows · openclaw/opencl...
vincentkoc · 2026-05-04 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -41,6 +41,7 @@ Docs: https://docs.openclaw.ai

4141
4242

### Fixes

4343
44+

- Release validation: install the cross-OS TypeScript harness through Windows-safe Node/npm shims so native Windows package checks reach the OpenClaw smoke suites instead of exiting before artifact capture. Thanks @vincentkoc.

4445

- Agents/bootstrap: keep pending `BOOTSTRAP.md` and bootstrap truncation notices in system-prompt Project Context instead of copying setup text or raw warning diagnostics into WebChat user/runtime context. Fixes #76946.

4546

- Channels/WhatsApp: allow `@whiskeysockets/libsignal-node` in `onlyBuiltDependencies` so pnpm v9+ `blockExoticSubdeps` no longer rejects the baileys git-tarball subdep and silences all inbound agent replies. Fixes #76539. Thanks @ottodeng and @vincentkoc.

4647

- Gateway/install: keep `.env`-managed values in the macOS LaunchAgent env file while still tracking `OPENCLAW_SERVICE_MANAGED_ENV_KEYS`, so regenerated services do not boot without managed auth/provider keys. Fixes #75374.

Original file line numberDiff line numberDiff line change

@@ -15,34 +15,54 @@ if ! command -v node >/dev/null 2>&1 || ! command -v npm >/dev/null 2>&1; then

1515

fi

1616

fi

1717
18+

node_cmd="node"

19+

npm_cmd="npm"

20+

if command -v cygpath >/dev/null 2>&1; then

21+

if command -v node.exe >/dev/null 2>&1; then

22+

node_cmd="node.exe"

23+

fi

24+

if command -v npm.cmd >/dev/null 2>&1; then

25+

npm_cmd="npm.cmd"

26+

elif command -v npm.exe >/dev/null 2>&1; then

27+

npm_cmd="npm.exe"

28+

fi

29+

fi

30+
1831

temp_root="${OPENCLAW_RELEASE_TSX_TOOL_ROOT:-${RUNNER_TEMP:-${TMPDIR:-/tmp}}}"

1932

if command -v cygpath >/dev/null 2>&1; then

2033

temp_root="$(cygpath -u "${temp_root}")"

2134

fi

2235
2336

tool_dir="${OPENCLAW_RELEASE_TSX_TOOL_DIR:-${temp_root}/openclaw-release-tsx-${tsx_version}}"

2437

loader_path="${tool_dir}/node_modules/tsx/dist/loader.mjs"

38+

npm_tool_dir="${tool_dir}"

39+

if command -v cygpath >/dev/null 2>&1; then

40+

npm_tool_dir="$(cygpath -w "${tool_dir}")"

41+

fi

2542
26-

command -v node >/dev/null 2>&1 || {

43+

command -v "${node_cmd}" >/dev/null 2>&1 || {

2744

echo "node is required to run cross-OS release checks." >&2

2845

exit 127

2946

}

30-

command -v npm >/dev/null 2>&1 || {

47+

command -v "${npm_cmd}" >/dev/null 2>&1 || {

3148

echo "npm is required to install the cross-OS release-check loader." >&2

3249

exit 127

3350

}

3451
3552

if [[ ! -f "${loader_path}" ]]; then

3653

mkdir -p "${tool_dir}"

37-

npm install --prefix "${tool_dir}" --no-save --no-package-lock "tsx@${tsx_version}" >/dev/null

54+

if ! "${npm_cmd}" install --prefix "${npm_tool_dir}" --no-save --no-package-lock "tsx@${tsx_version}" >/dev/null; then

55+

echo "failed to install cross-OS release-check loader with ${npm_cmd}." >&2

56+

exit 127

57+

fi

3858

fi

3959
4060

loader_url="$(

41-

node -e '

61+

"${node_cmd}" -e '

4262

const { resolve } = require("node:path");

4363

const { pathToFileURL } = require("node:url");

4464

process.stdout.write(pathToFileURL(resolve(process.argv[1])).href);

4565

' "${loader_path}"

4666

)"

4767
48-

exec node --import "${loader_url}" "${script_path}" "$@"

68+

exec "${node_cmd}" --import "${loader_url}" "${script_path}" "$@"

Original file line numberDiff line numberDiff line change

@@ -2,6 +2,7 @@ import { readFileSync } from "node:fs";

22

import { describe, expect, it } from "vitest";

33
44

const WORKFLOW_PATH = ".github/workflows/openclaw-cross-os-release-checks-reusable.yml";

5+

const WRAPPER_PATH = "scripts/github/run-openclaw-cross-os-release-checks.sh";

56

const HARNESS = "bash workflow/scripts/github/run-openclaw-cross-os-release-checks.sh";

67
78

describe("cross-OS release checks workflow", () => {

@@ -11,4 +12,13 @@ describe("cross-OS release checks workflow", () => {

1112

expect(workflow).toContain(HARNESS);

1213

expect(workflow).not.toContain('pnpm dlx "tsx@${TSX_VERSION}"');

1314

});

15+
16+

it("uses Windows-safe npm resolution for the TypeScript loader bootstrap", () => {

17+

const wrapper = readFileSync(WRAPPER_PATH, "utf8");

18+
19+

expect(wrapper).toContain("command -v npm.cmd");

20+

expect(wrapper).toContain('npm_tool_dir="$(cygpath -w "${tool_dir}")"');

21+

expect(wrapper).toContain('"${npm_cmd}" install --prefix "${npm_tool_dir}"');

22+

expect(wrapper).toContain('exec "${node_cmd}" --import "${loader_url}"');

23+

});

1424

});