Skip to content

[vercel] connect list: add --type, --service, --search filter flags#16411

Merged
bhrigu123 merged 2 commits into
mainfrom
bhrigu/connect-list-filters
May 22, 2026
Merged

[vercel] connect list: add --type, --service, --search filter flags#16411
bhrigu123 merged 2 commits into
mainfrom
bhrigu/connect-list-filters

Conversation

@bhrigu123
Copy link
Copy Markdown
Contributor

@bhrigu123 bhrigu123 commented May 22, 2026

Why

Extending vercel connect list command to support search and filter.

  • --type / --service: Eg vercel connect list --type slack. API uses the AOSS terms filter (exact match), so values are normalized to lowercase at the CLI layer to match stored data.
  • --search is passed as-is; the backend handles case-insensitivity on both the AOSS and DDB-fallback paths.
  • The pagination hint (To see more, run ...) now includes any active filter flags so the next-page command preserves the filter context.

Fixes MKT-3829

Validation

vercel connect list --type slack
vercel connect list --type oauth --type github
vercel connect list --service mcp.linear.app
vercel connect list --search linear
vercel connect list --type oauth --search prod --all-projects

Extends `vercel connect list` with three filter flags that map directly
to the existing API query params: --type (repeatable), --service
(repeatable), --search. Includes case normalization so --type Slack
behaves the same as --type slack, matching how stored values are indexed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 22, 2026

🦋 Changeset detected

Latest commit: adbb1f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
vercel Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

🧪 Unit Test Strategy

Comparing: c8bce3badbb1f6 (view diff)

Strategy: Code changed outside of a package - running all unit tests

⚠️ All unit tests will run because global code changes could impact all packages.

Affected packages - 15 (34%)
  1. vercel
  2. @vercel/build-utils
  3. @vercel/client
  4. @vercel/firewall
  5. @vercel/fs-detectors
  6. @vercel/go
  7. @vercel/hydrogen
  8. @vercel/next
  9. @vercel/node
  10. @vercel/python
  11. @vercel/remix-builder
  12. @vercel/ruby
  13. @vercel/rust
  14. @vercel/static-build
  15. examples
Unaffected packages - 29 (66%)
  1. @vercel-internals/get-package-json
  2. @vercel/backends
  3. @vercel/cervel
  4. @vercel/cli-auth
  5. @vercel/cli-config
  6. @vercel/cli-exec
  7. @vercel/config
  8. @vercel/detect-agent
  9. @vercel/edge
  10. @vercel/elysia
  11. @vercel/error-utils
  12. @vercel/express
  13. @vercel/fastify
  14. @vercel/frameworks
  15. @vercel/functions
  16. @vercel/gatsby-plugin-vercel-analytics
  17. @vercel/gatsby-plugin-vercel-builder
  18. @vercel/h3
  19. @vercel/hono
  20. @vercel/koa
  21. @vercel/nestjs
  22. @vercel/oidc
  23. @vercel/oidc-aws-credentials-provider
  24. @vercel/python-analysis
  25. @vercel/redwood
  26. @vercel/related-projects
  27. @vercel/routing-utils
  28. @vercel/static-config
  29. @vercel/vc-native

Results

  • Unit tests: All affected packages will run unit tests
  • E2E tests: Running in parallel in this workflow
  • Type checks: All affected packages will run type checks

This comment is automatically generated based on the affected testing strategy

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

📦 CLI Tarball Ready

The Vercel CLI tarball for this PR is now available!

Quick Test

You can test this PR's CLI directly by running:

npx https://vercel-i3qscg37a.vercel.sh/tarballs/vercel.tgz --help

Use in vercel.json

To use this CLI version in your project builds, add to your vercel.json:

{
  "build": {
    "env": {
      "VERCEL_CLI_VERSION": "vercel@https://vercel-i3qscg37a.vercel.sh/tarballs/vercel.tgz"
    }
  }
}

Python Runtime Wheel

A vercel-runtime wheel was also built for this PR.
To use in your Python project builds, also set this environment variable:

VERCEL_RUNTIME_PYTHON="vercel-runtime @ https://vercel-i3qscg37a.vercel.sh/tarballs/vercel_runtime-0.15.0.dev1779472292+adbb1f6-py3-none-any.whl"

Python Workers Wheel

A vercel-workers wheel was also built for this PR.
To use in your Python project builds, also set this environment variable:

VERCEL_WORKERS_PYTHON="vercel-workers @ https://vercel-i3qscg37a.vercel.sh/tarballs/vercel_workers-0.1.0.dev1779472292+adbb1f6-py3-none-any.whl"

This comment is automatically generated

@bhrigu123 bhrigu123 marked this pull request as ready for review May 22, 2026 17:55
@bhrigu123 bhrigu123 requested review from a team as code owners May 22, 2026 17:55
@bhrigu123 bhrigu123 merged commit 620bcfa into main May 22, 2026
391 of 393 checks passed
@bhrigu123 bhrigu123 deleted the bhrigu/connect-list-filters branch May 22, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants