anthropics / anthropics/claude-code

[Bug] Missing wake notification handler causes stale socket connections after system sleep

Abierto
#89,545 1 comentario 0 reacciones 0 asignados Ver en GitHub
area:networking bug platform:macos
Lenguaje dominante
Python
Estrellas
145k
Forks
23.1k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

**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
[]
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
macos
Área
cli, operating-systems
Tipo de issue
Error
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Activo
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.