From 3b438222ef38ea4544d2ad87ee365f31699f39d5 Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Tue, 17 Feb 2026 22:54:17 +0100 Subject: [PATCH] extension_ci: Improve job orchestration (#49407) This fixes an issue where some changes that should trigger more checks would go unnoticed. Release Notes: - N/A --- .github/workflows/extension_tests.yml | 2 +- tooling/xtask/src/tasks/workflows/extension_tests.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/extension_tests.yml b/.github/workflows/extension_tests.yml index 4393ca6e44525f1f8a9cd7d7e98c361333207d1f..947fb3c5c95a30f5c0a5990a5fa38e0ae2f56629 100644 --- a/.github/workflows/extension_tests.yml +++ b/.github/workflows/extension_tests.yml @@ -44,7 +44,7 @@ jobs: } check_pattern "check_rust" '^(Cargo.lock|Cargo.toml|.*\.rs)$' -qP - check_pattern "check_extension" '^.*\.scm$' -qP + check_pattern "check_extension" '^(extension\.toml|.*\.scm)$' -qP outputs: check_rust: ${{ steps.filter.outputs.check_rust }} check_extension: ${{ steps.filter.outputs.check_extension }} diff --git a/tooling/xtask/src/tasks/workflows/extension_tests.rs b/tooling/xtask/src/tasks/workflows/extension_tests.rs index 3d7f96157b5a792b2d1e50b960bb61585ff47422..f859bd7f6f816ac4b6f186f1ec9cc50d44223a02 100644 --- a/tooling/xtask/src/tasks/workflows/extension_tests.rs +++ b/tooling/xtask/src/tasks/workflows/extension_tests.rs @@ -17,7 +17,8 @@ const EXTENSION_RUST_TARGET: &str = "wasm32-wasip2"; // This is used by various extensions repos in the zed-extensions org to run automated tests. pub(crate) fn extension_tests() -> Workflow { let should_check_rust = PathCondition::new("check_rust", r"^(Cargo.lock|Cargo.toml|.*\.rs)$"); - let should_check_extension = PathCondition::new("check_extension", r"^.*\.scm$"); + let should_check_extension = + PathCondition::new("check_extension", r"^(extension\.toml|.*\.scm)$"); let orchestrate = orchestrate_without_package_filter(&[&should_check_rust, &should_check_extension]);