Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Lambda provider parity #7165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Nov 29, 2022
Merged

Lambda provider parity #7165

merged 26 commits into from
Nov 29, 2022

Conversation

dominikschubert
Copy link
Member

@dominikschubert dominikschubert commented Nov 11, 2022

When this PR is green the new provider can be assumed to cover the same features as the old one for all community features.

Note: The changes to the CI will be reverted and moved into #6724 . They are just needed to execute all tests in the context of the new ASF provider instead of just selected ones like we currently do in master. => circle CI config does not need to be reviewed

List of fixed tests

  • Fix test_terraform.py
  • Fix test_secretsmanager.py::TestSecretsManager::test_rotate_secret_with_lambda_1 ==> skipped for now since they need a rework
  • Fix test_secretsmanager.py::TestSecretsManager::test_rotate_secret_with_lambda_2 ==> skipped for now since they need a rework
  • Fix tests/integration/test_stepfunctions.py::test_aws_sdk_task
  • Fix test_apigateway.py::TestAPIGateway::test_api_gateway_lambda_proxy_integration_any_method_with_path_param
  • Fix test_apigateway.py::TestAPIGateway::test_apigateway_with_lambda_integration
  • Fix test_apigateway.py::TestAPIGateway::test_apigateway_with_custom_authorization_method
  • Fix test_apigateway.py::TestAPIGateway::test_step_function_integrations
  • Fix test_events.py::TestEvents::test_put_events_with_target_lambda
  • Fix test_logs.py::TestCloudWatchLogs::test_put_subscription_filter_lambda
  • Fix test_lambda_common.py::TestLambdaRuntimesCommon (java, dotnet, go, provided rust) ==> fixed by pre-building before running the tests
  • Fix test_serverless.py::TestServerless::test_dynamodb_stream_handler_deployed
  • Fix test_serverless.py::TestServerless::test_kinesis_stream_handler_deployed
  • Fix test_serverless.py::TestServerless::test_queue_handler_deployed
  • Fix test_sam.py::test_sam_template
  • Fix test_security.py::TestCSRF::test_disable_cors_checks
  • Fix test_lambda_legacy.py
  • Fix test_lambda_whitebox.py
  • Fix test_stepfunctions.py::test_nested_statemachine_with_sync2
  • Fix test_docker.py::TestDockerClient ==> failing in the following constellation: docker socket available but docker client is not available
  • Fix test_lambda_destinations.py::TestLambdaDLQ::test_dead_letter_queue
  • Fix test_dynamodb.py::TestDynamoDB::test_dynamodb_stream_to_lambda
  • Add wait for active state at every location testutil.create_lambda_function is used

Other non-test-fix changes:

  • Makes version manager lookup more robust
  • AWS::Lambda::Function waits for the function to be active before finishing the create
  • Remove python3.6 runtime usage
  • Added support for the aws-sdk generic stepfunctions task with the new Lambda provider.
  • Changed default lambda image repository to ECR public (since it has ARM support)

To be done in a follow-up:

  • Running lambda tests on ARM instances ( => ignore the current failing tests on circleci in the docker-test-arm64 job)

@dominikschubert dominikschubert force-pushed the lambda-provider-parity branch 2 times, most recently from 2813e32 to 31f7815 Compare November 23, 2022 16:20
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 23, 2022 16:21 Inactive
@github-actions
Copy link

github-actions bot commented Nov 23, 2022

LocalStack integration with Pro

       3 files  ±0         3 suites  ±0   1h 14m 49s ⏱️ - 1m 43s
1 525 tests +2  1 272 ✔️  - 1  253 💤 +3  0 ±0 
2 147 runs  +2  1 640 ✔️  - 3  507 💤 +5  0 ±0 

Results for commit de4f2a4. ± Comparison against base commit aa70eb0.

♻️ This comment has been updated with latest results.

@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 23, 2022 21:22 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 24, 2022 06:08 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 24, 2022 06:35 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 24, 2022 07:39 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 24, 2022 14:57 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 24, 2022 15:58 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 24, 2022 18:53 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 25, 2022 08:38 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 25, 2022 20:20 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 25, 2022 20:33 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 25, 2022 20:41 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 25, 2022 21:30 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 28, 2022 09:54 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 28, 2022 14:39 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 28, 2022 15:25 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 28, 2022 16:42 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 28, 2022 17:16 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 28, 2022 19:33 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 28, 2022 19:52 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 29, 2022 06:12 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 29, 2022 15:08 Inactive
@dominikschubert dominikschubert temporarily deployed to localstack-ext-tests November 29, 2022 20:07 Inactive
@dominikschubert dominikschubert merged commit a71e661 into master Nov 29, 2022
@dominikschubert dominikschubert deleted the lambda-provider-parity branch November 29, 2022 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants