@devries-cameron20 / composio-1 / commits / 5520cd69b
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

ci: trigger SDK suites on dependency-resolution changes (#4220)

## Problem A catalog pin or lockfile edit swaps what every package resolves, without touching a file under `ts/**` or `python/**`. The path filters on our suites did not account for that, so a dependency bump could skip the very checks meant to catch it. This is not hypothetical. In #4135, bumping `@composio/client` from `0.1.0-alpha.76` to `2.0.0-rc.5` — a one-line change in `pnpm-workspace.yaml` — ran **no TypeScript E2E at all**. That client adds a credential-transport guard that refuses plain-HTTP credentials to non-loopback hosts, which breaks `@e2e-tests/cli-toolkits-list` (the harness serves its mock backend at `http://host.docker.internal:${port}`). The PR was green throughout; the breakage only surfaced when the suite was dispatched by hand. `ts.test.yml` ran on that PR purely by luck, because the changeset file matched `.changeset/**`. ## Change Add the dependency-resolution inputs to every path-filtered SDK workflow that lacked them: | workflow | added | | --- | --- | | `ts.test-e2e.yml` | `pnpm-workspace.yaml`, `pnpm-lock.yaml` | | `ts.test.yml` | `pnpm-workspace.yaml`, `pnpm-lock.yaml` | | `ts.typecheck.yml` | `pnpm-workspace.yaml`, `pnpm-lock.yaml` | | `ts.examples.yml` | `pnpm-workspace.yaml`, `pnpm-lock.yaml` | | `py.check.yaml` | `python/pyproject.toml`, `uv.lock` | | `py.test.yml` | `uv.lock` | `ts.audit.yml` and `ts.build.yml` already listed both pnpm files and are unchanged. `ts.release.yml` and `ts.examples-nightly.yml` have no path filters. `py.check.yaml` was the widest gap on the Python side: it matched only `python/**/*.py`, so the `composio-client` pin bump in #4135 triggered no ruff or mypy run. ## Verification Every touched file still parses as YAML, and each of the six now matches on the dependency inputs. The trade is more CI on lockfile-only changes, which seems clearly worth it against a silent client swap.

Alberto Schiabel committed Aug 24, 2026 at 00:37 UTC 5520cd69b1207058c439ec9a37eaf16ad7e91f96
6 files changed +28
.github/workflows/py.check.yaml
+4
@@ -5,6 +5,8 @@ on:
5 - next
6 paths:
7 - 'python/**/*.py'
8 + - 'python/pyproject.toml'
9 + - 'uv.lock'
10 - '.github/actions/setup-python-uv/action.yml'
11 - '.github/workflows/py.check.yaml'
12 - 'mise.toml'
@@ -13,6 +15,8 @@ on:
15 types: [opened, synchronize]
16 paths:
17 - 'python/**/*.py'
18 + - 'python/pyproject.toml'
19 + - 'uv.lock'
20 - '.github/actions/setup-python-uv/action.yml'
21 - '.github/workflows/py.check.yaml'
22 - 'mise.toml'
.github/workflows/py.test.yml
+2
@@ -12,6 +12,7 @@ on:
12 - 'mise.lock'
13 - 'toolchain-versions.json'
14 - 'python/pyproject.toml'
15 + - 'uv.lock'
16 - 'python/requirements*.txt'
17 pull_request:
18 branches: [master, next]
@@ -24,6 +25,7 @@ on:
25 - 'mise.lock'
26 - 'toolchain-versions.json'
27 - 'python/pyproject.toml'
28 + - 'uv.lock'
29 - 'python/requirements*.txt'
30
31 concurrency:
.github/workflows/ts.examples.yml
+4
@@ -13,6 +13,8 @@ on:
13 - '.github/workflows/ts.examples.yml'
14 - 'mise.toml'
15 - 'mise.lock'
16 + - 'pnpm-workspace.yaml'
17 + - 'pnpm-lock.yaml'
18 - 'turbo.jsonc'
19 pull_request:
20 branches: [master, next]
@@ -26,6 +28,8 @@ on:
28 - '.github/workflows/ts.examples.yml'
29 - 'mise.toml'
30 - 'mise.lock'
31 + - 'pnpm-workspace.yaml'
32 + - 'pnpm-lock.yaml'
33 - 'turbo.jsonc'
34
35 concurrency:
.github/workflows/ts.test-e2e.yml
+10
@@ -5,6 +5,11 @@ on:
5 branches: [master, next]
6 paths:
7 - 'ts/**'
8 + # A catalog pin or lockfile change swaps what every ts/** package
9 + # resolves without touching one of their files -- @composio/client
10 + # 0.1.0-alpha.76 -> 2.0.0-rc.5 skipped this suite entirely that way.
11 + - 'pnpm-workspace.yaml'
12 + - 'pnpm-lock.yaml'
13 - '.github/actions/setup-node-pnpm-bun/action.yml'
14 - '.github/workflows/ts.test-e2e.yml'
15 - 'mise.toml'
@@ -13,6 +18,11 @@ on:
18 pull_request:
19 paths:
20 - 'ts/**'
21 + # A catalog pin or lockfile change swaps what every ts/** package
22 + # resolves without touching one of their files -- @composio/client
23 + # 0.1.0-alpha.76 -> 2.0.0-rc.5 skipped this suite entirely that way.
24 + - 'pnpm-workspace.yaml'
25 + - 'pnpm-lock.yaml'
26 - '.github/actions/setup-node-pnpm-bun/action.yml'
27 - '.github/workflows/ts.test-e2e.yml'
28 - 'mise.toml'
.github/workflows/ts.test.yml
+4
@@ -12,6 +12,8 @@ on:
12 - 'mise.toml'
13 - 'mise.lock'
14 - 'package.json'
15 + - 'pnpm-workspace.yaml'
16 + - 'pnpm-lock.yaml'
17 - 'test/release-workflow.test.ts'
18 - 'turbo.jsonc'
19 pull_request:
@@ -25,6 +27,8 @@ on:
27 - 'mise.toml'
28 - 'mise.lock'
29 - 'package.json'
30 + - 'pnpm-workspace.yaml'
31 + - 'pnpm-lock.yaml'
32 - 'test/release-workflow.test.ts'
33 - 'turbo.jsonc'
34
.github/workflows/ts.typecheck.yml
+4
@@ -9,6 +9,8 @@ on:
9 - '.github/workflows/ts.typecheck.yml'
10 - 'mise.toml'
11 - 'mise.lock'
12 + - 'pnpm-workspace.yaml'
13 + - 'pnpm-lock.yaml'
14 - 'turbo.jsonc'
15 pull_request:
16 branches: [master, next]
@@ -18,6 +20,8 @@ on:
20 - '.github/workflows/ts.typecheck.yml'
21 - 'mise.toml'
22 - 'mise.lock'
23 + - 'pnpm-workspace.yaml'
24 + - 'pnpm-lock.yaml'
25 - 'turbo.jsonc'
26
27 concurrency: