GitAuto Logo
  1. Home
  2. Pricing
  3. Docs
  4. Dashboard
  5. Blog
  6. Contact
  1. Home
  2. How It Works
  3. Use Cases
  4. Pricing
  5. Docs
  6. Dashboard
  7. FAQ
  8. Blog
  9. Contact

CircleCI Integration

Overview

GitAuto uses your CircleCI token to automatically read build logs when tests fail. This helps GitAuto understand what went wrong and generate fixes more accurately.

Why CircleCI Integration is Needed

When tests fail in CircleCI instead of GitHub Actions, GitAuto needs access to:

  • Build logs showing test failure details
  • Error messages and stack traces
  • Test output and assertions
  • Build environment information

Without CircleCI integration, GitAuto can only see that tests failed on GitHub, but cannot access the detailed logs from CircleCI to understand why they failed.

When to Use This

You should configure CircleCI integration if:

  • Your repository uses CircleCI for CI/CD instead of GitHub Actions
  • You want GitAuto to automatically fix test failures
  • You need GitAuto to analyze build logs for better issue resolution

Note: If you use GitHub Actions, this integration is not needed as GitAuto can access those logs directly.

How to Configure

Step 1: Generate CircleCI Token

Visit CircleCI token settings and create a new Personal API Token.

Step 2: Configure in GitAuto

Go to CircleCI Integration Settings in GitAuto.

  1. Select your organization from the dropdown
  2. Paste your CircleCI Personal API Token
  3. Click Save

Step 3: Automatic Log Access

Once configured, GitAuto will automatically fetch CircleCI build logs whenever tests fail. The logs are used to understand the failure and generate appropriate fixes.

Token Permissions

Your CircleCI token needs the following permissions:

  • Read access to project builds and logs
  • Personal API Token type (not project-specific token)

Write permissions are not required as GitAuto only reads build logs.

Security

Your CircleCI token is stored securely in our database. GitAuto uses it only to read build logs when tests fail. The token is:

  • Protected by database-level access controls
  • Never exposed in logs or error messages
  • Only accessible by your organization
  • Used exclusively for reading CircleCI build logs

How It Works

  1. Test fails in CircleCI on your repository
  2. GitHub reports the failure to GitAuto via webhook
  3. GitAuto uses your CircleCI token to fetch the build logs
  4. GitAuto analyzes the logs to understand the failure
  5. GitAuto generates a fix and creates a pull request

Troubleshooting

GitAuto cannot access CircleCI logs

Verify that your CircleCI token is configured correctly and has not expired. Make sure the token has read access to all projects in your organization.

Token scope issues

Ensure your token is a Personal API Token with read access to builds. Project-specific tokens may not work for all repositories.

Need Help with CircleCI Integration?

Setting up CI/CD integrations can be tricky. If you're having trouble accessing CircleCI logs or configuring your token, we're here to help!

Contact us and we'll get your integration working smoothly.

GITAUTO.mdnpm Integration

Getting Started

  • Installation
  • Setup

Triggers

  • Overview
  • Schedule Trigger
  • Test Failure Trigger
  • Review Comment Trigger
  • Dashboard Trigger

Coverage Dashboard

  • Overview
  • Python Testing
  • JavaScript Testing
  • Java Testing
  • Go Testing
  • PHP Testing
  • Ruby Testing
  • Flutter Testing
  • Multi-Language
  • Coverage Charts

Customization

  • Repository Rules
  • Output Language
  • GITAUTO.md

Integrations

  • CircleCI Integration
  • npm Integration

How It Works

Context Enrichment

  • Line Numbers
  • Full File Reads
  • Test File Preloading
  • Test Naming Detection
  • Error Baselines
  • CI Log Cleaning
  • Trigger-Specific Prompts
  • Coding Standards

Output Auto-Correction

  • Diff Hunk Repair
  • Diff Prefix Repair
  • Tool Name Correction
  • Tool Argument Correction
  • Import Sorting
  • Trailing Space Removal
  • Final Newline
  • Line Ending Preservation
  • Sanitize Tool Arguments
  • Lint Disable Headers

Quality Verification

  • Formatting
  • Linting
  • Type Checking
  • Test Execution
  • Coverage Enforcement
  • phpcs / phpstan Support
  • PHPUnit Support
  • pytest Support
  • Snapshot Auto-Update
  • Untestable Detection
  • Should-Skip Detection
  • Dead Code Removal
  • Quality Check Scoring
  • Quality Checklist

Safety Guardrails

  • File Edit Restrictions
  • Temperature Zero
  • PR/Branch Checks
  • Race Condition Prevention
  • Bot Loop Prevention
  • Webhook Deduplication
  • Duplicate Error Hashing
  • Infrastructure Failure Detection
  • Strict Tool Schemas
  • No-Change Detection

Token/Cost Management

  • Token Trimming
  • Outdated Diff Removal
  • Stale File Replacement
  • Skip CI Intermediate
  • CI Log Deduplication
  • Web Fetch Summarization
  • Context Forgetting
  • File Query Routing
  • On-Demand Diff

Resilience & Recovery

  • Model Fallback
  • Overload Retry
  • Forced Verification
  • Error Files Editable

Hallucination Prevention

  • Web Search
  • URL Fetching
  • Anti-Hallucination Prompts
  • GITAUTO.md Restrictions
  • Review Response Guardrails

Ready to improve your test coverage?

Go from 0% to 90% test coverage with GitAuto. Start for free, no credit card required.

Install FreeContact Sales

Product

  • Home
  • Why GitAuto
  • What GitAuto Does
  • How It Works
  • Use Cases
  • How to Get Started
  • Solution
  • Pricing
  • Pricing Details
  • ROI Calculator
  • ROI Methodology
  • FAQ
  • Blog
  • Contact

Dashboard

  • Dashboard
  • Coverage Trends
  • File Coverage
  • Credits
  • Open PRs
  • Usage
  • Triggers
  • Actions
  • References
  • Rules
  • CircleCI Integration
  • npm Integration

Documentation

  • Docs
  • Getting Started
  • Setup
  • Triggers
  • Coverage Setup
  • Customization
  • How It Works
  • Auto Merge
  • CircleCI
  • npm

Legal

  • Privacy Policy
  • Terms of Service

Connect

  • GitHub
  • LinkedIn
  • Twitter
  • YouTube
GitAuto Logo© 2026 GitAuto, Inc. All Rights Reserved