chore: clean up editor metadata · openclaw/openclaw@5ab4e6f
steipete
·
2026-05-03
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -97,6 +97,7 @@ USER.md
|
97 | 97 | *.tar.gz |
98 | 98 | *.zip |
99 | 99 | .idea |
| 100 | +.vscode/ |
100 | 101 | |
101 | 102 | # local tooling |
102 | 103 | .serena/ |
@@ -190,12 +191,21 @@ changelog/fragments/
|
190 | 191 | |
191 | 192 | # Local scratch workspace |
192 | 193 | .tmp/ |
| 194 | +.cache/ |
| 195 | +.pytest_cache/ |
| 196 | +.ruff_cache/ |
| 197 | +.mypy_cache/ |
193 | 198 | .vmux* |
194 | 199 | .artifacts/ |
195 | 200 | .openclaw-config-doc-cache/ |
196 | 201 | openclaw-path-alias-*/ |
197 | 202 | /.pi/ |
198 | 203 | /C:\\openclaw/ |
| 204 | +*.log |
| 205 | +*.tmp |
| 206 | +*.heapsnapshot |
| 207 | +*.cpuprofile |
| 208 | +*.prof |
199 | 209 | test/fixtures/openclaw-vitest-unit-report.json |
200 | 210 | analysis/ |
201 | 211 | .artifacts/qa-e2e/ |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -9,7 +9,7 @@ const APP_PATH_RE = /^(?:apps\/|Swabble\/|appcast\.xml$)/u;
|
9 | 9 | const EXTENSION_PATH_RE = /^extensions\/[^/]+(?:\/|$)/u; |
10 | 10 | const CORE_PATH_RE = /^(?:src\/|ui\/|packages\/)/u; |
11 | 11 | const TOOLING_PATH_RE = |
12 | | -/^(?:scripts\/|test\/vitest\/|\.github\/|git-hooks\/|Dockerfile\.sandbox(?:-(?:browser|common))?$|vitest(?:\..+)?\.config\.ts$|tsconfig.*\.json$|\.gitignore$|\.oxlint.*|\.oxfmt.*)/u; |
| 12 | +/^(?:scripts\/|test\/vitest\/|\.github\/|\.vscode\/|git-hooks\/|Dockerfile\.sandbox(?:-(?:browser|common))?$|vitest(?:\..+)?\.config\.ts$|tsconfig.*\.json$|\.gitignore$|\.oxlint.*|\.oxfmt.*)/u; |
13 | 13 | const ROOT_GLOBAL_PATH_RE = |
14 | 14 | /^(?:package\.json$|pnpm-lock\.yaml$|pnpm-workspace\.yaml$|tsdown\.config\.ts$|vitest\.config\.ts$)/u; |
15 | 15 | const LIVE_DOCKER_TOOLING_PATH_RE = |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -320,6 +320,19 @@ describe("scripts/changed-lanes", () => {
|
320 | 320 | expect(plan.commands.map((command) => command.args[0])).not.toContain("test"); |
321 | 321 | }); |
322 | 322 | |
| 323 | +it("routes VS Code workspace settings to tooling instead of all lanes", () => { |
| 324 | +const result = detectChangedLanes([".vscode/settings.json", ".vscode/extensions.json"]); |
| 325 | +const plan = createChangedCheckPlan(result); |
| 326 | + |
| 327 | +expect(result.lanes).toMatchObject({ |
| 328 | +tooling: true, |
| 329 | +all: false, |
| 330 | +}); |
| 331 | +expect(plan.commands.map((command) => command.args[0])).toContain("lint:scripts"); |
| 332 | +expect(plan.commands.map((command) => command.args[0])).not.toContain("tsgo:all"); |
| 333 | +expect(plan.commands.map((command) => command.args[0])).not.toContain("test"); |
| 334 | +}); |
| 335 | + |
323 | 336 | it("routes legacy root sandbox Dockerfile moves to tooling instead of all lanes", () => { |
324 | 337 | const result = detectChangedLanes([ |
325 | 338 | "Dockerfile.sandbox", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。