DEVOPS

Weekly investigation of repeat build-budget offenders with GitHub issue

Once a week an agent reviews which branches and authors repeatedly overran their build-minute budgets, diagnoses the likely cause from commit and deploy patterns.

CategoryDevOps
Enginepaperclip
Difficultyadvanced
Triggerschedule
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWeekly scheduled investigation run
  • ActionQuery week's throttle and overage eventsPostgreSQLPostgres
  • ActionPull commit and deploy metadata for offendersGitHubGitHub
  • LogicDiagnose root cause and draft remediation
  • ActionFile assigned GitHub issue with fix proposalGitHubGitHub
  • OutputPost weekly offender summary to SlackSlack

What it does

Turns a week of throttle and overage events into an actual action item. An agent reads the throttle history, identifies the branch or author that keeps overrunning, reasons about why from the deploy and commit pattern, and opens a GitHub issue with a recommended fix.

When to use it

Use it when the same branches show up in your throttle alerts week after week and nobody owns fixing the root cause. This converts recurring noise into a triaged, assigned investigation rather than another ignored alert.

How it works

  1. 1A weekly scheduled trigger kicks off the review.
  2. 2The agent queries the throttle and overage event history from Postgres for the past week.
  3. 3It pulls recent commit and deployment metadata from GitHub for the top offending branches to understand the pattern.
  4. 4The agent reasons about the likely cause, such as a redeploy-on-every-commit loop or oversized build steps, and drafts concrete remediation steps.
  5. 5It opens a GitHub issue on the relevant repo with the findings and proposed fix, assigned to the branch owner.
  6. 6It posts a summary of the week's offenders and the filed issue to Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect GitHubRepos, issues, pull requests, actions.
  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.