anthropics / anthropics/claude-code
[Bug] Missing wake notification handler causes stale socket connections after system sleep
- 主要言語
- Python
- スター
- 145k
- フォーク
- 23.1k
- PR マージ指標
- PR 指標を取得中
説明
**Bug Description**
NSWorkspaceDidActivateApplicationNotification ← app activation only
NSWorkspaceDidWakeNotification ← ABSENT
There is no wake handler. Claude Code never learns the machine slept, so it never resets its connection pool on resume — it just keeps handing out sockets that died during suspend. That's the actual defect, it's client-side, and no user-facing setting fixes it. The honest native fix is upstream: report it with /bug. Your sysctl is a kernel-side workaround for a missing app-side wake handler — effective, but compensating for someone else's gap.
**Environment Info**
- Platform: darwin
- Terminal: zed
- Version: 2.1.245
- Feedback ID: b991a1b0-0fba-485d-82cf-2ef8a0e03027
**Errors**
```json
[]
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
The report identifies a missing NSWorkspaceDidWakeNotification handler and says the defect is client-side, but it names no repository file, test, or implementation entry point. First confirm whether wake handling exists in the client; done would require a reproducible post-sleep connection reset and repository direction, since the report currently recommends /bug rather than an in-repo fix.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos
- 領域
- cli, operating-systems
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100