DEVOPS

Flaky GitLab Stage Detector to Linear

Detects CI stages that get re-run repeatedly on the same commits (a flakiness and cost signal) and opens a deduplicated Linear issue with the failure pattern and a caching/retry…

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily schedule
  • ActionPull job retry data from GitLabGitLabGitLab
  • LogicFlag stages re-run more than twice per commit
  • LogicDedupe against existing open issues
  • ActionDraft fix proposal and wasted-minute estimateOpenAI
  • OutputCreate Linear issue for new flaky stagesLinearLinear

What it does

Finds GitLab CI stages that are re-run multiple times for the same pipeline or commit — a strong indicator of flaky jobs that waste runner minutes — and files an actionable Linear issue so the owning team fixes the root cause instead of hitting retry.

When to use it

When developers habitually mash the retry button and your runner spend balloons from re-executed jobs. Use it to convert invisible flakiness into tracked, ownable work.

How it works

  1. 1A scheduled trigger runs daily.
  2. 2The flow pulls pipeline and job retry data from the GitLab API for the last 24 hours.
  3. 3A logic step groups retries by stage and commit, flagging any stage re-run more than twice and computing the wasted minutes.
  4. 4A second logic step checks for an existing open Linear issue to avoid duplicates.
  5. 5An OpenAI step drafts the issue: failure pattern, wasted-minute estimate, and a concrete caching or retry-policy fix.
  6. 6A new Linear issue is created for each newly flagged stage.

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 LinearIssues, projects, cycles, triage.
  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.