Skip to content

Dataset

CircleCI pipeline and job record datasets for AI training

A CircleCI dataset is an export of one company's CircleCI organization: the pipelines of each project, their workflows and jobs with statuses and timings, the output of each step, the test metadata saved by store_test_results, artifact listings and the config.yml each pipeline ran. SourceX sources it to a buyer's spec from established businesses that run CircleCI. Each dataset is de-identified, with secrets, internal URLs and personal details scrubbed or replaced, and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Pipelines, workflows and jobs with step output, timings, statuses, per-test results, artifact listings and the config each pipeline ran
Typical systems
CircleCI cloud or a self-hosted CircleCI server installation, with Insights, orbs, contexts and scheduled pipelines
Typical history
Specified by the buyer; bounded by plan retention for step output, test metadata and artifacts unless the company archived them
Modality
Step output text; structured pipeline, job and per-test rows; config.yml as code
Delivery formats
Agreed per order; JSONL per workflow with nested jobs and tests, step output files, config YAML, JUnit XML where kept
Preparation
Secrets and internal URLs scrubbed from step output; project slugs and actor identities replaced with keys
Licensing
Rights reviewed per company; permitted use set in the license
Availability
Sourced to your spec from companies that agree; supply is not guaranteed
TextIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
project_slugstringThe Project identifier, built from VCS type, organization and repository, with names replaced.
pipelineobjectThe Pipeline's number, state and trigger: its type, such as webhook, api or scheduled_pipeline, and the actor as a key.
vcsobjectThe Pipeline's vcs block: revision, branch or tag, and the commit subject.
configobjectThe Pipeline's config.yml as submitted and as compiled, with the Orbs it imported.
workflowobjectThe Workflow's id, name, status (such as success, failed, canceled or on_hold) and created and stopped times.
jobsarrayJobs in the Workflow: job_number, name, type (build or approval), status, the jobs each requires, and timings.
executorobjectPer Job: executor type (docker, machine or macos), resource_class and parallelism.
contextsarrayNames of the Contexts a Job was given; the variables inside them are never part of the record.
stepsarrayPer Job and parallel container: Step name, command, exit code and run time.
step_outputarrayStep output chunks as CircleCI stored them: message text and stdout or stderr type, after scrubbing.
testsarrayTest metadata rows from store_test_results: name, classname, file, result, run_time and failure message.
artifactsarrayArtifact paths saved by store_artifacts, with node_index and whether the file itself is delivered.
insightsobjectInsights metrics per Workflow or Job where exported: success rate, duration percentiles and tests flagged flaky.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "project_slug": "gh/org_52/checkout-service",
  "pipeline": {"number": 9412, "state": "created", "trigger": {"type": "webhook", "actor": "user_033"}},
  "vcs": {"branch": "fix/tax-rounding", "revision": "7be21c4", "commit_subject": "Round tax per line item"},
  "config": {"source": "config/9412.source.yml", "compiled": "config/9412.compiled.yml", "orbs": ["org_52/node-tools"]},
  "workflow": {"id": "wf_1a", "name": "build-and-test", "status": "failed", "created_at": "2025-06-03T15:02:11Z", "stopped_at": "2025-06-03T15:09:47Z", "later_workflow_same_pipeline": "wf_1b"},
  "jobs": [
    {"job_number": 30870, "name": "build", "type": "build", "status": "success", "duration_ms": 96110},
    {"job_number": 30871, "name": "unit-tests", "type": "build", "status": "failed", "requires": ["build"], "queued_at": "2025-06-03T15:03:50Z", "started_at": "2025-06-03T15:03:58Z", "stopped_at": "2025-06-03T15:09:47Z"}
  ],
  "executor": {"job_number": 30871, "type": "docker", "resource_class": "medium", "parallelism": 4},
  "contexts": ["npm-read"],
  "steps": [
    {"job_number": 30871, "name": "Run tests", "index": 2, "bash_command": "circleci tests glob \"src/**/*.test.ts\" | circleci tests split --split-by=timings | xargs npx jest --ci", "exit_code": 1, "run_time_millis": 184220}
  ],
  "step_output": [
    {"job_number": 30871, "step": "Run tests", "index": 2, "type": "out", "message": "FAIL src/tax/lineItem.test.ts\n  rounds half up per line\n    Expected: 1.13\n    Received: 1.12"}
  ],
  "tests": [
    {"job_number": 30871, "name": "rounds half up per line", "classname": "tax lineItem", "file": "src/tax/lineItem.test.ts", "result": "failure", "run_time": 0.041, "message": "Expected: 1.13 Received: 1.12"}
  ],
  "artifacts": [
    {"job_number": 30871, "path": "reports/junit/results-2.xml", "node_index": 2, "delivered": true}
  ],
  "insights": {"workflow": "build-and-test", "success_rate": 0.87, "p95_duration_s": 512, "flaky_tests": ["retries on gateway timeout"]}
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Detect and triage flaky tests

