Skip to content

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

jkomyno0994c73b5536
diff --git a/.github/workflows/build-cli-binaries.yml b/.github/workflows/build-cli-binaries.yml
index 1861549c8..b93b7e873 100644
--- a/.github/workflows/build-cli-binaries.yml
+++ b/.github/workflows/build-cli-binaries.yml
@@ -291,11 +291,6 @@ jobs:
uses: ./.github/workflows/cli.test-installation.yml
with:
version: ${{ needs.prepare.outputs.release_tag }}
- # A beta (push to next, or a manual build-beta) is built from this branch's
- # HEAD, so its `composio install` must write the CLI-managed PATH line.
- # promote-stable instead rebuilds the promoted beta's own commit, which can
- # predate that writer, so it keeps the permissive check.
- built_from_this_checkout: ${{ inputs.action != 'promote-stable' }}
create-install-instructions:
name: Create Install Instructions
diff --git a/.github/workflows/cli.test-installation.yml b/.github/workflows/cli.test-installation.yml
index c64c72d8a..8c03d9137 100644
--- a/.github/workflows/cli.test-installation.yml
+++ b/.github/workflows/cli.test-installation.yml
@@ -18,15 +18,6 @@ on:
required: false
default: 'latest'
type: string
- built_from_this_checkout:
- description: >-
- Set by callers whose run built the release under test from this
- branch. Those legs must produce the CLI-managed PATH line; legs that
- install an older published release may still produce install.sh's
- legacy block.
- required: false
- default: false
- type: boolean
permissions:
contents: read
@@ -48,7 +39,6 @@ jobs:
- name: Test documented uninstall snippet
run: bash test/install-sh-uninstall-snippet.test.sh
-
- name: Lint POSIX install scripts
run: shellcheck -s sh install.sh install/*.sh
@@ -350,9 +340,13 @@ jobs:
fi
- name: Test shell config updates
- env:
- BUILT_FROM_THIS_CHECKOUT: ${{ inputs.built_from_this_checkout }}
run: |
+ # This assertion holds for every leg, whatever release it installs.
+ # install.sh always comes from this checkout, and it only trusts a
+ # delegated `composio install --shell` when delegated_setup_verified
+ # confirms the startup file byte-for-byte against its own rendering;
+ # otherwise it rewrites the block inline. An older published CLI can
+ # therefore never leave a legacy block behind.
echo "Checking shell configuration updates..."
if [[ "${{ matrix.shell }}" == "zsh" ]]; then