Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Running a Green CI Pipeline Isn't the Hard Part Anymore

Описание и применение

Пайплайн CI, рассчитанный на код, написанный человеком, становится узким местом при большом объёме AI‑генерируемых коммитов. Включение интеллектуальных функций Harness CI (кэширование зависимостей, выбор тестов, кэширование сборки, кэш слоёв Docker, параллелизм и обнаружение flaky‑тестов) позволяет пропустить ненужные операции, сократить время сборки и повысить надёжность.

Задача

AI‑generated code increases CI queue length and build times because the pipeline was designed for human‑written code, leading to redundant work such as full dependency downloads, recompilation, and full test suites.

Результат

The pipeline now skips redundant dependency downloads, recompilation, and tests, cutting build times and improving green‑rate reliability in an AI‑heavy commit environment.

Рабочий процесс

  • Enable Cache Intelligence by setting cache.enabled:true at stage level to preserve dependency caches.
  • Enable Test Intelligence by setting intelligence.disabled:false on test steps to run only affected tests.
  • Enable Build Intelligence by setting build-intelligence.enabled:true to reuse unchanged module outputs.
  • Configure Docker Layer Caching to avoid rebuilding unchanged base layers.
  • Use test splitting and parallelism to run tests concurrently.
  • Apply flaky test detection and quarantine to reduce noise from intermittent failures.

Доказательства

AI coding assistants removed the slowest part of the development cycle: writing code. What they did not touch is everything after the commit: dependency resolution, compilation, test execution, image builds.

Источник

On the first run, the cache step shows "file not found" because nothing has been saved yet. On every subsequent run, it restores the full .m2/repository in seconds.

Источник

On the second run, after changing a single file (InputValidator.java), TI selected only 12 tests and skipped the remaining 30. The test run time dropped from 58ms to 16ms.

Источник

  • Дата записи: 2026-10-27T07:26:51.121Z