One test with pass and fail results on the same revision is a labeled flaky case with timing attached.

Diagnose a failed job

Step output is the input, and the failing test row with its message is a known answer to grade against.

Select and order tests

Per-test run times and failure history across commits support test selection and splitting models.

Repair CI configuration

Submitted and compiled config for pipelines that errored or failed, and for the ones that later passed.

Evaluate coding agents

A red workflow, the revision that turned it green and the tests that changed result form a gradable task.

Use-case guides: Coding agents, Private evaluation sets, Enterprise and computer-use agents

What makes this data valuable

Results stored on test jobs

Most jobs that run tests include store_test_results, so failures have rows.

File attribute present

Test cases name their file, which timing-based splitting and per-file analysis need.

Compiled config kept

Each pipeline has its config as run, with orbs expanded.

Archived step output

Output was copied out before plan retention removed it.

Per-container output

Parallel jobs have output and test rows for every container index.

Identifiable reruns

Workflows sharing a pipeline are linked as attempts on one revision.

Record timeline

CircleCI dataset

This page covers circleCI pipeline and job records.Illustrative

Test results are stored per test, not per job

A CircleCI job reports a status and each step an exit code, which tells you a test command failed and nothing more. The store_test_results step changes that. It takes a directory of JUnit XML written by the test runner, and CircleCI parses every test case into a row: name, classname, file, a result such as success, failure or skipped, run time in seconds and the failure message. The API returns those rows by job number, and the job belongs to a workflow, the workflow to a pipeline, and the pipeline to a revision and branch. The unit of history can be one test on one commit.

Several things follow. Rerunning a workflow creates a new workflow under the same pipeline, so one test can have more than one result against a single revision, and a test that both failed and passed on the same commit within a short look-back window is what Insights flags as flaky. The run times are used by the product itself: circleci tests split with the timings option spreads test files across parallel containers using earlier durations, so stored rows also explain which container a test landed on. Job statuses separate infrastructure_fail and timedout from failed, which sets platform trouble apart from a failing test before anyone reads output.

The rows are a reduction of the XML. Standard output captured per case, properties and suite nesting are not among the fields the API returns for a test, and they survive only where the team also saved the XML with store_artifacts. A test framework's own retries may write duplicate cases or only the last attempt, depending on the reporter. Rerun failed tests starts a new workflow in the same pipeline and reruns whole test files or classnames that had a failure, so ask whether that job's rows cover only the rerun subset. A job whose config lacks the step has no rows at all, so a red job with zero tests either failed before testing or never uploaded. Ask what share of test jobs store results, and whether cases carry the file attribute.

Retention by plan, and step output one step at a time

CircleCI's cloud service keeps run data for a limited time. Artifacts expire after a storage period that an administrator on a paid plan can shorten, step output and test metadata fall under the plan's own retention, which the owner should state, and Insights summarizes a limited look-back window. Depth beyond the window exists only where the company copied it out: JUnit XML and logs pushed to its own bucket, a webhook consumer recording workflow-completed and job-completed events, or a warehouse fed from the API. Ask for the earliest date of each record type separately, because pipeline and job rows, test rows, step output and artifacts will not share one.

