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

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Jina AI
Jina AI
The Cloudflare Blog
V
Visual Studio Blog
博客园_首页
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
博客园 - Franky

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): route mac packaging scripts to macos checks · op...
vincentkoc · 2026-06-21 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1855,7 +1855,7 @@

18551855

"test:live:media:music": "node --import tsx scripts/test-live-media.ts music",

18561856

"test:live:media:video": "node --import tsx scripts/test-live-media.ts video",

18571857

"test:live:models-profiles": "node scripts/test-live.mjs -- src/agents/models.profiles.live.test.ts",

1858-

"test:macos:ci": "node scripts/test-projects.mjs src/daemon/launchd.test.ts src/daemon/runtime-paths.test.ts src/daemon/runtime-binary.test.ts src/infra/brew.test.ts src/infra/stable-node-path.test.ts test/scripts/vitest-process-group.test.ts test/scripts/package-mac-app.test.ts test/scripts/package-mac-dist.test.ts test/scripts/create-dmg.test.ts",

1858+

"test:macos:ci": "node scripts/test-projects.mjs src/daemon/launchd.test.ts src/daemon/runtime-paths.test.ts src/daemon/runtime-binary.test.ts src/infra/brew.test.ts src/infra/stable-node-path.test.ts test/scripts/vitest-process-group.test.ts test/scripts/package-mac-app.test.ts test/scripts/package-mac-dist.test.ts test/scripts/create-dmg.test.ts test/scripts/codesign-mac-app.test.ts test/scripts/notarize-mac-artifact.test.ts",

18591859

"test:max": "node scripts/test-projects-max.mjs",

18601860

"test:parallels:linux": "bash scripts/e2e/parallels-linux-smoke.sh",

18611861

"test:parallels:macos": "bash scripts/e2e/parallels-macos-smoke.sh",

Original file line numberDiff line numberDiff line change

@@ -57,7 +57,8 @@ const ANDROID_VERSION_SYNC_PATHS = new Set([

5757

"apps/android/fastlane/metadata/android/en-US/release_notes.txt",

5858

"apps/android/version.json",

5959

]);

60-

const MACOS_APP_CI_PATH_RE = /^(?:apps\/(?:macos|macos-mlx-tts|shared|swabble)\/|Swabble\/)/u;

60+

const MACOS_APP_CI_PATH_RE =

61+

/^(?:apps\/(?:macos|macos-mlx-tts|shared|swabble)\/|Swabble\/|scripts\/(?:codesign-mac-app|create-dmg|notarize-mac-artifact|package-mac-app|package-mac-dist)\.sh$|scripts\/lib\/plistbuddy\.sh$|test\/scripts\/(?:codesign-mac-app|create-dmg|notarize-mac-artifact|package-mac-app|package-mac-dist)\.test\.ts$)/u;

6162

let corepackPnpmShimDir;

6263

let corepackPnpmShimCleanupRegistered = false;

6364

@@ -414,7 +415,7 @@ export function createChangedCheckPlan(result, options = {}) {

414415

} else if (lanes.apps) {

415416

addLint("lint apps", ["lint:apps"]);

416417

}

417-

