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
feat: Emit worker pool size as a DEBUG log event during init on Lambda Managed Instances (#219)
* feat: Emit worker pool size as a DEBUG log event during init on Lambda Managed Instances
* fix: Stringify non-serializable JSON log values and close init log sink
Address PR review feedback:
- Add default=str to the JSON log encoder so dict messages (and extra
attributes) containing non-serializable values are stringified instead
of raising and dropping the log record.
- Close the log sink opened by init_logging deterministically after the
parent's handler is removed, instead of relying on GC.
* fix: Remove redundant output redirect from parent process
RAPID wires the runtime main process's stdout/stderr to the log egress
at spawn, so the parent does not need to dial the telemetry FD provider
socket — that socket exists for the forked workers, which continue to
redirect in run_single. Addresses PR review feedback.
Copy file name to clipboardExpand all lines: RELEASE.CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
### September 2, 2026
2
+
`4.0.3`
3
+
- Emit a structured `runtime_worker_pool_initializing` DEBUG log event once per execution environment during INIT in multi-concurrent (Lambda Managed Instances) mode, reporting `workerCount` and `executionEnvironmentMaxConcurrency` for worker pool observability. Only visible when the function log level is DEBUG or lower; no impact on the standard on-demand path.
4
+
1
5
### July 15, 2026
2
6
`4.0.2`
3
7
- Add `Lambda-Runtime-Invocation-Id` header support for cross-wiring protection. The RIC now echoes the invocation ID received from RAPID on `/next` back on `/response` and `/error`, enabling RAPID to detect and reject stale responses from timed-out invocations.
0 commit comments