The current API returns pipelines, workflows, jobs, test metadata and artifact listings, and for each pipeline the config as submitted and as compiled, with orbs expanded and, where a setup workflow generated the real config, both stages. The documented endpoints for pipelines, workflows and jobs do not return step output. An older job-details endpoint lists each step with its actions, one per parallel container, giving the command, exit code, start and end times and a link to that action's output. Each link is fetched by itself and returns message chunks marked as standard output or error. A full log for one job is many requests, so an archive may hold output for failed steps only. Ask which route and which steps were collected, and how truncated output was marked.

CircleCI masks the values of environment variables set in project settings or contexts when they appear in job output. Masking does not reach test results or artifacts, skips very short values, and cannot catch a value a script decoded, transformed or fetched at run time. Internal registry and staging URLs print as written. Job records name the contexts a job used, never their values. To test a sample, take one failed job and confirm four things are present: its test rows, the output of the failing step for every parallel container, the compiled config in force, and the later workflow or pipeline on that branch that went green. Then run a secret scanner over the output, the test failure messages and the config.

What to check before licensing

  • Have the buyer's counsel and the data owner read CircleCI's terms on exported data and API use before any export is run.
  • Ask for the earliest date with pipeline and job records, with test metadata, with step output and with artifacts, and what the company archived outside CircleCI.
  • Ask what share of test jobs call store_test_results, whether test cases carry a file attribute, and whether the original JUnit XML was kept.
  • Ask how step output was collected: which API route, every step or failed steps only, every parallel container or the first, and how truncated output is flagged.
  • Run a secret scanner over step output, test failure messages and config, and search for internal registry, staging and artifact URLs that masking does not cover.
  • Confirm each pipeline has its submitted and compiled config, and that private orbs the config imports are in scope of the license.
  • Check that revisions resolve in the delivered git history, that rerun workflows are linked, and that actor and approver identities were replaced consistently.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What does a CircleCI dataset contain?

It contains the CI history of one company's CircleCI organization. For each project that means pipelines with their trigger, branch and revision, the workflows and jobs they ran with statuses and timings, the output of each step, per-test rows from store_test_results, artifact listings and the config each pipeline used. Insights summaries can be included where the company exported them.

How far back does CircleCI data go?

Only as far as the plan's retention unless the company archived it. Artifacts expire after a storage period on CircleCI's cloud service, and step output and test metadata are not kept indefinitely either, so the earliest date differs by record type. Git history is far longer than CI history. Ask the data owner for the earliest date of each record type and for any copies in its own storage before you size a request.

Are per-test results included, or only job statuses?

Per-test results are included for jobs that uploaded them. CircleCI parses the JUnit XML passed to store_test_results into rows with test name, classname, file, result, run time and failure message. Jobs that skipped the step have a status and step output only. Ask what share of test jobs store results, since that decides how much history is usable test by test.

Can flaky tests be identified?

Yes, where reruns happened inside the retained window. A rerun creates a new workflow under the same pipeline, so a test with both a failure and a success on one revision is flaky by direct evidence. Insights applies the same idea. Tests that fail intermittently across different commits need more care, because a code change may explain the difference.

How are secrets in step output handled?

They are scrubbed before delivery, and the buyer should check a sample. CircleCI masks the values of project and context environment variables in job output, but not values a script transformed or fetched while running, and not secrets printed into test results or artifacts. A second scan looks for tokens, keys and credentials, and internal URLs are replaced with placeholders. No method is perfect, so run your own scanner.

Is SourceX affiliated with Circle Internet Services, Inc.?

CircleCI is named to identify the system the records come from. That does not imply a partnership with or endorsement by Circle Internet Services, Inc. The records belong to the business that runs CircleCI, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 26 November 2026.

See if your company qualifies