[PR #48] [MERGED] refactor(gh-bugcop): remove ANSWERED_LABEL management and improve label handling #52

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

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/48
Author: @snomiao
Created: 8/13/2025
Status: ✅ Merged
Merged: 8/13/2025
Merged by: @snomiao

Base: main ← Head: sno-bugcop-dont-set-answered


📝 Commits (4)

  • fd26e32 Remove ANSWERED_LABEL management from bug-cop
  • cbeda0a feat(gh-bugcop): implement caching and improve issue processing
  • 4883a0d refactor(gh-bugcop.tsx): convert lastLabeled function to a named function for better readability and maintainability
  • 8e22ef0 Apply suggestion from @Copilot

📊 Changes

4 files changed (+308 additions, -164 deletions)

View changed files

📝 app/tasks/gh-bugcop/GithubBugcopTaskStatus.tsx (+4 -3)
📝 app/tasks/gh-bugcop/gh-bugcop.tsx (+117 -132)
📝 bun.lock (+186 -29)
📝 package.json (+1 -0)

📄 Description

Summary

• Refactored GitHub bug cop bot to remove ANSWERED_LABEL management and improve label handling
• Implemented caching for API calls using keyv-sqlite for better performance
• Added BUGCOP_RESPONSE_RECEIVED label for tracking user responses to info requests
• Improved issue processing logic and timeline event handling

Test plan

  • Test the bug cop bot with issues that have bug-cop:ask-for-info label
  • Verify that user responses properly trigger BUGCOP_RESPONSE_RECEIVED label
  • Confirm caching is working properly and reducing API calls
  • Test label transitions work correctly

🤖 Generated with 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/48 **Author:** [@snomiao](https://github.com/snomiao) **Created:** 8/13/2025 **Status:** ✅ Merged **Merged:** 8/13/2025 **Merged by:** [@snomiao](https://github.com/snomiao) **Base:** `main` ← **Head:** `sno-bugcop-dont-set-answered` --- ### 📝 Commits (4) - [`fd26e32`](https://github.com/Comfy-Org/Comfy-PR/commit/fd26e328c7d4e288306d6cbbb3702f7cef98947c) Remove ANSWERED_LABEL management from bug-cop - [`cbeda0a`](https://github.com/Comfy-Org/Comfy-PR/commit/cbeda0a7022f065c2342e619f23611947b089b4b) feat(gh-bugcop): implement caching and improve issue processing - [`4883a0d`](https://github.com/Comfy-Org/Comfy-PR/commit/4883a0dd585f6af744d3b8ee21500dad52819bdd) refactor(gh-bugcop.tsx): convert lastLabeled function to a named function for better readability and maintainability - [`8e22ef0`](https://github.com/Comfy-Org/Comfy-PR/commit/8e22ef0ccf867e149a60bdbae46f67920ee7ea68) Apply suggestion from @Copilot ### 📊 Changes **4 files changed** (+308 additions, -164 deletions) <details> <summary>View changed files</summary> 📝 `app/tasks/gh-bugcop/GithubBugcopTaskStatus.tsx` (+4 -3) 📝 `app/tasks/gh-bugcop/gh-bugcop.tsx` (+117 -132) 📝 `bun.lock` (+186 -29) 📝 `package.json` (+1 -0) </details> ### 📄 Description ## Summary • Refactored GitHub bug cop bot to remove ANSWERED_LABEL management and improve label handling • Implemented caching for API calls using keyv-sqlite for better performance • Added BUGCOP_RESPONSE_RECEIVED label for tracking user responses to info requests • Improved issue processing logic and timeline event handling ## Test plan - [ ] Test the bug cop bot with issues that have bug-cop:ask-for-info label - [ ] Verify that user responses properly trigger BUGCOP_RESPONSE_RECEIVED label - [ ] Confirm caching is working properly and reducing API calls - [ ] Test label transitions work correctly 🤖 Generated with [Claude Code](https://claude.ai/code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-27 21:09:07 +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#52
No description provided.