e-volv

CI playbook

Build Cache Optimizer

Monthly review of Dockerfiles and CI cache configuration that opens a PR with reordering to save dependency-install layers.

Once a month, scans a repository's Dockerfiles and CI cache configuration for ordering mistakes that defeat layer caching, applies minimal reordering fixes, and opens a single pull request that estimates the build time and layer savings. Returns no PR when the Dockerfiles are already ordered correctly.

Identifier
build-cache-optimizer
Version
1.0.1
Steps
3
Triggers
1
  • build
  • cache
  • docker
  • ci
  • optimization
  • cost

When it runs

Scheduleschedule.monthly
Schedule
Day 1 of each month at 00:00 UTC 0 0 1 * *
Timezone
UTC

The pipeline

The graph below is the one the workflow opens with in the builder, same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.

  1. 01
    Monthly Schedule (1st 00:00 UTC)trigger

    The event that starts the run.

  2. 02
    Clone Repository ⚠️ SET YOUR REPOgit.clone

    Shallow-clones the repository at the right ref.

  3. 03
    Optimize Build Cache & Open PRagent.run

    One agent works the task with its toolkit.

The agent

Build Cache Optimizer

Base type
Senior Developer
Temperature
0.2
Max iterations
40
Tools
8

Filesystem · 3

  • read_fileRead File · read
  • list_dirList Directory · read
  • edit_fileEdit File · write

Git provider · 3

  • create_branchCreate Branch · write
  • create_or_update_fileCreate or Update File · write
  • create_pull_requestCreate Pull Request · write

Terminal · 1

  • run_terminal_cmdRun Terminal Command · write

Status · 1

  • update_statusUpdate Status · write

We use only essential cookies to keep you signed in and the app working. With your consent we may enable optional analytics to help us improve e-volv. See our Privacy Policy and Terms.