From 18d6041f2fe21f9fe54a832fbdbee34ae685dc2f Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Fri, 27 Nov 2026 22:31:46 +0800 Subject: [PATCH] fix(ci): run language smoke when LSP snippet conversion changes (#6523) The breakpoint condition completion (#6509) imports src/editor/lsp/snippet.ts from the debugger code the frontend smoke loads, so scripts/smoke-paths.test.ts failed on main. The file is now in the workflow's paths and the Changes step's smoke pattern. --- .github/workflows/language-smoke.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/language-smoke.yml b/.github/workflows/language-smoke.yml index 83ac4e370..c7200f3a7 100644 --- a/.github/workflows/language-smoke.yml +++ b/.github/workflows/language-smoke.yml @@ -39,6 +39,7 @@ on: - "src/editor/lsp/hint.ts" - "src/editor/lsp/lsp.ts" - "src/editor/lsp/positions.ts" + - "src/editor/lsp/snippet.ts" - "src/bindings.ts" - "src/styles/tokens.css" - "src/test/setup.ts" @@ -106,7 +107,7 @@ jobs: # ide-lsp/dap/run/sdk/tools. unused='^crates/(ide-agent|ide-analysis|ide-android|ide-cli|ide-clipboard|ide-coverage|ide-db|ide-docker|ide-fonts|ide-github|ide-http|ide-mcp|ide-notebook|ide-profiler|ide-scaffold|ide-spell|ide-ssh|ide-vcs|ide-web)/' # The workflow's paths, less those handled per language below. - smoke='^(crates/|Cargo\.(toml|lock)$|src/features/(run|debugger|build|build-tools)/|src/platform/|src/workbench/|src/ui/|src/editor/(api|navigationProviders|relatedProviders|core/cm/(cornerInset|iconArea)|lsp/(availability|diagnostics|files|hint|lsp|positions))\.ts$|src/bindings\.ts$|src/styles/tokens\.css$|src/test/setup\.ts$|src-tauri/icons/128x128\.png$|smoke/|vite\.config\.ts$|tsconfig\.json$|package\.json$|pnpm-(lock|workspace)\.yaml$|patches/|\.github/workflows/language-smoke\.yml$|\.github/tool-versions\.env$)' + smoke='^(crates/|Cargo\.(toml|lock)$|src/features/(run|debugger|build|build-tools)/|src/platform/|src/workbench/|src/ui/|src/editor/(api|navigationProviders|relatedProviders|core/cm/(cornerInset|iconArea)|lsp/(availability|diagnostics|files|hint|lsp|positions|snippet))\.ts$|src/bindings\.ts$|src/styles/tokens\.css$|src/test/setup\.ts$|src-tauri/icons/128x128\.png$|smoke/|vite\.config\.ts$|tsconfig\.json$|package\.json$|pnpm-(lock|workspace)\.yaml$|patches/|\.github/workflows/language-smoke\.yml$|\.github/tool-versions\.env$)' langs="" while read -r f; do case "$f" in