Notify devs via Slack when their change hits the latest track - #36860
Notify devs via Slack when their change hits the latest track#36860sfreudenthaler wants to merge 1 commit into
Conversation
Adds notify-latest-authors, a job in cicd_6-release.yml that fires right after promote-latest moves the floating `latest` tag. It diffs the new release against the previous one to find PR authors, resolves them to Slack via the existing utility_slack-channel-resolver.yml, looks up which environments are currently subscribed to `latest` via the dotUsage API, and tells each author when the evergreen-tracks reconciler will next roll it out (next weekday 10:00 AM ET). Closes: #36859 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PAJtPo1xYYCSENmsjvch8K
|
Claude finished @sfreudenthaler's task in 2m 35s —— View job Code ReviewReviewed the two changed files plus the New Issues
Notes (non-blocking)
Everything else looks sound: the caller gating in |
Summary
cicd_comp_notify-latest-promotion.yml, wired intocicd_6-release.ymlright afterpromote-latestsucceeds.utility_slack-channel-resolver.yml(same pattern aspr-notifier).latestevergreen track via the dotUsageGET /environmentsAPI, with a generic fallback if that call fails.notify_slack == 'true'toggle and the same CLI/LTS/non-vexclusion the Slack report step already uses.Known limitations (by design, ponytail)
[self-hosted, linux, x64, ubuntu-server]), sinceusage.dotcms.cloudsits behind a corporate-IP WAF allowlist that GitHub-hosted runners aren't on. Not yet verified that this runner's egress IP is on that allowlist — if it isn't, the lookup step fails soft and the message falls back to generic wording ("thelatest-track environments") rather than naming customers.DOTUSAGE_TOKENis a personal viewer-role token (expires ~Jan 27); fine for now per the requester, but worth swapping for a dedicated service token later.Closes: #36859