Multiple repos in automations

I’m using Cursor cloud automations, integrated with Gitlab. When I click the “select multiple” repos option for an automation or new chat, some repos in my Gitlab project are selectable and others are not, though all of them are selectable when in single select mode. Is there some kind of implicit limiting going on by combined repo size or similar?

Hi @Liam_Pulsifer Thanks for the post! There’s no size or quota limit at play here. What you’re seeing is a picker limitation we’re already tracking, and I’ve added your report to it.

When a repository already has a saved Environment attached to it (for example, one created when someone on your team saved an environment setup for that repo), the picker shows the Environment in place of the plain repository row. Environments can’t currently be picked in “Select Multiple” mode, so those rows stay greyed out even though the same repos work fine in single-select mode. The repos without a saved Environment still show checkboxes, which is why only some of them are selectable.

In the meantime, there are two ways around it:

  1. Go to Dashboard → Cloud Agents → Environments and create a single Environment that includes all the repositories you want. A multi-repo Environment doesn’t replace the individual repository rows, and you can select it directly in the repository dropdown (in regular select mode) for both automations and new chats.
  2. Alternatively, a team admin can delete the single-repo Environment that wraps the affected repo in that same Environments page. After that, the plain repository row shows up again in “Select Multiple”.

Let me know if that gets you unblocked, or if a repo is still greyed out after trying it.

Hey @Liam_Pulsifer!

Quick follow-up on this one. The Select Multiple picker now lists repositories that already have a saved Environment attached, so the repos that were previously greyed out should show up with a checkbox alongside the Environment entry.

This is live on cursor.com now, no update needed on your side. If you use the Automations picker from the desktop app, the same change is coming in Cursor 3.21.

Let me know if any repo is still missing from Select Multiple after that.