diff --git a/.github/workflows/extension_tests.yml b/.github/workflows/extension_tests.yml index 169352b6ea0ad2244533386d928df9667bcfe804..92d4bc9be86ccfbc1dd59a6c626422495e9efd13 100644 --- a/.github/workflows/extension_tests.yml +++ b/.github/workflows/extension_tests.yml @@ -137,6 +137,12 @@ jobs: echo "Version changes happen in separate PRs and will be performed by the zed-zippy bot" exit 42 fi + - name: extension_tests::breakpoint + if: failure() + uses: namespacelabs/breakpoint-action@ca62bf12510ebf1115a560cf337a35fad5eb052b + with: + duration: 15m + authorized-users: MrSubidubi timeout-minutes: 6 tests_pass: needs: diff --git a/tooling/xtask/src/tasks/workflows/extension_tests.rs b/tooling/xtask/src/tasks/workflows/extension_tests.rs index a650013bacfcfc1ac89a60ccfe8674a5621fb1c7..73a911d49cb4537361c07c15337737bd939c7564 100644 --- a/tooling/xtask/src/tasks/workflows/extension_tests.rs +++ b/tooling/xtask/src/tasks/workflows/extension_tests.rs @@ -95,11 +95,23 @@ pub(crate) fn check_extension() -> NamedJob { .add_step(cache_rust_dependencies_namespace()) // Extensions can compile Rust, so provide the cache if needed. .add_step(check()) .add_step(check_version_job) - .add_step(verify_version_did_not_change(version_changed)); + .add_step(verify_version_did_not_change(version_changed)) + .add_step(breakpoint()); named::job(job) } +fn breakpoint() -> Step { + named::uses( + "namespacelabs", + "breakpoint-action", + "ca62bf12510ebf1115a560cf337a35fad5eb052b", + ) + .if_condition(Expression::new("failure()")) + .add_with(("duration", "15m")) + .add_with(("authorized-users", "MrSubidubi")) +} + pub fn cache_zed_extension_cli() -> (Step, StepOutput) { let step = named::uses( "actions",