aws / aws/aws-lambda-runtime-interface-emulator
Runtime init reload after panic
- Lenguaje dominante
- Go
- Estrellas
- 1.1k
- Forks
- 118
- Merge medio
- 42 min
- PR fusionados (30 d)
- 2
Descripción
Some runtimes crash with panics because they assume the environment will self recover, because that's Lambda's behavior when you deploy a function. It'd be very useful if the emulator would initialize the runtime again if the runtime crashed with a panic.
Otherwise, people have to restart the emulator, and it's not very obvious that you have to do that by looking at the logs either.
Guía de contribución
Línea de trabajo
Comienza localizando las rutas de inicialización del runtime y de gestión de panics del emulador; después, sigue cómo se informa en los logs de un runtime que ha sufrido un crash. Se considera terminado cuando un panic hace que el runtime vuelva a inicializarse sin requerir reiniciar el emulador y el comportamiento está cubierto por las pruebas relevantes.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- go
- Área
- devtools
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100