@devries-cameron20 / composio-1 / commits / a7c73b679
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.

fix(ci): keep the canary teardown out of the pinned uninstall block

test/release-workflow.test.ts pins the `rm -rf` block in cli.install-health-check.yml against INSTALL.md's documented uninstall, and the health check listed $HOME/.composio-canary inside that block. The canary bin dir is the workflow's own isolation directory, not something a user uninstalls, so INSTALL.md must not grow an entry for it. Tear it down in a separate statement instead. The parser only reads the backslash-continued block, so a single-line `rm -rf` is invisible to it while the cleanup still runs before the install.

jkomyno committed Aug 5, 2026 at 19:25 UTC a7c73b679a949082f95ea1917c6ab4815a0722dc
1 file changed +6 -2
.github/workflows/cli.install-health-check.yml
+6 -2
@@ -94,8 +94,12 @@ jobs:
94 rm -rf \
95 "$HOME/.composio/services" \
96 "$HOME/.composio/acp-adapters" \
97 - "$HOME/.composio/local-tools-binaries" \
98 - "$HOME/.composio-canary"
97 + "$HOME/.composio/local-tools-binaries"
98 + # Torn down separately, and deliberately not part of the block above:
99 + # test/release-workflow.test.ts pins that block against INSTALL.md's
100 + # documented uninstall, and the canary bin dir is this workflow's own
101 + # isolation directory rather than something a user would ever remove.
102 + rm -rf "$HOME/.composio-canary"
103 curl -fsSL https://composio.dev/install | SHELL=/bin/bash COMPOSIO_BIN_DIR="$HOME/.composio-canary/bin" sh
104 test -x "$HOME/.composio/composio"
105 test -L "$HOME/.composio-canary/bin/composio"