mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #136] [CLOSED] fix: deduplicate desktop release notifications #136
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/Comfy-PR#136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/136
Author: @snomiao
Created: 1/8/2026
Status: ❌ Closed
Base:
main← Head:sno-dedup-desktop-release-notification📝 Commits (10+)
c0bf042feat: add ComfyPR Bot with Slack/Notion integration and fix event handlingaa81b39chore: improve .gitignore for security and organization5734189chore: add configuration placeholders to .env69288f2docs: add bot architecture and TODO tracking documentationb03c5ccfeat: rewrite bot Dockerfile for Bun and Node.js runtime263113fdocs: add unified CLI documentation to bot READMEce04d36refactor: move notion-search.ts to bot/notion/search.ts45866abfeat: add ComfyUI registry search utilityb870e6cfeat: add GitHub code utilities (pr-bot and issue-search)c03e785docs: add ComfyUI code search documentation📊 Changes
53 files changed (+6535 additions, -257 deletions)
View changed files
➕
.claude/skills/code-search/SKILL.md(+65 -0)➕
.claude/skills/github-issue-search/SKILL.md(+80 -0)➕
.claude/skills/github-pr-bot/SKILL.md(+60 -0)➕
.claude/skills/notion-search/SKILL.md(+49 -0)➕
.claude/skills/pr-bot-cli/SKILL.md(+120 -0)➕
.claude/skills/registry-search/SKILL.md(+83 -0)➕
.claude/skills/slack-msg-update/SKILL.md(+38 -0)➕
.claude/skills/slack-thread-reader/SKILL.md(+71 -0)📝
.env(+5 -0)➕
.env.dev(+28 -0)📝
.gitignore(+11 -4)📝
CLAUDE.md(+242 -2)➕
app/api/webhook/github/README.md(+409 -0)➕
app/api/webhook/github/USAGE_EXAMPLES.md(+495 -0)➕
app/api/webhook/github/route.spec.ts(+216 -0)➕
app/api/webhook/github/route.ts(+147 -0)➕
app/api/webhook/github/setup-indexes.ts(+115 -0)➕
app/api/webhook/github/test-webhook.ts(+119 -0)➕
app/api/webhook/github/webhook-events.ts(+257 -0)📝
app/tasks/gh-design/slackMessageUrlParse.ts(+4 -0)...and 33 more files
📄 Description
🎯 Fixes Duplicate Release Notifications
This PR fixes two separate issues causing duplicate/spam Slack notifications for desktop releases.
🐛 Issue #1: Duplicate Stable Release Messages
Problem: Two identical \stable\ messages posted ~0.25 seconds apart
Example:
\\
Root Cause: Race condition - multiple concurrent task runs both created new messages when \ was undefined.
Fix: Changed logic from \ to \ to only send once, then update existing message.
🐛 Issue #2: Draft Release Spam
Problem: Multiple draft messages posted every time the draft is updated
Example:
\\
Root Cause: GitHub changes draft release URL with each update:
Since the database uses \ as the unique key, each draft update created a new database record with no , causing a new Slack message.
Fix:
✅ Result
Before:
After:
🧪 Testing
All test scenarios verified:
📝 Changes
Files Modified:
Key Changes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.