Skip to content

Split docs into own on-call thread reply + link channels - #18

Merged
ewels merged 2 commits into
mainfrom
oncall-thread-channel-links
Jun 22, 2026
Merged

Split docs into own on-call thread reply + link channels#18
ewels merged 2 commits into
mainfrom
oncall-thread-channel-links

Conversation

@ewels

@ewels ewels commented Jun 22, 2026

Copy link
Copy Markdown
Member

Summary

Tidies up the weekly on-call announcement thread in scheduler/oncall_jobs.py:

  • Moves the docs link to its own message. The Docs: … line is removed from the start-of-week responsibilities reply and posted as a separate third thread reply (after the responsibilities reminder and the proposals digest).
  • Links the channel references. #release-review-trading, #request-core, and #github-invitations in the responsibilities message now render as clickable Slack channel links (<#ID>), falling back to plain #name text if the channel ID can't be resolved (e.g. the bot isn't a member).

The thread now posts three independent, best-effort replies: responsibilities → proposals digest → docs.

Implementation notes

  • Channel IDs are resolved at post time via the existing resolve_channel_id() helper from proposals/slack_utils.py (process-lifetime cached), which is why the responsibilities text is now built dynamically rather than as a static constant.
  • Each reply keeps its own try/except so a failure posting one doesn't block the others.

🤖 Generated with Claude Code

ewels and others added 2 commits June 22, 2026 10:25
Move the docs link out of the start-of-week responsibilities message and
post it as a separate third thread reply under the weekly on-call
announcement. Render the #release-review-trading, #request-core and
#github-invitations references as clickable Slack channel links (falling
back to plain #name text when the channel ID can't be resolved).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Monday announcement thread now posts three replies (responsibilities,
proposals digest, docs link) and resolves channel IDs for the channel
links in the responsibilities message. Patch resolve_channel_id and assert
the docs reply and the rendered <#ID> channel link.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ewels
ewels merged commit 913c51a into main Jun 22, 2026
3 checks passed
@ewels
ewels deleted the oncall-thread-channel-links branch June 22, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant