-
test(cli): cover fish completion install idempotency (#3688)
发布于
2026-06-26 10:26:20 +00:00 This PR:
- follows up on https://github.com/ComposioHQ/composio/pull/3440 and
credits Deepak Singh Kandari / @aptsalt from the original implementation - builds on the fish completion fix already merged in
https://github.com/ComposioHQ/composio/pull/3162 - references https://github.com/ComposioHQ/composio/issues/3147
- adds regression coverage for running
composio install --completions
twice under fish - verifies
config.fishkeeps a single PATH marker and never receives
completion markers - verifies
~/.config/fish/completions/composio.fishkeeps one
completion marker
Testing
MISE_TRUSTED_CONFIG_PATHS=$PWD mise exec -- pnpm --filter @composio/cli exec vitest run test/src/commands/install.cmd.test.tsMISE_TRUSTED_CONFIG_PATHS=$PWD mise exec -- pnpm --filter @composio/cli typecheck:testgit diff --check origin/next...HEAD
Co-authored-by: Deepak Singh Kandari deepaksinghkandari07@gmail.com
下载附件
- follows up on https://github.com/ComposioHQ/composio/pull/3440 and