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
Disable legacy CFn model execution #10353
Conversation
"AWS::ECR::Repository", | ||
"AWS::SecretsManager::SecretTargetAttachment", | ||
"AWS::EC2::SubnetRouteTableAssociation", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this especially might cause some new issues with -ext since we didn't test them yet because of this exemption list!
LocalStack Community integration with Pro 2 files ±0 2 suites ±0 1h 29m 17s ⏱️ + 1m 27s Results for commit ee83b68. ± Comparison against base commit 76292e1. This pull request skips 1 and un-skips 1 tests.
♻️ This comment has been updated with latest results. |
2cb7b37
to
2466704
Compare
@@ -83,6 +83,8 @@ def test_fixed_timeout_service_lambda( | |||
exec_input, | |||
) | |||
|
|||
# FIXME: https://app.circleci.com/pipelines/github/localstack/localstack/22941/workflows/ed5c7ca1-f354-4e6a-b4c2-c85007d2cceb/jobs/186457?invite=true#step-104-3159 | |||
@pytest.mark.skip(reason="flaky") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sneaked that in 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only concern is lack of test coverage and missed resource providers (now that we are strictly using the new versions). How confident are we that we have migrated them all?!
# FIXME: ugly | ||
resources=self.resources, | ||
legacy_base_models=RESOURCE_MODELS, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
raise TimeoutError( | ||
f"Resource deployment for resource {raw_payload['requestData']['logicalResourceId']} (type {raw_payload['resourceType']}) timed out." | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for including this. This will be a nice QOL improvement
Fairly confident, since I've checked that via script at least (comparing old/new resources). Yes, some resources might not be covered via tests but those should be fairly few now. At least when I was going through resources and doing reviews I've added a lot of missing tests as well. Everything else can be done reactively, I'd say 👍 |
Motivation
First part of the cleanup, now that we have basically finished the migration of the resource providers
Changes
TimeoutError
(now includes logical resource id / type)TODO
Follow-up