mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #37] [MERGED] GitHub Bug Cop Task - Automated issue labeling and tracking #42
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#42
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/37
Author: @snomiao
Created: 7/18/2025
Status: ✅ Merged
Merged: 7/18/2025
Merged by: @snomiao
Base:
main← Head:sno-bug-cop📝 Commits (8)
afcb40fchore: update dependencies and refactor code8d32b8cMerge branch 'main' of github.com:Comfy-Org/Comfy-PR into sno-bug-cop624d6ccMerge main into sno-bug-cop and resolve conflicts92c2118fix(gh-bugcop.tsx): correct statusReason string to fix typo from "unknown" to "unknown" for clarity2a73970fix(gh-bugcop.tsx): correct typo in statusReason from "unknow" to "unknown" for clarity and accuracy66d46f9chore(gh-bugcop.tsx): comment out unused code for issue flow processing to improve code clarity and maintainability190f9ebfix(gh-bugcop.tsx): ensure database closes properly in CI environment by awaiting db.close() before exiting the processefb6b2frefactor(echoBunShell.ts): remove unused ShellPromise import to clean up code and improve readability📊 Changes
17 files changed (+991 additions, -234 deletions)
View changed files
➕
.github/workflows/gh-bugcop.yaml(+28 -0)📝
app/api/router.ts(+2 -1)➕
app/tasks/gh-bugcop/GithubBugcopTaskStatus.tsx(+173 -0)➕
app/tasks/gh-bugcop/gh-bugcop.tsx(+290 -0)➕
app/tasks/gh-bugcop/page.tsx(+150 -0)➕
app/tasks/gh-design/createTimeLogger.ts(+6 -0)📝
app/tasks/gh-design/gh-design.ts(+3 -4)📝
app/tasks/page.tsx(+12 -11)📝
bun.lock(+302 -207)📝
package.json(+9 -2)📝
src/GithubActionUpdateTask/updateGithubActionPrepareBranch.ts(+4 -4)📝
src/GithubActionUpdateTask/updateGithubActionTask.ts(+1 -1)📝
src/cli/echoBunShell.ts(+2 -2)📝
src/db/TaskMeta.ts(+1 -1)📝
src/gh/index.ts(+4 -0)📝
src/parseIssueUrl.ts(+3 -0)📝
src/slack/index.ts(+1 -1)📄 Description
Summary
• Add automated GitHub Bug Cop task that monitors issues labeled with "bug-cop:ask-for-info"
• Automatically removes the asking label and adds "bug-cop:answered" when users provide additional context
• Includes GitHub Actions workflow to run the task every 5 minutes
• Provides a dashboard interface to view and track all bug cop tasks
Features
• Automated Issue Monitoring: Scans issues across Comfy repositories for bug-cop labels
• Smart Label Management: Detects when users respond with additional context and updates labels accordingly
• Timeline Tracking: Monitors issue comments and body updates to determine if issues have been answered
• Dashboard Interface: Web interface to view all tracked issues and their current status
• GitHub Actions Integration: Automated workflow runs every 5 minutes to keep labels up-to-date
Test plan
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.