Release announcement
| Name | release-announcement |
| Enabled by default | No |
| Steps | 3 |
| Runs at once | up to 1 |
| Catalog | v0.51.0 |
What it does
Drafts a release's announcements when it is cut: the blogger, newsletter and socializer write them and send the drafts to the org's Slack channel. Nothing is published anywhere: people read the drafts in Slack and post what they want by hand. A step whose AgentRole is disabled is Skipped. The workflow ships disabled: every run spends model tokens, so an org enables it when it wants announcement drafts for each release. Announcing by hand from a Product's board is the Announcement workflow's.
When it runs
- On the event
release.cut. Runs when a release is cut for a Product.
Steps
Rounded steps are human gates, slanted steps are promotions, and double-edged steps run automatically.
| # | Step | Type | Runs | Required | On failure | Attempts |
|---|---|---|---|---|---|---|
| 1 | blog-draft | AgentRole | blogger | No | Continue | 1 |
| 2 | newsletter-draft | AgentRole | newsletter | No | Continue | 1 |
| 3 | social-drafts | AgentRole | socializer | No | Continue | 1 |
1. blog-draft
Drafts the release's blog post and sends it to the org's Slack channel.
Skipped when its AgentRole is switched off.
2. newsletter-draft
Drafts the release's newsletter item and sends it to the org's Slack channel.
Skipped when its AgentRole is switched off.
3. social-drafts
Drafts a post for each of the org's announcement accounts (Settings → Announcements) and sends them to the org's Slack channel. Nothing is posted.
Runs only when agentRole.enabled. Skipped when its AgentRole is switched off.
When it hands off to a human
Work an agent cannot finish is dead-lettered to @platform/release-managers. The AgentWorkflowRun shows the step as DeadLettered until a human picks it up.