Skip to content

Commit cbeda0a

Browse files
snomiaoclaude
andcommitted
feat(gh-bugcop): implement caching and improve issue processing
- Add KeyV SQLite caching for GitHub API calls to reduce API usage - Refactor issue fetching to query labels separately for better API efficiency - Add comprehensive logging for better debugging and monitoring - Improve timeline processing with cached API calls - Remove dry-run mode to enable actual label management - Update status display with new label constants for better UI feedback 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent fd26e32 commit cbeda0a

File tree

3 files changed

+187
-30
lines changed

3 files changed

+187
-30
lines changed

app/tasks/gh-bugcop/gh-bugcop.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ async function processIssue(issue: GH["issue"]) {
196196
.filter((e) => e.label?.name === labelName)
197197
.sort(compareBy((e) => e.created_at))
198198
.reverse()[0];
199-
200199
const latestLabeledEvent = lastLabeled(BUGCOP_ASKING_FOR_INFO) || lastLabeled(BUGCOP_ANSWERED);
201200
if (!latestLabeledEvent) {
202201
lastLabeled(BUGCOP_RESPONSE_RECEIVED) ||

0 commit comments

Comments
 (0)