-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Remove legacy StepFunctions v1 provider #11734
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
Conversation
Currently, only minor and patch changes are allowed on master. Your PR labels (semver: major) indicate that it cannot be merged into the master at this time. |
a733173
to
5ee2932
Compare
5ee2932
to
8528151
Compare
726af73
to
e03de05
Compare
e03de05
to
89bd89e
Compare
89bd89e
to
d99e92c
Compare
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.
LGTM, nice attention to detail with the explicit v2 provider as well. We could even leave this in until 5.0 for a longer phase-out but less code is always nice of course.
It's great that we can now finally remove the fairly hacky v1 provider and SO much complex (and now unused) code 🧹
The artifacts that we're hosting in the artifacts repo need to stay a while longer unfortunately to keep supporting older versions.
d99e92c
to
11e79e5
Compare
e629b30
to
9b8d0e1
Compare
11e79e5
to
aecea48
Compare
# Conflicts: # localstack-core/localstack/deprecations.py # localstack-core/localstack/services/lambda_/provider.py
aecea48
to
dca3679
Compare
Depends on CI job removal #11778
Motivation
The new StepFunctions provider v2 has been the default implementation since LocalStack 3.0.0 and we announced in the blog post that we are planning to remove the legacy v1 implementation with the next major release.
Changes
localstack-core/localstack/services/stepfunctions/legacy
including the package installers not required anymore 🧹tests/aws/services/stepfunctions/legacy
PROVIDER_OVERRIDE_STEPFUNCTIONS
Testing
Mostly regression test suite.
Deprecations could be tested manually.
Known Regressions
There are no known regressions and only few tests were executed for the legacy StepFunctions provider (only the legacy tests directory).
These tests had a conditional v2 skip but are likely just new snapshot skips rather than regressions (thanks @MEPalma for the clarification):
aws.services.stepfunctions.v2.scenarios.test_sfn_scenarios.TestFundamental.test_step_functions_calling_api_gateway
paths=["$..content-type"], # *FIXME: v2 includes extra content-type fields in Header fields.*
aws.services.stepfunctions.v2.scenarios.test_sfn_scenarios.TestFundamental.test_wait_for_callback
paths=["$..MessageId"]
TODO
What's left to do: