DEVOPS

Weekly GitLab CI Slowest-Stage Cost Digest

Every Monday, scans the past week of GitLab pipeline runs to find the slowest and most expensive CI stages.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerEvery Monday at 8am
  • ActionFetch last 7 days of pipeline + job timingsGitLabGitLab
  • LogicAggregate runner minutes and rank stages by cost
  • ActionGenerate caching and runner-tier recommendationsOpenAI
  • OutputPost ranked cost digest to SlackSlack

What it does

Produces a weekly leaderboard of your most expensive GitLab CI stages, ranked by total runner minutes consumed, and turns it into plain-English optimization advice your team can act on Monday morning.

When to use it

When your GitLab runner bill keeps climbing and nobody knows which jobs are responsible. Ideal for platform teams who want a recurring, low-effort signal instead of manually digging through pipeline analytics.

How it works

  1. 1A scheduled trigger fires every Monday at 8am.
  2. 2The flow queries the GitLab API for all pipelines and job timings from the last 7 days.
  3. 3A logic step aggregates duration and runner minutes per stage, ranking by total cost and flagging stages with high average duration.
  4. 4An OpenAI step writes targeted recommendations — e.g. enable dependency caching, split a fat test stage, or downgrade an over-provisioned runner tier.
  5. 5The final digest, with the top 10 costliest stages and dollar estimates, is posted to a Slack channel.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitLabRepos, MRs, pipelines, registry.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.