[PR #213] [MERGED] fix: post overflow changelog PR entries as thread replies instead of truncating #211

Closed
opened 2026-10-27 21:10:39 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/213
Author: @claude[bot]
Created: 9/12/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @christian-byrne

Base: main ← Head: fix/frontend-changelog-overflow-thread-replies


📝 Commits (1)

  • 710b67d fix: post overflow changelog PR entries as thread replies instead of truncating

📊 Changes

6 files changed (+598 additions, -43 deletions)

View changed files

📝 app/tasks/gh-frontend-release-notification/index.spec.ts (+312 -26)
📝 app/tasks/gh-frontend-release-notification/index.ts (+32 -17)
➕ app/tasks/gh-frontend-release-notification/upsertChunkedSlackMessage.spec.ts (+99 -0)
➕ app/tasks/gh-frontend-release-notification/upsertChunkedSlackMessage.ts (+76 -0)
➕ lib/utils.spec.ts (+47 -0)
📝 lib/utils.ts (+32 -0)

📄 Description

Requested via Slack thread

Before: the #frontend release-notification message (and the prerelease drafting message) middle-truncates the PR list once the release notes get long, dropping PR entries and inserting a literal ...TRUNCATED... line — this just happened on the v1.55.5 stable release announcement.

After: the message is split on whole-line boundaries (a PR entry is never split mid-line); the first chunk posts as the main message and any remaining chunks post as thread replies under it, so every PR entry is still visible, just spread across the thread instead of dropped.

Chunk size is 3500 characters — chosen for readability of a single Slack message, well under Slack's real 40,000-character message-text limit.

Also handles the message getting shorter on a later save (e.g. a release note edit) by deleting now-unused trailing thread replies.


Generated by Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/Comfy-PR/pull/213 **Author:** [@claude[bot]](https://github.com/apps/claude) **Created:** 9/12/2026 **Status:** ✅ Merged **Merged:** 9/13/2026 **Merged by:** [@christian-byrne](https://github.com/christian-byrne) **Base:** `main` ← **Head:** `fix/frontend-changelog-overflow-thread-replies` --- ### 📝 Commits (1) - [`710b67d`](https://github.com/Comfy-Org/Comfy-PR/commit/710b67dc75ee6b7b6d7627cde3606874846512cb) fix: post overflow changelog PR entries as thread replies instead of truncating ### 📊 Changes **6 files changed** (+598 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `app/tasks/gh-frontend-release-notification/index.spec.ts` (+312 -26) 📝 `app/tasks/gh-frontend-release-notification/index.ts` (+32 -17) ➕ `app/tasks/gh-frontend-release-notification/upsertChunkedSlackMessage.spec.ts` (+99 -0) ➕ `app/tasks/gh-frontend-release-notification/upsertChunkedSlackMessage.ts` (+76 -0) ➕ `lib/utils.spec.ts` (+47 -0) 📝 `lib/utils.ts` (+32 -0) </details> ### 📄 Description <!-- ccr-slack-attribution --> _Requested via [Slack thread](https://comfy-organization.slack.com/archives/C075ANWQ8KS/p1789177564972699?thread_ts=1789177564.972699&cid=C075ANWQ8KS)_ **Before:** the `#frontend` release-notification message (and the prerelease drafting message) middle-truncates the PR list once the release notes get long, dropping PR entries and inserting a literal `...TRUNCATED...` line — this just happened on the v1.55.5 stable release announcement. **After:** the message is split on whole-line boundaries (a PR entry is never split mid-line); the first chunk posts as the main message and any remaining chunks post as thread replies under it, so every PR entry is still visible, just spread across the thread instead of dropped. Chunk size is 3500 characters — chosen for readability of a single Slack message, well under Slack's real 40,000-character message-text limit. Also handles the message getting shorter on a later save (e.g. a release note edit) by deleting now-unused trailing thread replies. --- _Generated by [Claude Code](https://claude.ai/code/session_01A789tEwmh3vdssEf47CPZf)_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-27 21:10:39 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/Comfy-PR#211
No description provided.