Skip to content

feat: post release announcements as the marko knight and split the changelog by section - #714

Merged
markshust merged 1 commit into
developfrom
feature/release-announce-bot-name
Nov 18, 2026
Merged

markshust merged 1 commit into
developfrom
feature/release-announce-bot-name

Conversation

@markshust

Copy link
Copy Markdown
Collaborator

Summary

Two fixes to how the 0.14.0 announcement looked in Slack:

  • Sender name: the post showed "Marko Releases" even after the Slack app was renamed to The Marko Knight and reinstalled, because the bot user kept its old name. The script now sets username: "The Marko Knight" on chat.postMessage. That needs the chat:write.customize bot scope, which has been added to the app, and the app has been reinstalled. The duplicate-post guard matches on the bot's user id, so it isn't affected.
  • Changelog boxes: to stay under Slack's size limit, the changelog is posted in code boxes of up to 2,500 characters each. They used to break wherever the limit landed, which split the 0.14.0 "Testing" section across two boxes. Boxes now break only between ### sections, so each one after the first starts with a heading. A single section larger than the limit is still split by line.

Nothing is re-posted for 0.14.0.

Testing

  • Python tests: 21 passed. New tests cover the sender name, the other post options staying unchanged, section-only breaks, oversized sections, size limits and lossless reassembly.
  • composer test: 14,597 passed.
  • composer phpstan: no errors.

🤖 Generated with Claude Code

https://claude.ai/code/session_017KaHtaJM6PLnN1nrMmZEvV

…angelog by section

- Set username "The Marko Knight" on chat.postMessage. The bot user kept
  showing its old name after the Slack app was renamed and reinstalled;
  the app now has the chat:write.customize scope this needs.
- Break the changelog's code boxes only between ### sections, so a box no
  longer starts mid-section. A section larger than the size limit on its
  own is still split by line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017KaHtaJM6PLnN1nrMmZEvV
@markshust markshust added the ci CI/CD pipeline and automation changes label Nov 18, 2026
@github-actions github-actions Bot added enhancement New feature or request and removed ci CI/CD pipeline and automation changes labels Nov 18, 2026
@markshust
markshust merged commit 0b56a24 into develop Nov 18, 2026
5 checks passed
@markshust
markshust deleted the feature/release-announce-bot-name branch November 18, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant