claude-code - 💡(How to fix) Fix [BUG] ScheduleWakeup gets stuck and Wakeup is never fired [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#53413Fetched 2026-04-26 05:16:33
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×5

Error Message

Error Messages/Logs

Code Example

I don't see any logs.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

I am using Claude Code vscode extension's chat and latest version. When claude needs to wait some time before checking, it fires ScheduleWakeup. However, in my environment it sometimes gets stuck and never fires Wakeup event. Platform: Windows 11 25H2

What Should Happen?

Wakeup should happen when the expected time passes.

Error Messages/Logs

I don't see any logs.

Steps to Reproduce

Just use claude code vscode extension normally. It might happen due to long chat history or extreme load on chat history maybe. I don't know why it happens. It just happens randomly.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.120

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

The issue might be resolved by investigating the scheduling mechanism of the Claude Code vscode extension, specifically the ScheduleWakeup and Wakeup events, to identify why it gets stuck in certain environments.

Guidance

  • Investigate the ScheduleWakeup event to determine if it's correctly scheduling the Wakeup event, and if there are any conditions under which it might fail to do so.
  • Consider the impact of a long chat history or extreme load on the chat history, as mentioned in the steps to reproduce, and how this might affect the scheduling mechanism.
  • Since no logs are available, consider adding logging to the scheduling mechanism to gain more insight into what's happening when the issue occurs.
  • Test the extension in a controlled environment with a minimal chat history to see if the issue still occurs, to help isolate the cause.

Notes

The lack of logs and the random nature of the issue make it difficult to provide a more specific fix. Further investigation and logging are needed to understand the root cause.

Recommendation

Apply workaround: Implement additional logging in the scheduling mechanism to gather more information about when and why the Wakeup event is not firing.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] ScheduleWakeup gets stuck and Wakeup is never fired [1 participants]