Commit 6cd5085
authored
DEVEX-1653: flip Slack classifier to bright-line on_rt rule (Phase 3) (#149)
feat(slack): flip classifier to bright-line on_rt rule (Phase 3 of DEVEX-1653 badge)
The DEVEX-1653 sweep completed (21 participant PRs merged 2026-07-09,
plus the accept-only on_rt input in #148). Every
participant's deploy chain now propagates on_rt to this workflow.
Flip the classifier from tag-shape inference to bright-line on the
declared intent:
on_rt=true → 🚂 RT (only rt-promote.sh sets this)
on_rt=false → ⚡ Hotfix (default — every other dispatch path)
This fixes Sam's 2026-07-09 rc.8 case where a hotfix backport promoted
manually via
mis-badged as 🚂 RT because the tag matched the -rc.<date>.<iter>
pattern. The tag pattern can't distinguish rc.1 (initial train ship)
from rc.N>1 (hotfix backport) — only the dispatcher's intent knows.
Depends on:
- Every participant declaring on_rt on deploy-production.yaml (done —
21 sweep PRs merged)
- Shared slack-deploy-notification.yaml declaring on_rt input (done —
#148 merged as ab8282c)
Companion PR (must merge in the same window):
- encodium/actions: rt-promote.sh update to pass -f on_rt=true on
each deploy-production.yaml dispatch.
Between this PR's merge and the rt-promote.sh update landing, every
prod deploy shows as ⚡ Hotfix — including next Thursday's train ship
if rt-promote.sh hasn't been updated yet. That's the safe default
(better to under-classify than to falsely-badge as RT), but keep the
two PRs tight.1 parent ab8282c commit 6cd5085
1 file changed
Lines changed: 24 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 43 | + | |
| 44 | + | |
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
52 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
60 | | - | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | | - | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| |||
69 | 76 | | |
70 | 77 | | |
71 | 78 | | |
72 | | - | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
| |||
0 commit comments