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

推荐订阅源

V
V2EX
Y
Y Combinator Blog
博客园_首页
V
Visual Studio Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志
Hugging Face - Blog
Hugging Face - Blog
宝玉的分享
宝玉的分享
B
Blog
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
WordPress大学
WordPress大学
L
LangChain Blog
爱范儿
爱范儿
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Proofpoint News Feed
Blog — PlanetScale
Blog — PlanetScale
C
Check Point Blog
博客园 - 聂微东
云风的 BLOG
云风的 BLOG
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Help Net Security

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
test(scripts): route docs i18n module changes · openclaw/...
vincentkoc · 2026-06-21 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -2677,6 +2677,13 @@ function resolveDocsI18nBehaviorTargets(changedPath) {

26772677

return ["test/scripts/docs-i18n-behavior.test.ts"];

26782678

}

26792679
2680+

function resolveDocsI18nGoTargets(changedPath) {

2681+

if (!/^scripts\/docs-i18n\/(?:go\.(?:mod|sum)|[^/]+\.go)$/u.test(changedPath)) {

2682+

return null;

2683+

}

2684+

return ["test/scripts/docs-i18n.test.ts"];

2685+

}

2686+
26802687

function resolveK8sManifestTargets(changedPath) {

26812688

if (!/^scripts\/k8s\/manifests\/[^/]+\.yaml$/u.test(changedPath)) {

26822689

return null;

@@ -2714,6 +2721,7 @@ function resolveToolingTestTargets(changedPath, cwd = process.cwd()) {

27142721

TOOLING_TEST_TARGETS.get(changedPath) ??

27152722

resolveUpgradeSurvivorConfigRecipeTargets(changedPath) ??

27162723

resolveDocsI18nBehaviorTargets(changedPath) ??

2724+

resolveDocsI18nGoTargets(changedPath) ??

27172725

resolveK8sManifestTargets(changedPath) ??

27182726

resolveParallelsToolingTestTargets(changedPath);

27192727

const conventionalTargets = resolveConventionalToolingTestTargets(changedPath, cwd);

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,15 @@

1+

// Docs i18n tests cover the Go module backing docs translation.

2+

import { spawnSync } from "node:child_process";

3+

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

4+
5+

describe("docs-i18n Go module", () => {

6+

it("passes Go tests", () => {

7+

const result = spawnSync("go", ["test", "./...", "-count=1"], {

8+

cwd: "scripts/docs-i18n",

9+

encoding: "utf8",

10+

});

11+
12+

expect(result.error).toBeUndefined();

13+

expect(result.status, result.stderr || result.stdout).toBe(0);

14+

});

15+

});

Original file line numberDiff line numberDiff line change

@@ -1084,6 +1084,19 @@ describe("scripts/test-projects changed-target routing", () => {

10841084

}

10851085

});

10861086
1087+

it("keeps docs i18n Go module edits on Go module tests", () => {

1088+

for (const modulePath of [

1089+

"scripts/docs-i18n/main.go",

1090+

"scripts/docs-i18n/main_test.go",

1091+

"scripts/docs-i18n/go.mod",

1092+

]) {

1093+

expect(resolveChangedTestTargetPlan([modulePath]), modulePath).toEqual({

1094+

mode: "targets",

1095+

targets: ["test/scripts/docs-i18n.test.ts"],

1096+

});

1097+

}

1098+

});

1099+
10871100

it("keeps k8s manifest edits on manifest tests", () => {

10881101

expect(resolveChangedTestTargetPlan(["scripts/k8s/manifests/configmap.yaml"])).toEqual({

10891102

mode: "targets",