Skip to content

Self-improving AI Employees for everyone

fix(ci): unblock CI after workflow strip

trohitg548b55e2cc03
diff --git a/.github/workflows/predeploy.yml b/.github/workflows/predeploy.yml
index c21414a7..f6f6f1dd 100644
--- a/.github/workflows/predeploy.yml
+++ b/.github/workflows/predeploy.yml
@@ -15,9 +15,12 @@ jobs:
- uses: ./.github/actions/setup
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- - run: pnpm --filter react-flow-client run lint
- - run: pnpm --filter react-flow-client run typecheck
- - run: pnpm --filter react-flow-client run test
+ - name: Lint client
+ run: pnpm --filter react-flow-client run lint
+ - name: TypeScript check
+ run: pnpm --filter react-flow-client run typecheck
+ - name: Frontend tests (vitest)
+ run: pnpm --filter react-flow-client run test
backend-tests:
name: Backend tests
diff --git a/server/tests/credentials/test_credential_broadcasts.py b/server/tests/credentials/test_credential_broadcasts.py
index 553ebab1..9552c362 100644
--- a/server/tests/credentials/test_credential_broadcasts.py
+++ b/server/tests/credentials/test_credential_broadcasts.py
@@ -284,7 +284,10 @@ class TestCredentialRuntimeFailureBroadcast:
broadcaster.broadcast = fake_broadcast # type: ignore[method-assign]
- asyncio.get_event_loop().run_until_complete(
+ # ``asyncio.get_event_loop()`` is removed in Python 3.12+ when no
+ # loop is running in the main thread; use ``asyncio.run`` to
+ # create a fresh loop for the single async call.
+ asyncio.run(
broadcaster.broadcast_credential_event(
event_type="credential.api_key.runtime_failed",
provider="telegram",