DEVEX-1653: badge prod deploys as π RT or β‘ Hotfix for P0 triage#147
Conversation
Peace Room ask (2026-07-09): during P0 triage the team needs to spot
which prod deploys skipped the RT sign-off flow, since hotfixes see
less scrutiny and are more likely culprits.
Adds a classify-deploy-type step ahead of send-notification. The signal
is already in the image_tag shape β RT deploys tag vX.Y.Z-rc.YYYY-MM-DD.N,
everything else (plain semver main deploys, feature-branch tags,
ad-hoc) is treated as hotfix. No new inputs, no per-caller changes.
Message prefix change:
before: *webstore deployed by pdodgen*
RT: π *RT* Β· *webstore deployed by pdodgen*
Hotfix: β‘ *Hotfix* Β· *webstore deployed by pdodgen*
Fallback `text` field (used for notifications + screen readers) gets
the plain-text badge form ("π RT Β· webstore deployed").
Prod-only by structural design: callers only invoke this workflow from
prod deploy paths (deploy-eks.yaml β slack-notification), so every
message emitted here is a prod message. No env gate needed.
Jellyfish parser (per previous dual-tag-format work) anchors on the
version line and repo name, not the header prefix β the added badge
does not affect its regex.
PR SummaryLow Risk Overview A new Classify deploy type step runs before the existing diff and send steps. It regex-matches Reviewed by Cursor Bugbot for commit 474a7a5. Bugbot is set up for automated code reviews on this repo. Configure here. |
Context
Peace Room ask (2026-07-09): during P0 triage the team needs to spot which prod deploys skipped the RT sign-off flow. Hotfixes see less scrutiny and are more likely culprits, but today the
#releasesnotification looks identical for every prod deploy regardless of whether it came from the Thursday train or a direct-to-main dispatch. Wall of undifferentiated deploys is bad for triage speed.Change
Adds a
Classify deploy typestep ahead of send-notification. Detection is pure regex oninputs.image_tagβ no new inputs, no per-caller changes.Rule: tag matches
-rc.YYYY-MM-DD.Nβπ RT. Everything else ββ‘ Hotfix.Verified against real tags from rt-2026-07-09 promote:
v0.440.10-rc.2026-07-09.7v4.7.0-rc.2026-06-18.3v12.221.30-rc.2026-06-18.2v0.440.6-SHOP-5177-revert-ssr-sidecar.0v0.439.9v1.0.0Message before / after
Before:
After (RT):
After (Hotfix):
Fallback
textfield (used for mobile notifications + screen readers) also gets the badge as plain text (π RT Β· webstore deployed).Scoping notes
β‘ Hotfixon every deploy since they never emit rc tags. Discussed and accepted β the label is honest (they're out-of-RT-process) and the badge cost is zero for repos that aren't triage-critical.Verification plan
Once merged, watch
#releasesfor the next RT-participant deploy (any env change) and confirm the badge renders correctly. If a rendering issue surfaces on mobile Slack, easy to iterate.