feat(aws): support testing lambda directly when --aws-api=none - #938
Merged
Conversation
Instead of throwing, test() now invokes the function via the Lambda Invoke API when no API Gateway is configured, retrying on 404/500. Also guards BaseConfig#testPath against a missing this.test. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
This PR will trigger a minor release when merged. |
--aws-api=none
tripodsan
approved these changes
Jul 23, 2026
adobe-bot
pushed a commit
that referenced
this pull request
Jul 23, 2026
# [14.4.0](v14.3.0...v14.4.0) (2026-07-23) ### Features * **aws:** support testing lambda directly when `--aws-api=none` ([#938](#938)) ([3a5b55e](3a5b55e)), closes [BaseConfig#testPath](https://github.com/BaseConfig/issues/testPath)
|
🎉 This PR is included in version 14.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
test()now invokes the Lambda function directly via theInvokeAPI (with 404/500 retry) when--aws-api=none, instead of throwing an errorBaseConfig#testPathagainstthis.testbeing unset (optional chaining)InvokeCommandcode pathTest plan
npm test🤖 Generated with Claude Code