Skip to content

fix: revert pre-fork hooks for multi-concurrent mode - #230

Merged
darklight3it merged 1 commit into
mainfrom
fix/revert-pre-log-hooks
Oct 13, 2026
Merged

darklight3it merged 1 commit into
mainfrom
fix/revert-pre-log-hooks

Conversation

@darklight3it

Copy link
Copy Markdown
Contributor

This reverts commit fa006b6 (#226).

The pre-fork hooks change introduced in 4.1.0 is breaking, so it is
removed: the awslambdaric.lambda_concurrency_hooks module, the
@register_pre_fork decorator and the Runtime.PreForkError error
type are gone, restoring the 4.0.4 multi-concurrent startup flow. The
on-demand path is unaffected.

Bumps the version to 4.2.1 and adds a release note.

Issue #, if available:

Description of changes:

_Target (OCI, Managed Runtime, both): both

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This reverts commit fa006b6 (#226).

The pre-fork hooks change introduced in 4.1.0 is breaking, so it is
removed: the `awslambdaric.lambda_concurrency_hooks` module, the
`@register_pre_fork` decorator and the `Runtime.PreForkError` error
type are gone, restoring the 4.0.4 multi-concurrent startup flow. The
on-demand path is unaffected.

Bumps the version to 4.2.1 and adds a release note.
@darklight3it
darklight3it merged commit c1ce090 into main Oct 13, 2026
72 of 75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants