Skip to content

Commit 5ab4e6f

Browse files
committed
chore: clean up editor metadata
1 parent 54a81e0 commit 5ab4e6f

5 files changed

Lines changed: 24 additions & 26 deletions

File tree

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ USER.md
9797
*.tar.gz
9898
*.zip
9999
.idea
100+
.vscode/
100101

101102
# local tooling
102103
.serena/
@@ -190,12 +191,21 @@ changelog/fragments/
190191

191192
# Local scratch workspace
192193
.tmp/
194+
.cache/
195+
.pytest_cache/
196+
.ruff_cache/
197+
.mypy_cache/
193198
.vmux*
194199
.artifacts/
195200
.openclaw-config-doc-cache/
196201
openclaw-path-alias-*/
197202
/.pi/
198203
/C:\\openclaw/
204+
*.log
205+
*.tmp
206+
*.heapsnapshot
207+
*.cpuprofile
208+
*.prof
199209
test/fixtures/openclaw-vitest-unit-report.json
200210
analysis/
201211
.artifacts/qa-e2e/

.vscode/extensions.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

scripts/changed-lanes.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const APP_PATH_RE = /^(?:apps\/|Swabble\/|appcast\.xml$)/u;
99
const EXTENSION_PATH_RE = /^extensions\/[^/]+(?:\/|$)/u;
1010
const CORE_PATH_RE = /^(?:src\/|ui\/|packages\/)/u;
1111
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;
1313
const ROOT_GLOBAL_PATH_RE =
1414
/^(?:package\.json$|pnpm-lock\.yaml$|pnpm-workspace\.yaml$|tsdown\.config\.ts$|vitest\.config\.ts$)/u;
1515
const LIVE_DOCKER_TOOLING_PATH_RE =

test/scripts/changed-lanes.test.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,19 @@ describe("scripts/changed-lanes", () => {
320320
expect(plan.commands.map((command) => command.args[0])).not.toContain("test");
321321
});
322322

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+
323336
it("routes legacy root sandbox Dockerfile moves to tooling instead of all lanes", () => {
324337
const result = detectChangedLanes([
325338
"Dockerfile.sandbox",

0 commit comments

Comments
 (0)