# Ray and CircleCI

> What broke the build, and which test has been lying to you.

Source: https://heyray.io/integrations/circleci

Ray is an AI teammate that works in your team chat, on Slack today. Connect CircleCI and it can do the CircleCI part of a request without anyone leaving the conversation: read what it needs, draft the change, and post it for approval before anything is written. 37 reads run without asking. 2 actions wait for a human approval.

## What Ray reads in CircleCI

Reading changes nothing, so Ray never stops to ask whether it may look something up.

- Pipelines, workflows and jobs, with status, timing and artifacts
- Flaky tests and test metadata for any job
- Workflow and project insights: duration, success rate and trends
- Credit usage by project, plus schedules, runners and orbs

## What waits for your approval

Every one of these posts an approval card in the thread showing exactly what is about to happen. Nothing runs until someone clicks approve, and no setting turns that off.

- Triggering a pipeline, with the branch and parameters on the card
- Creating a project in your organisation

## Things Ray is never handed

These are left out during curation, so they are not something Ray could do and decides against. They are not in front of it at all.

- Read or write environment variables, in a project or a context
- Create contexts or change who can reach one
- Manage organisation groups, or delete a project, namespace or context

## Ask it like this

- "@Ray why did the deploy pipeline fail on main?"

## Connecting CircleCI

CircleCI has no per-person login, so it connects once with a single workspace key and covers the whole team. Ray reaches whatever that key reaches, and every write still stops for approval first. The key is pasted on Ray's own connect page, never in chat, and it never reaches the model. Disconnecting CircleCI or uninstalling Ray revokes the connection.

## More

- This page for people: https://heyray.io/integrations/circleci
- Every integration: https://heyray.io/integrations.md
- Install Ray: https://heyray.io/install.md
- Pricing: https://heyray.io/pricing.md
