mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #204] [MERGED] ComfyPR-Bot improvements: webhook retry, faster ack, sectioned progress, image vision, ❌-cancel #204
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#204
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/204
Author: @snomiao
Created: 4/24/2026
Status: ✅ Merged
Merged: 4/25/2026
Merged by: @snomiao
Base:
main← Head:sno-bot📝 Commits (10+)
22b2c99refactor: rename msgs.yaml to inbox.yaml for clarity22c5580Squashed 'lib/slack-cli/' content from commit 0e5b91277898c2Merge commit '22c558089a' as 'lib/slack-cli'30b9f3efeat: add subtree sync script and slack-cli subtreee0abd3efix: extract Slack update fn, add throttling, fix final update and input drain cleanupace0f4ffix(slack-cli): use shared reqwest Client via LazyLock for connection poolingcf0707cfix(slack-cli): use valid Slack Block Kit section/mrkdwn instead of invalid markdown typeb8669f1feat(slack-cli): add TS utility layer with URL parsing, markdown conversion, caching, and safe messaginge481a94feat: add prbot feedback command — posts to private #prbot-feedback Slack channel771e1d5feat(feedback): auto-detect repo URL and CLI version in feedback posts📊 Changes
26 files changed (+1307 additions, -508 deletions)
View changed files
📝
.bot/AGENT.md(+50 -0)📝
.gitignore(+5 -0)📝
app/(dashboard)/details/page.tsx(+0 -1)📝
app/(dashboard)/totals/page.tsx(+0 -1)📝
app/auth/login/page.tsx(+18 -1)📝
app/tasks/github-contributor-analyze/githubContributorAnalyze.ts(+7 -2)📝
bot/cli.ts(+33 -0)📝
bot/error-collector.ts(+53 -3)📝
bot/index.ts(+48 -1)📝
bot/slack-bot.ts(+549 -296)➕
bot/spawn-as-user.ts(+82 -0)➕
bot/task-user.ts(+136 -0)➕
bot/taskInputFlow.spec.ts(+87 -0)📝
docs/perf/README.md(+8 -8)📝
docs/perf/build-and-typecheck.md(+29 -17)📝
docs/perf/caching-strategy.md(+21 -21)📝
docs/perf/client-bundle.md(+13 -8)📝
docs/perf/dependency-bloat.md(+31 -30)📝
docs/perf/mongodb-queries.md(+14 -13)📝
docs/perf/server-rendering.md(+19 -15)...and 6 more files
📄 Description
Summary
ComfyPR-Bot behavior improvements (16 items total), shipped in phases across Slack webhook, UX, cost, features, and reliability.
Reliability (Phase 1)
event_iddedup)..env.localoverride + secret-prefix log on startup — prevent the recurring incident (2026-04-24) where pm2 carried stale shell env that shadowed.env.local.UX / response quality (Phase 2)
Feature additions (Phase 3)
github.com/.../pull/Nfrom agent output and pin them under 📎 Deliverables../attachments/so the agent can read them via the Read tool.Cost / reliability finalization (Phase 4)
event.ts + sha256(text)[:8]so an edit with new intent retriggers, but identical retries within 10s do not.bun run checkintest.yaml)..bot/AGENT.mddelegatesprbot slack updateto the agent itself. The GPT-4o synthesizer is demoted to a 30s safety net.Test plan
bunx tsc --noEmit)bun test bot/taskInputFlow.spec.ts(4/4 pass)Ignoring duplicate webhook eventlog[env] SLACK_SIGNING_SECRET=f944ab... | ...Design notes in
tmp/improvement-plan.md(gitignored).🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.