[CORRUPTED] Synthetic Benchmark PR #41263 - feat: add support for listing function versions and aliases in AWS Lambda Plugin#18
Open
tomerqodo wants to merge 10 commits intobase_pr_41263_20251124_6792from
Conversation
…mbda Plugin - Implemented new commands `LIST_FUNCTION_VERSIONS` and `LIST_FUNCTION_ALIASES` in the AwsLambdaPlugin to retrieve function versions and aliases respectively. - Updated the invoke.json to include optional fields for function version and alias. - Created new JSON files for listing function versions and aliases with appropriate configurations. - Enhanced the plugin's test suite to cover the new functionalities, ensuring correct behavior for version and alias retrieval. This update improves the AWS Lambda Plugin's capabilities, allowing users to manage function versions and aliases more effectively.
- Changed the method of retrieving the function name parameter from `request.getParams()` to `request.getParameters()` for better type safety and consistency. - This update ensures that the function name is correctly fetched as a String, preventing potential runtime errors. This fix enhances the reliability of the AWS Lambda Plugin's functionality related to function versions and aliases.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…//github.com/appsmithorg/appsmith into rahulbarwal/aws-lambda-version-functionality
….com:appsmithorg/appsmith into rahulbarwal/aws-lambda-version-functionality
…ases (appsmithorg#41267) ## Description - Enhanced the AwsLambdaPlugin to support both old and new parameter structures for retrieving function names in FUNCTION_VERSIONS and FUNCTION_ALIASES requests. - Updated the invoke.json to reflect the new parameter structure, ensuring compatibility with the updated logic. This change improves the robustness of the plugin by accommodating different parameter formats, preventing potential errors during function name retrieval. Fixes #`Issue Number` _or_ Fixes `Issue URL` > [!WARNING] > _If no issue exists, please create an issue first, and check with the maintainers if the issue is valid._ ## Automation /ok-to-test tags="" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!CAUTION] > If you modify the content in this section, you are likely to disrupt the CI result for your PR. <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No
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.
Benchmark PR appsmithorg#41263
Type: Corrupted (contains bugs)
Original PR Title: feat: add support for listing function versions and aliases in AWS Lambda Plugin
Original PR Description: ## Description
This PR adds support for listing AWS Lambda function versions and aliases in the plugin. It’s part of ongoing efforts to make Lambda management more robust and user-friendly for Appsmith users.
Changes
LIST_FUNCTION_VERSIONSandLIST_FUNCTION_ALIASES, to the AwsLambdaPlugin, enabling retrieval of function versions and aliases.invoke.jsonto support optional fields for specifying function version and alias, improving invocation flexibility.Testing
Automated tests have been added to the plugin’s test suite, specifically targeting the new version and alias listing functionalities. These tests verify correct command execution and output structure.
Fixes #
Issue Numberor
Fixes
Issue URLWarning
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.
Automation
/ok-to-test tags="@tag.Datasource"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/18035977310
Commit: 0148b54
Cypress dashboard.
Tags:
@tag.DatasourceSpec:
Fri, 26 Sep 2025 11:49:19 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
New Features
Tests
Original PR URL: appsmithorg#41263
Issues Breakdown