Skip to content

feat: Support asynchronous shareable test events#8373

Merged
seshubaws merged 2 commits into
aws:developfrom
willyg302:develop
Oct 30, 2025
Merged

feat: Support asynchronous shareable test events#8373
seshubaws merged 2 commits into
aws:developfrom
willyg302:develop

Conversation

@willyg302

Copy link
Copy Markdown
Contributor

This feature was added recently to the Lambda console. It works by storing event metadata as an x-metadata OpenAPI extension on the schema's example.

Here we support putting an event with a desired --invocation-type and passing that to a remote invoke (with an explicitly provided invocation type --parameter taking precedence).

Which issue(s) does this change fix?

None.

Why is this change necessary?

To support shareable test events with a saved invocation type.

How does it address the issue?

See above commit message.

What side effects does this change have?

If any shareable test events saved in the console with an Event invocation type were being used for sam remote invoke, they will now start to send Event invokes as if --parameter InvocationType=RequestResponse were passed.

Mandatory Checklist

PRs will only be reviewed after checklist is complete

  • Review the generative AI contribution guidelines (GenAI was not used)
  • Add input/output type hints to new functions/methods
  • Write design document if needed (Do I need to write a design document?)
  • Write/update unit tests
  • Write/update integration tests (reviewed existing integration tests, no updates should be needed)
  • Write/update functional tests if needed
  • make pr passes
  • make update-reproducible-reqs if dependencies were changed (N/A)
  • Write documentation

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

This feature was added recently to the Lambda console. It works by
storing event metadata as an `x-metadata` OpenAPI extension on the
schema's example.

Here we support putting an event with a desired `--invocation-type`
and passing that to a remote invoke (with an explicitly provided
invocation type `--parameter` taking precedence).
@willyg302
willyg302 requested a review from a team as a code owner October 29, 2025 22:47
@github-actions github-actions Bot added pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Oct 29, 2025
@seshubaws
seshubaws added this pull request to the merge queue Oct 30, 2025
Merged via the queue into aws:develop with commit d6ec326 Oct 30, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants