Skip to content

Conversation

@svozza
Copy link
Contributor

@svozza svozza commented Nov 21, 2025

Summary

This PR updates InvokeStore to v0.2.1, which contained several breaking changes including async initialisatioon.

Changes

  • use the globalThis.awslambda.InvokeStore to avoid the async initialisation.
  • check for the AWS_LAMBDA_MAX_CONCURRENCY variable to decide whether to use InvokeStore because the getContext method no longer calls the underlying store.
  • Update, logger, metrics, and batch utilities to use globalThis.awslambda.InvokeStore
  • updated all the tests

Issue number: closes #4787


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@svozza svozza self-assigned this Nov 21, 2025
@boring-cyborg boring-cyborg bot added batch This item relates to the Batch Processing Utility commons This item relates to the Commons Utility dependencies Changes that touch dependencies, e.g. Dependabot, etc. logger This item relates to the Logger Utility metrics This item relates to the Metrics Utility tests PRs that add or change tests labels Nov 21, 2025
@pull-request-size pull-request-size bot added the size/XL PRs between 500-999 LOC, often PRs that grown with feedback label Nov 21, 2025
@svozza svozza requested review from dreamorosi and sdangol November 21, 2025 16:07
@sonarqubecloud
Copy link

Copy link
Contributor

@dreamorosi dreamorosi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e2e tests are passing, let's go

@svozza svozza merged commit d2e0fcc into main Nov 21, 2025
51 checks passed
@svozza svozza deleted the async-invoke-store branch November 21, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation This item relates to automation batch This item relates to the Batch Processing Utility commons This item relates to the Commons Utility dependencies Changes that touch dependencies, e.g. Dependabot, etc. documentation Improvements or additions to documentation internal PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.) logger This item relates to the Logger Utility metrics This item relates to the Metrics Utility size/XL PRs between 500-999 LOC, often PRs that grown with feedback tests PRs that add or change tests

Projects

Development

Successfully merging this pull request may close these issues.

Maintenance: Update InvokeStore to v0.2.1

2 participants