aws / aws/aws-lambda-runtime-interface-emulator

Runtime init reload after panic

未關閉
#9 0 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
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 處理路徑,接著追蹤發生 crash 的 runtime 如何在日誌中回報。完成的標準是:panic 會讓 runtime 重新初始化,而不需要重新啟動 emulator,且相關測試涵蓋此行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
go
領域
devtools
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。