From 536d71595ae430b0f7c2ccf8946375457f84a2e6 Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 17 Oct 2025 20:32:32 +0300 Subject: [PATCH 1/3] Initial commit with task details for issue #31 Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: undefined --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..67e0055 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +Issue to solve: undefined +Your prepared branch: issue-31-ef2fd5a6 +Your prepared working directory: /tmp/gh-issue-solver-1760722349649 + +Proceed. \ No newline at end of file From 5c401c4bf0a5babb85fc0ee52709a27423326b78 Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 17 Oct 2025 20:35:34 +0300 Subject: [PATCH 2/3] Fix AbortError in friends.get by increasing apiTimeout to 30s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The friends.get API call was timing out with the default 10s timeout when retrieving friend lists. This caused AbortError: The operation was aborted during the deleteDeactivatedFriendsTrigger execution. Solution: Increase apiTimeout from default 10000ms to 30000ms (30s) to allow enough time for the VK API to respond with large friend lists. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 4226830..e2898bb 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,10 @@ const triggers = [ const token = getToken(); const { VK } = require('vk-io'); -const vk = new VK({ token }); +const vk = new VK({ + token, + apiTimeout: 30000 // Increase timeout to 30 seconds to handle slow friends.get requests +}); vk.updates.on(['message_new'], async (request) => { let peerState; From 4da0a6750a5643caa7a961fc8392b201b692abfc Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 17 Oct 2025 20:36:32 +0300 Subject: [PATCH 3/3] Revert "Initial commit with task details for issue #31" This reverts commit 536d71595ae430b0f7c2ccf8946375457f84a2e6. --- CLAUDE.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 67e0055..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,5 +0,0 @@ -Issue to solve: undefined -Your prepared branch: issue-31-ef2fd5a6 -Your prepared working directory: /tmp/gh-issue-solver-1760722349649 - -Proceed. \ No newline at end of file