Idea: Monorepo for aws-durable-execution-sdk-python-testing and aws-durable-execution-sdk-python
#215
Replies: 5 comments 3 replies
-
|
Just thinking through how will versioning & publishing separately to aws-durable-execution-sdk-python and aws-durable-execution-sdk-python-testing work? Tagging a release would have to take a specific format, like Even so, the tag would then apply to the entire repo, i.e you're effectively tagging SDK code when you tag a testing release. Then there would have to be some parsing in the gh action
|
Beta Was this translation helpful? Give feedback.
-
|
I'm in favour of a monorepo, but there are some design constraints we faced when setting the project structure up that we need to remain cognizant of. If hatch has the tooling to support this while allowing isolated versioning and publishing across the modules, then great, I'm all for it. I agree this will simplify how we test code, and allow us to atomically release changes together (which we can already do in the JS SDK). |
Beta Was this translation helpful? Give feedback.
-
|
Is the testing library used in somewhere else, such as sam cli? If so, I'm afraid we'd better keep this separate. Update: it's used by sam cli via a docker image. So probably we are OK to put the Python package anywhere we want. |
Beta Was this translation helpful? Give feedback.
-
This extra is only used when we run tests for the SDK. And the examples in testing can be moved into SDK if they are test cases for the SDK library features. This change will introduce a circular dependency between SDK and testing library. But I think it's fine for now as long as the dependency (SDK -> testing) is optional and only needed in test env.
With the examples moved out of the testing repo, the testing library doesn't really depend on the durable execution SDK. This needs to be further investigated though. |
Beta Was this translation helpful? Give feedback.
-
|
First step is done with the following PRs: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently there are two separate Github repos for AWS Durable Functions -
aws-durable-execution-sdk-python(SDK repo for short) is for the runtime SDK andaws-durable-execution-sdk-python-testing(testing repo for short) for testing utilities.Problems with Separate Repos
Recommended solution: monorepo
Hatch supports monorepo:
Beta Was this translation helpful? Give feedback.
All reactions