@devries-cameron20 / composio-1 / commits / 0994c73b5
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(cli): drop the orphaned built_from_this_checkout installation input

The input let legs that install an older published release accept install.sh's legacy PATH block. That case no longer exists: install.sh always comes from this checkout, and delegated_setup_verified only trusts a delegated `composio install --shell` when every target startup file matches its own rendering byte for byte, rewriting the block inline otherwise. The unconditional managed-block assertion is therefore valid on every leg, and no run body ever read the env var it was wired into.

jkomyno committed Aug 5, 2026 at 19:16 UTC 0994c73b55369e19963d5c377c9ed15c88a0a4fd
2 files changed +6 -17
.github/workflows/build-cli-binaries.yml
-5
@@ -291,11 +291,6 @@ jobs:
291 uses: ./.github/workflows/cli.test-installation.yml
292 with:
293 version: ${{ needs.prepare.outputs.release_tag }}
294 - # A beta (push to next, or a manual build-beta) is built from this branch's
295 - # HEAD, so its `composio install` must write the CLI-managed PATH line.
296 - # promote-stable instead rebuilds the promoted beta's own commit, which can
297 - # predate that writer, so it keeps the permissive check.
298 - built_from_this_checkout: ${{ inputs.action != 'promote-stable' }}
294
295 create-install-instructions:
296 name: Create Install Instructions
.github/workflows/cli.test-installation.yml
+6 -12
@@ -18,15 +18,6 @@ on:
18 required: false
19 default: 'latest'
20 type: string
21 - built_from_this_checkout:
22 - description: >-
23 - Set by callers whose run built the release under test from this
24 - branch. Those legs must produce the CLI-managed PATH line; legs that
25 - install an older published release may still produce install.sh's
26 - legacy block.
27 - required: false
28 - default: false
29 - type: boolean
21
22 permissions:
23 contents: read
@@ -48,7 +39,6 @@ jobs:
39 - name: Test documented uninstall snippet
40 run: bash test/install-sh-uninstall-snippet.test.sh
41
51 -
42 - name: Lint POSIX install scripts
43 run: shellcheck -s sh install.sh install/*.sh
44
@@ -350,9 +340,13 @@ jobs:
340 fi
341
342 - name: Test shell config updates
353 - env:
354 - BUILT_FROM_THIS_CHECKOUT: ${{ inputs.built_from_this_checkout }}
343 run: |
344 + # This assertion holds for every leg, whatever release it installs.
345 + # install.sh always comes from this checkout, and it only trusts a
346 + # delegated `composio install --shell` when delegated_setup_verified
347 + # confirms the startup file byte-for-byte against its own rendering;
348 + # otherwise it rewrites the block inline. An older published CLI can
349 + # therefore never leave a legacy block behind.
350 echo "Checking shell configuration updates..."
351
352 if [[ "${{ matrix.shell }}" == "zsh" ]]; then