aws / aws/aws-lambda-runtime-interface-emulator
Runtime init reload after panic
未关闭
bug
documentation
- 主要语言
- Go
- 星标
- 1.1k
- 派生
- 118
- 平均合并
- 42 分钟
- 30 天内合并 PR
- 2
描述
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.
贡献指南
调研方向
首先定位 emulator 的 runtime 初始化和 panic 处理路径,然后跟踪崩溃的 runtime 如何在日志中报告。完成的标准是:panic 会使 runtime 重新初始化,而无需重启 emulator,并且相关测试覆盖了这一行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- devtools
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100