You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(init): stop retaining platform events in memory (NoOpEventsAPI embed)
LocalStackEventsAPI embedded StandaloneEventsAPI, which appends every
platform event (START, runtimeDone, end, report, ...) to an in-memory
event log whose only drain, FetchTailLogs, is never called in this
deployment — i.e. unbounded memory growth in warm environments,
measured at ~2.2 KB RSS per warm invoke (+41 MB over 20k invokes).
Embed NoOpEventsAPI instead (the upstream sandbox default before this
branch): same interop.EventsAPI surface, nothing retained. The
overridden lifecycle hooks keep their LocalStack-specific behavior and
simply no longer forward to the standalone event log.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments