AutomationEngineering

The deploy that broke something

When tickets jump within an hour of a release, post the commits that went out to the engineering channel.

The automation

Paste it in.
Change what you like.

Runs whenSchedule · Every 15 minutes
Tools
  • Analyze support data
  • Read code
  • Search tickets
  • Read tickets
  • Post messages
Instructions

Count the tickets created in the last hour and compare with the same hour on the previous four weekdays.

If the last hour is at least double the usual, and at least five tickets:

  1. Read the new tickets and group them by what the customer is reporting.
  2. Look at the commits and pull requests merged in the two hours before the first of those tickets.
  3. For the largest group, name the changes most likely to be related and say why.
  4. Post to #engineering: the theme, how many customers, links to three example tickets, and the suspect changes with their authors.

If you already posted about the same theme today, add to that thread instead of starting a new one. If volume is normal, do nothing.

How a run goes

What happens
each time it runs.

  1. Watches the volumeCompares the last hour with a normal one, every fifteen minutes.
  2. Reads what’s newGroups the tickets by what customers are actually reporting.
  3. Checks what shippedLines the first ticket up against the commits merged just before it.
  4. Tells engineeringThe theme, the customers, example tickets and the likely change.
What it sends

What lands
in your channel.

More automations

Copy the instructions.
Or have us set it up.