if (lanes.apps && hasMacosAppCiPath(result.paths)) {

418+

if (hasMacosAppCiPath(result.paths)) {

418419

add("macOS app CI tests", ["test:macos:ci"], baseEnv);

419420

}

420421
Original file line numberDiff line numberDiff line change

@@ -34,7 +34,8 @@ const INSTALL_SMOKE_WORKFLOW_SCOPE_RE = /^\.github\/workflows\/install-smoke\.ym

3434

const NATIVE_PROTOCOL_GEN_RE = /^apps\/shared\/OpenClawKit\/Sources\/OpenClawProtocol\//;

3535

const MACOS_NATIVE_RE =

3636

/^(apps\/macos\/|apps\/macos-mlx-tts\/|apps\/ios\/|apps\/shared\/|apps\/swabble\/|Swabble\/)/;

37-

const MACOS_SCRIPT_SCOPE_RE = /^(scripts\/create-dmg\.sh|test\/scripts\/create-dmg\.test\.ts)$/;

37+

const MACOS_SCRIPT_SCOPE_RE =

38+

/^(?:scripts\/(?:codesign-mac-app|create-dmg|notarize-mac-artifact|package-mac-app|package-mac-dist)\.sh|scripts\/lib\/plistbuddy\.sh|test\/scripts\/(?:codesign-mac-app|create-dmg|notarize-mac-artifact|package-mac-app|package-mac-dist)\.test\.ts)$/;

3839

const ANDROID_NATIVE_RE = /^(apps\/android\/|apps\/shared\/)/;

3940

const NODE_SCOPE_RE =

4041

/^(src\/|test\/|extensions\/|packages\/|scripts\/|ui\/|\.github\/|openclaw\.mjs$|package\.json$|pnpm-lock\.yaml$|pnpm-workspace\.yaml$|tsconfig.*\.json$|vitest.*\.ts$|tsdown\.config\.ts$|\.oxlintrc\.json$|\.oxfmtrc\.jsonc$)/;

Original file line numberDiff line numberDiff line change

@@ -296,27 +296,44 @@ describe("detectChangedScope", () => {

296296

});

297297
298298

it("runs macOS CI for macOS packaging scripts with Darwin-only tests", () => {

299-

expect(detectChangedScope(["scripts/create-dmg.sh"])).toEqual({

300-

runNode: true,

301-

runMacos: true,

302-

runAndroid: false,

303-

runWindows: false,

304-

runSkillsPython: false,

305-

runChangedSmoke: false,

306-

runControlUiI18n: false,

307-

});

299+

for (const changedPath of [

300+

"scripts/codesign-mac-app.sh",

301+

"scripts/create-dmg.sh",

302+

"scripts/lib/plistbuddy.sh",

303+

"scripts/notarize-mac-artifact.sh",

304+

"scripts/package-mac-app.sh",

305+

"scripts/package-mac-dist.sh",

306+

]) {

307+

expect(detectChangedScope([changedPath])).toEqual({

308+

runNode: true,

309+

runMacos: true,

310+

runAndroid: false,

311+

runWindows: false,

312+

runSkillsPython: false,

313+

runChangedSmoke: false,

314+

runControlUiI18n: false,

315+

});

316+

}

308317

});

309318
310-

it("runs macOS CI for the Darwin-only DMG owner test", () => {

311-

expect(detectChangedScope(["test/scripts/create-dmg.test.ts"])).toEqual({

312-

runNode: true,

313-

runMacos: true,

314-

runAndroid: false,

315-

runWindows: false,

316-

runSkillsPython: false,

317-

runChangedSmoke: false,

318-

runControlUiI18n: false,

319-

});

319+

it("runs macOS CI for Darwin-only mac packaging owner tests", () => {

320+

for (const changedPath of [

321+

"test/scripts/codesign-mac-app.test.ts",

322+

"test/scripts/create-dmg.test.ts",

323+

"test/scripts/notarize-mac-artifact.test.ts",

324+

"test/scripts/package-mac-app.test.ts",

325+

"test/scripts/package-mac-dist.test.ts",

326+

]) {

327+

expect(detectChangedScope([changedPath])).toEqual({

328+

runNode: true,

329+

runMacos: true,

330+

runAndroid: false,

331+

runWindows: false,

332+

runSkillsPython: false,

333+

runChangedSmoke: false,

334+

runControlUiI18n: false,

335+

});

336+

}

320337

});

321338
322339

it("runs Windows only for Windows-relevant changes", () => {

Original file line numberDiff line numberDiff line change

@@ -1502,6 +1502,40 @@ describe("scripts/changed-lanes", () => {

15021502

}

15031503

});

15041504
1505+

it("runs macOS app CI tests for macOS packaging scripts and owner tests", () => {

1506+

for (const changedPath of [

1507+

"scripts/codesign-mac-app.sh",

1508+

"scripts/create-dmg.sh",

1509+

"scripts/lib/plistbuddy.sh",

1510+

"scripts/notarize-mac-artifact.sh",

1511+

"scripts/package-mac-app.sh",

1512+

"scripts/package-mac-dist.sh",

1513+

"test/scripts/codesign-mac-app.test.ts",

1514+

"test/scripts/create-dmg.test.ts",

1515+

"test/scripts/notarize-mac-artifact.test.ts",

1516+

"test/scripts/package-mac-app.test.ts",

1517+

"test/scripts/package-mac-dist.test.ts",

1518+

]) {

1519+

const result = detectChangedLanes([changedPath]);

1520+

const plan = createChangedCheckPlan(result, {

1521+

env: { PATH: "/usr/bin" },

1522+

platform: "linux",

1523+

swiftlintAvailable: false,

1524+

});

1525+
1526+

expectLanes(result.lanes, {

1527+

tooling: true,

1528+

});

1529+

expect(plan.commands.map((command) => command.args[0])).not.toContain("lint:apps");

1530+

expect(plan.commands).toContainEqual(

1531+

expect.objectContaining({

1532+

name: "macOS app CI tests",

1533+

args: ["test:macos:ci"],

1534+

}),

1535+

);

1536+

}

1537+

});

1538+
15051539

it("routes appcast changes to appcast owner tests", () => {

15061540

const result = detectChangedLanes(["appcast.xml"]);

15071541

const plan = createChangedCheckPlan(result);

Original file line numberDiff line numberDiff line change

@@ -377,6 +377,8 @@ describe("package-mac-app plist stamping", () => {

377377

expect(macosCi).toContain("test/scripts/package-mac-app.test.ts");

378378

expect(macosCi).toContain("test/scripts/package-mac-dist.test.ts");

379379

expect(macosCi).toContain("test/scripts/create-dmg.test.ts");

380+

expect(macosCi).toContain("test/scripts/codesign-mac-app.test.ts");

381+

expect(macosCi).toContain("test/scripts/notarize-mac-artifact.test.ts");

380382

});

381383
382384

it("fails closed when required Swift resources are missing", () => {