Weekly Heroku deploy-frequency report posted to Slack

By General Input

Every Monday, get a clear rundown of how often each Heroku app shipped last week, which ones stalled, and which look unstable, posted straight to Slack.

Integrations

  • Heroku
  • Slack Bot

Type

Agentic Task

Categories

  • Engineering

Every Monday at 9am, put together a weekly deploy-health report for our Heroku apps and post it to our engineering team's Slack channel. Run this on a cron schedule, weekly on Monday morning.

Start by calling Heroku's List Apps operation to enumerate every app the connected account can access. For each app, call Heroku's List Releases operation to pull its recent deploy history, and keep the releases from the past seven days, plus enough earlier history to tell when each app last shipped.

For each app, compute its deploy frequency for the week, meaning how many releases went out. Treat rollbacks as an instability signal. A rollback shows up in the release history as a new release whose description indicates it rolled back to an earlier version, so count those separately per app. Flag any app that has not had a new deploy in more than two weeks as stale.

Write it up as a concise, DORA-style deploy-frequency report. Deploy frequency is one of the four DORA metrics, so frame the numbers that way. Rank the apps by deploy count, most active first, and include a short callout of the least active apps and the least stable apps, meaning those with the most rollbacks. Keep it skimmable: a ranked list showing per-app deploy counts and rollback counts plus the stale flags, with a one or two line summary at the top.

Post the finished report to Slack using Slack Bot's Send a Message operation, sending it to our engineering channel. Format it with Slack mrkdwn, for example *bold* section headers, so it reads cleanly in the channel.

Related prompts

Explore more prompts
A brand asset library your marketing team actually searchesTurn Mailjet email clicks into ranked HubSpot follow-upsClean out the Looker dashboards and Looks nobody opensLiveKit live operations console for room moderationWake up dormant Keap leads with a researched reasonLiveChat coverage board for planning next week's shiftsPhone routing control panel for LiveKit voice agentsLinkedIn Ads budget pacing dashboard for every client accountGive your team Looker numbers without buying more seatsPause marketing emails to escalated customers, then restore them