Ensure `events.jsonl` honors inherited file-size limits
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Área
- cli
Línea de trabajo
Empieza rastreando la persistencia de ~/.copilot/session-state//events.jsonl y la ruta que emite SDK_SESSION_ERROR(persistence). Comprueba cómo afectan a las escrituras el límite de tamaño de archivo heredado de 50 MB y el fallo EFBIG, y verifica después que las sesiones de larga duración se mantienen dentro del límite y siguen siendo reanudables sin errores de persistencia.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
The Copilot CLI persists session events to:
~/.copilot/session-state/<sessionId>/events.jsonl
The CLI inherits the hosting process’s file-size limit. During sufficiently long
sessions, events.jsonl reaches that limit and the next persistence write fails:
I/O error: File too large (os error 27)
This emits SDK_SESSION_ERROR(persistence) and fails the active turn.
Request
Please ensure that events.jsonl remains within the file-size limit inherited by
the Copilot CLI while preserving supported session persistence and resume behavior.
If this behavior is owned by the bundled CLI runtime rather than the SDK wrappers,
please route the issue to the appropriate owner.
Environment
- SDK:
github-copilot-sdk==1.0.7 - Bundled CLI: 1.0.71
- Host file-size limit: 50 MB
- Platform: Linux container
- Error:
EFBIG/os error 27
Acceptance criteria
events.jsonldoes not exceed the inherited file-size limit.- Long-running sessions do not fail with EFBIG due to event-log growth.
- Persisted sessions remain resumable with their expected state.
Impact
Observed in production across real user conversations, causing repeated
Service-class turn failures.
Reference
Internal tracking: https://microsoft.ghe.com/bic/mcs-dracarys/issues/7127
- Lenguaje dominante
- Java
- Estrellas
- 10.5k
- Forks
- 1.5k
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 130
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/copilot-sdk
-
agentic-workflows
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
github/copilot-sdk#2760 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
github/copilot-sdk#2759 ·
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
github/copilot-sdk#2758 ·
-
agentic-workflows
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
github/copilot-sdk#2709 · 1 comentario ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
github/copilot-sdk#2673 ·
Todos los issues de github/copilot-sdk
Issues similares
-
certification
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Abiertobug ecr
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Needs: Triage Type: Feature request
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
AntennaPod/AntennaPod#8794 ·
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100