Skip to content

Maintenance: Add Logger E2E tests for Lambda Managed Instances #5518

Description

@dreamorosi

Summary

Add an end-to-end test validating Logger's InvokeStore-backed log attribute isolation on Lambda Managed Instances, where concurrent invocations are multiplexed into shared execution environments.

This includes the supporting testing infrastructure: a capacity provider construct, shared run-scoped capacity provider stacks, and workflow jobs. Part of #5092 — this issue tracks the Logger portion; metrics and batch are tracked separately by the parent. Implemented by PR #5465.

Why is this needed?

Logger's InvokeStore concurrency code paths are currently exercised only by unit tests with mocked Lambda Managed Instances environments. Nothing proves that log attributes remain isolated between concurrent invocations on the real platform. This work validates that behavior against Lambda Managed Instances, following the prototype findings discussed in #5092.

Which area does this relate to?

  • Automation
  • Tests
  • Logger

Solution

Add a Logger LMI end-to-end suite that forces concurrent invocations to share execution environments and verifies that invocation-scoped log attributes do not leak between requests. Add reusable capacity provider infrastructure, shared run-scoped capacity provider stacks, and workflow jobs needed to provision and run the suite.

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Activity

  1. added
    loggerThis item relates to the Logger Utility
    triageThis item has not been triaged by a maintainer, please wait
    internalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
    and removed
    triageThis item has not been triaged by a maintainer, please wait
    on Jul 31, 2026
  2. powertools-for-aws-oss-automation commented on Aug 31, 2026

    @powertools-for-aws-oss-automation

    Warning

    This issue is now closed. Please be mindful that future comments are hard for our team to see.
    If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  3. removed
    internalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
    on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

loggerThis item relates to the Logger Utility

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions